junit5 dependencies
[policy/parent.git] / docs / development / devtools / smoke / files / pap-application.yaml
1 spring:
2   security:
3     user:
4       name: policyadmin
5       password: zb!XztG34
6   datasource:
7     url: jdbc:mariadb://localhost:3306/policyadmin
8     driverClassName: org.mariadb.jdbc.Driver
9     username: policy_user
10     password: policy_user
11   jpa:
12     hibernate:
13       ddl-auto: none
14       naming:
15         physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
16         implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
17   mvc:
18     converters:
19       preferred-json-mapper: gson
20
21 server:
22   port: 6970
23   servlet:
24     context-path: /policy/pap/v1
25 pap:
26   name: PapGroup
27   topic:
28     pdp-pap.name: POLICY-PDP-PAP
29     notification.name: POLICY-NOTIFICATION
30     heartbeat.name: POLICY-HEARTBEAT
31   pdpParameters:
32     heartBeatMs: 120000
33     updateParameters:
34       maxRetryCount: 1
35       maxWaitMs: 30000
36     stateChangeParameters:
37       maxRetryCount: 1
38       maxWaitMs: 30000
39   topicParameterGroup:
40     topicSources:
41       - topic: ${pap.topic.pdp-pap.name}
42         servers:
43           - kafka
44         topicCommInfrastructure: NOOP
45         fetchTimeout: 15000
46       - topic: ${pap.topic.heartbeat.name}
47         effectiveTopic: ${pap.topic.pdp-pap.name}
48         consumerGroup: policy-pap
49         servers:
50           - kafka
51         topicCommInfrastructure: NOOP
52         fetchTimeout: 15000
53     topicSinks:
54       - topic: ${pap.topic.pdp-pap.name}
55         servers:
56           - kafka
57         topicCommInfrastructure: NOOP
58       - topic: ${pap.topic.notification.name}
59         servers:
60           - kafka
61         topicCommInfrastructure: NOOP
62   healthCheckRestClientParameters:
63     - clientName: api
64       hostname: localhost
65       port: 6968
66       userName: policyadmin
67       password: zb!XztG34
68       useHttps: false
69       basePath: policy/api/v1/healthcheck
70     - clientName: distribution
71       hostname: policy-distribution
72       port: 6969
73       userName: healthcheck
74       password: zb!XztG34
75       useHttps: true
76       basePath: healthcheck
77     - clientName: kafka
78       hostname: kafka
79       port: 3905
80       useHttps: true
81       basePath: topics
82
83 management:
84   endpoints:
85     web:
86       base-path: /
87       exposure:
88         include: health, metrics, prometheus
89       path-mapping:
90         -metrics: plain-metrics
91         -prometheus: metrics