blob: 57b540bb14e6818acf64d1046644a65bd87a0194 [file] [log] [blame]
a.sreekumar794b0c92021-12-10 17:17:20 +00001spring:
2 security:
3 user:
4 name: policyadmin
5 password: zb!XztG34
6 http:
7 converters:
8 preferred-json-mapper: gson
adheli.tavares3e2977e2022-02-07 08:52:04 +00009 datasource:
adheli.tavaresd802fd92024-08-15 12:39:19 +010010 url: jdbc:postgresql://postgres:5432/policyadmin
11 driverClassName: org.postgresql.Driver
adheli.tavares3e2977e2022-02-07 08:52:04 +000012 username: policy_user
13 password: policy_user
14 jpa:
adheli.tavares3e2977e2022-02-07 08:52:04 +000015 hibernate:
16 ddl-auto: none
17 naming:
18 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
Ram Krishna Verma9f431492022-02-16 12:16:50 -050019 implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
a.sreekumar794b0c92021-12-10 17:17:20 +000020
21server:
22 port: 6969
liamfallonc49f64d2023-01-19 15:30:30 +000023 servlet:
24 context-path: /policy/pap/v1
a.sreekumar794b0c92021-12-10 17:17:20 +000025 ssl:
liamfallonfaac45b2022-09-01 12:05:47 +010026 enabled: false
a.sreekumar794b0c92021-12-10 17:17:20 +000027
28pap:
29 name: PapGroup
adheli.tavares4559dcd2022-11-23 11:01:10 +000030 topic:
rameshiyer27f2e4da72024-01-13 21:26:09 +000031 pdp-pap.name: policy-pdp-pap
32 notification.name: policy-notification
33 heartbeat.name: policy-heartbeat
a.sreekumar794b0c92021-12-10 17:17:20 +000034 pdpParameters:
35 heartBeatMs: 120000
36 updateParameters:
37 maxRetryCount: 1
38 maxWaitMs: 30000
39 stateChangeParameters:
40 maxRetryCount: 1
41 maxWaitMs: 30000
a.sreekumar794b0c92021-12-10 17:17:20 +000042 savePdpStatisticsInDb: true
43 topicParameterGroup:
44 topicSources:
adheli.tavares4559dcd2022-11-23 11:01:10 +000045 - topic: ${pap.topic.pdp-pap.name}
a.sreekumar794b0c92021-12-10 17:17:20 +000046 servers:
rameshiyer27f2e4da72024-01-13 21:26:09 +000047 - kafka:9092
48 topicCommInfrastructure: kafka
liamfallonfaac45b2022-09-01 12:05:47 +010049 useHttps: false
a.sreekumar794b0c92021-12-10 17:17:20 +000050 fetchTimeout: 15000
adheli.tavares4559dcd2022-11-23 11:01:10 +000051 - topic: ${pap.topic.heartbeat.name}
52 effectiveTopic: ${pap.topic.pdp-pap.name}
a.sreekumar794b0c92021-12-10 17:17:20 +000053 consumerGroup: policy-pap
54 servers:
rameshiyer27f2e4da72024-01-13 21:26:09 +000055 - kafka:9092
56 topicCommInfrastructure: kafka
liamfallonfaac45b2022-09-01 12:05:47 +010057 useHttps: false
a.sreekumar794b0c92021-12-10 17:17:20 +000058 fetchTimeout: 15000
59 topicSinks:
adheli.tavares4559dcd2022-11-23 11:01:10 +000060 - topic: ${pap.topic.pdp-pap.name}
a.sreekumar794b0c92021-12-10 17:17:20 +000061 servers:
rameshiyer27f2e4da72024-01-13 21:26:09 +000062 - kafka:9092
63 topicCommInfrastructure: kafka
liamfallonfaac45b2022-09-01 12:05:47 +010064 useHttps: false
adheli.tavares4559dcd2022-11-23 11:01:10 +000065 - topic: ${pap.topic.notification.name}
a.sreekumar794b0c92021-12-10 17:17:20 +000066 servers:
rameshiyer27f2e4da72024-01-13 21:26:09 +000067 - kafka:9092
68 topicCommInfrastructure: kafka
liamfallonfaac45b2022-09-01 12:05:47 +010069 useHttps: false
a.sreekumar794b0c92021-12-10 17:17:20 +000070 healthCheckRestClientParameters:
71 - clientName: api
72 hostname: policy-api
73 port: 6969
74 userName: policyadmin
75 password: zb!XztG34
liamfallonfaac45b2022-09-01 12:05:47 +010076 useHttps: false
a.sreekumar794b0c92021-12-10 17:17:20 +000077 basePath: policy/api/v1/healthcheck
78
79management:
80 endpoints:
81 web:
82 base-path: /
83 exposure:
84 include: health, metrics, prometheus
adheli.tavares43a40e12023-07-18 12:04:20 +010085 path-mapping:
86 -metrics: plain-metrics
87 -prometheus: metrics
adheli.tavaresd802fd92024-08-15 12:39:19 +010088
89---
90
91spring:
92 config:
93 activate:
94 on-profile: mariadb
95 datasource:
96 url: jdbc:mariadb://mariadb:3306/policyadmin
97 driverClassName: org.mariadb.jdbc.Driver
98 username: policy_user
99 password: policy_user
100
101database:
102 name: PolicyProviderParameterGroup
103 implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl
104 driver: org.mariadb.jdbc.Driver
105 url: jdbc:mariadb://mariadb:3306/policyadmin
106 user: policy_user
107 password: policy_user
108 persistenceUnit: PolicyDb