Use classes from policy/common
[policy/pap.git] / packages / policy-pap-tarball / src / main / resources / etc / papParameters.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:mariadb://mariadb:3306/policyadmin
11     driverClassName: org.mariadb.jdbc.Driver
12     username: policy_user
13     password: policy_user
14   jpa:
15     properties:
16       hibernate:
17         dialect: org.hibernate.dialect.MariaDB103Dialect
18     hibernate:
19       ddl-auto: none
20       naming:
21         physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
22         implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
23
24 server:
25   port: 6969
26   ssl:
27     enabled: false
28
29 pap:
30   name: PapGroup
31   pdpParameters:
32     heartBeatMs: 120000
33     updateParameters:
34       maxRetryCount: 1
35       maxWaitMs: 30000
36     stateChangeParameters:
37       maxRetryCount: 1
38       maxWaitMs: 30000
39   savePdpStatisticsInDb: false
40   topicParameterGroup:
41     topicSources:
42     - topic: POLICY-PDP-PAP
43       servers:
44       - message-router
45       topicCommInfrastructure: dmaap
46       fetchTimeout: 15000
47     - topic: POLICY-HEARTBEAT
48       effectiveTopic: POLICY-PDP-PAP
49       consumerGroup: policy-pap
50       servers:
51       - message-router
52       topicCommInfrastructure: dmaap
53       fetchTimeout: 15000
54     topicSinks:
55     - topic: POLICY-PDP-PAP
56       servers:
57       - message-router
58       topicCommInfrastructure: dmaap
59     - topic: POLICY-NOTIFICATION
60       servers:
61       - message-router
62       topicCommInfrastructure: dmaap
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