01f357581d33a78a689fb9f8ba594186d740ca34
[policy/pap.git] / main / src / test / resources / application-test-e2e.yaml
1 spring:
2   datasource:
3     url: jdbc:h2:mem:testdb
4     driverClassName: org.h2.Driver
5   jpa:
6     properties:
7       hibernate:
8         dialect: org.hibernate.dialect.H2Dialect
9     hibernate:
10       ddl-auto: create-drop
11       naming:
12         physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
13         implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
14
15 pap:
16   name: "PapGroupE2E"
17   topic:
18     pdp-pap.name: pdp-pap-topic
19     notification.name: notification-topic
20     heartbeat.name: heartbeat-topic
21   pdpParameters:
22     updateParameters:
23       maxRetryCount: 1
24       maxWaitMs: 3000
25     stateChangeParameters:
26       maxRetryCount: 1
27       maxWaitMs: 3000
28     heartBeatMs: 6000
29     maxMessageAgeMs: 20000
30   topicParameterGroup:
31     topicSources:
32     - topic: ${pap.topic.pdp-pap.name}
33       servers:
34         - message-router
35       topicCommInfrastructure: noop
36     - topic: ${pap.topic.heartbeat.name}
37       effectiveTopic: ${pap.topic.pdp-pap.name}
38       consumerGroup: policy-pap
39       servers:
40         - message-router
41       topicCommInfrastructure: noop
42     topicSinks:
43     - topic: ${pap.topic.pdp-pap.name}
44       servers:
45         - message-router
46       topicCommInfrastructure: noop
47     - topic: ${pap.topic.notification.name}
48       servers:
49         - message-router
50       topicCommInfrastructure: noop
51   healthCheckRestClientParameters:
52   - clientName: api
53     hostname: policy-api
54     port: 6969
55     userName: policyadmin
56     password: zb!XztG34
57     useHttps: true
58     basePath: policy/api/v1/healthcheck
59   - clientName: distribution
60     hostname: policy-distribution
61     port: 6969
62     userName: healthcheck
63     password: zb!XztG34
64     useHttps: true
65     basePath: healthcheck
66   - clientName: kafka
67     hostname: kafka
68     port: 3905
69     useHttps: true
70     basePath: topics