Upgrade the H2 database to the latest version
[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 #    show-sql: true
14     properties:
15       hibernate:
16         dialect: org.hibernate.dialect.H2Dialect
17 #        format_sql: true
18     hibernate:
19       ddl-auto: create-drop
20       naming:
21         physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
22         implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
23 server:
24   port: 6969
25
26 pap:
27   name: "PapGroupE2E"
28   aaf: false
29   topic:
30     pdp-pap.name: pdp-pap-topic
31     notification.name: notification-topic
32     heartbeat.name: heartbeat-topic
33   pdpParameters:
34     updateParameters:
35       maxRetryCount: 1
36       maxWaitMs: 3000
37     stateChangeParameters:
38       maxRetryCount: 1
39       maxWaitMs: 3000
40     heartBeatMs: 6000
41     maxMessageAgeMs: 20000
42   savePdpStatisticsInDb: true
43   topicParameterGroup:
44     topicSources:
45     - topic: ${pap.topic.pdp-pap.name}
46       servers:
47         - message-router
48       topicCommInfrastructure: noop
49     - topic: ${pap.topic.heartbeat.name}
50       effectiveTopic: ${pap.topic.pdp-pap.name}
51       consumerGroup: policy-pap
52       servers:
53         - message-router
54       topicCommInfrastructure: noop
55     topicSinks:
56     - topic: ${pap.topic.pdp-pap.name}
57       servers:
58         - message-router
59       topicCommInfrastructure: noop
60     - topic: ${pap.topic.notification.name}
61       servers:
62         - message-router
63       topicCommInfrastructure: noop
64   healthCheckRestClientParameters:
65   - clientName: api
66     hostname: policy-api
67     port: 6969
68     userName: policyadmin
69     password: zb!XztG34
70     useHttps: true
71     basePath: policy/api/v1/healthcheck
72   - clientName: distribution
73     hostname: policy-distribution
74     port: 6969
75     userName: healthcheck
76     password: zb!XztG34
77     useHttps: true
78     basePath: healthcheck
79   - clientName: dmaap
80     hostname: message-router
81     port: 3905
82     useHttps: true
83     basePath: topics
84
85 management:
86   endpoints:
87     web:
88       base-path: /
89       exposure:
90         include: health, metrics, prometheus
91       path-mapping.prometheus: metrics