09a2ca6a5fafa95f2c3f108f9c3c0d7f03eb4b88
[policy/pap.git] / main / src / test / resources / application-test-e2e.yaml
1 spring:
2   security:
3     user:
4       name: policyadmin
5       password: zb!XztG34
6   http:
7     converters:
8       preferred-json-mapper: gson
9   datasource:
10     url: jdbc:h2:mem:testdb
11     driverClassName: org.h2.Driver
12   jpa:
13     properties:
14       hibernate:
15         dialect: org.hibernate.dialect.H2Dialect
16     hibernate:
17       ddl-auto: create-drop
18       naming:
19         physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
20         implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
21
22 server:
23   port: 6969
24
25 pap:
26   name: "PapGroupE2E"
27   aaf: false
28   topic:
29     pdp-pap.name: pdp-pap-topic
30     notification.name: notification-topic
31     heartbeat.name: heartbeat-topic
32   pdpParameters:
33     updateParameters:
34       maxRetryCount: 1
35       maxWaitMs: 3000
36     stateChangeParameters:
37       maxRetryCount: 1
38       maxWaitMs: 3000
39     heartBeatMs: 6000
40     maxMessageAgeMs: 20000
41   savePdpStatisticsInDb: true
42   topicParameterGroup:
43     topicSources:
44     - topic: ${pap.topic.pdp-pap.name}
45       servers:
46         - message-router
47       topicCommInfrastructure: noop
48     - topic: ${pap.topic.heartbeat.name}
49       effectiveTopic: ${pap.topic.pdp-pap.name}
50       consumerGroup: policy-pap
51       servers:
52         - message-router
53       topicCommInfrastructure: noop
54     topicSinks:
55     - topic: ${pap.topic.pdp-pap.name}
56       servers:
57         - message-router
58       topicCommInfrastructure: noop
59     - topic: ${pap.topic.notification.name}
60       servers:
61         - message-router
62       topicCommInfrastructure: noop
63   healthCheckRestClientParameters:
64   - clientName: api
65     hostname: policy-api
66     port: 6969
67     userName: policyadmin
68     password: zb!XztG34
69     useHttps: true
70     basePath: policy/api/v1/healthcheck
71   - clientName: distribution
72     hostname: policy-distribution
73     port: 6969
74     userName: healthcheck
75     password: zb!XztG34
76     useHttps: true
77     basePath: healthcheck
78   - clientName: dmaap
79     hostname: message-router
80     port: 3905
81     useHttps: true
82     basePath: topics
83
84 management:
85   endpoints:
86     web:
87       base-path: /
88       exposure:
89         include: health, metrics, prometheus
90       path-mapping.prometheus: metrics