Update snapshot and/or references of policy/pap to latest snapshots
[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   topicParameterGroup:
40     topicSources:
41     - topic: POLICY-PDP-PAP
42       servers:
43       - kafka
44       topicCommInfrastructure: NOOP
45       fetchTimeout: 15000
46     - topic: POLICY-HEARTBEAT
47       effectiveTopic: POLICY-PDP-PAP
48       consumerGroup: policy-pap
49       servers:
50       - kafka
51       topicCommInfrastructure: NOOP
52       fetchTimeout: 15000
53     topicSinks:
54     - topic: POLICY-PDP-PAP
55       servers:
56       - kafka
57       topicCommInfrastructure: NOOP
58     - topic: POLICY-NOTIFICATION
59       servers:
60       - kafka
61       topicCommInfrastructure: NOOP
62   healthCheckRestClientParameters:
63   - clientName: api
64     hostname: policy-api
65     port: 6969
66     userName: policyadmin
67     password: zb!XztG34
68     useHttps: true
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.prometheus: metrics