573ecc9a58127919c1292578acc1d30631949d6e
[policy/pap.git] / packages / policy-pap-tarball / src / main / resources / etc / defaultConfig.json
1 {
2     "name": "PapGroup",
3     "restServerParameters": {
4         "host": "0.0.0.0",
5         "port": 6969,
6         "userName": "healthcheck",
7         "password": "zb!XztG34",
8         "https": true,
9         "aaf": false,
10         "prometheus": true
11     },
12     "pdpParameters": {
13         "heartBeatMs": 120000,
14         "updateParameters": {
15             "maxRetryCount": 1,
16             "maxWaitMs": 30000
17         },
18         "stateChangeParameters": {
19             "maxRetryCount": 1,
20             "maxWaitMs": 30000
21         }
22     },
23     "databaseProviderParameters": {
24         "name": "PolicyProviderParameterGroup",
25         "implementation": "org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl",
26         "databaseDriver": "org.mariadb.jdbc.Driver",
27         "databaseUrl": "jdbc:mariadb://mariadb:3306/policyadmin",
28         "databaseUser": "policy_user",
29         "databasePassword": "policy_user",
30         "persistenceUnit": "PolicyMariaDb"
31     },
32     "savePdpStatisticsInDb": true,
33     "topicParameterGroup": {
34         "topicSources" : [{
35             "topic" : "POLICY-PDP-PAP",
36             "servers" : [ "message-router" ],
37             "topicCommInfrastructure" : "dmaap",
38             "fetchTimeout": 15000
39         },
40         {
41             "topic" : "POLICY-HEARTBEAT",
42             "effectiveTopic": "POLICY-PDP-PAP",
43             "consumerGroup": "policy-pap",
44             "servers" : [ "message-router" ],
45             "topicCommInfrastructure" : "dmaap",
46             "fetchTimeout": 15000
47         }],
48         "topicSinks" : [{
49             "topic" : "POLICY-PDP-PAP",
50             "servers" : [ "message-router" ],
51             "topicCommInfrastructure" : "dmaap"
52         },
53         {
54             "topic" : "POLICY-NOTIFICATION",
55             "servers" : [ "message-router" ],
56             "topicCommInfrastructure" : "dmaap"
57         }]
58     },
59     "healthCheckRestClientParameters":[{
60         "clientName": "api",
61         "hostname": "policy-api",
62         "port": 6969,
63         "userName": "healthcheck",
64         "password": "zb!XztG34",
65         "useHttps": true,
66         "basePath": "policy/api/v1/healthcheck"
67     },
68     {
69         "clientName": "distribution",
70         "hostname": "policy-distribution",
71         "port": 6969,
72         "userName": "healthcheck",
73         "password": "zb!XztG34",
74         "useHttps": true,
75         "basePath": "healthcheck"
76     },
77     {
78         "clientName": "dmaap",
79         "hostname": "message-router",
80         "port": 3905,
81         "useHttps": true,
82         "basePath": "topics"
83     }]
84 }