Use separate subscription for heartbeats
[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     },
11     "pdpParameters": {
12         "heartBeatMs": 120000,
13         "updateParameters": {
14             "maxRetryCount": 1,
15             "maxWaitMs": 30000
16         },
17         "stateChangeParameters": {
18             "maxRetryCount": 1,
19             "maxWaitMs": 30000
20         }
21     },
22     "databaseProviderParameters": {
23         "name": "PolicyProviderParameterGroup",
24         "implementation": "org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl",
25         "databaseDriver": "org.mariadb.jdbc.Driver",
26         "databaseUrl": "jdbc:mariadb://mariadb:3306/policyadmin",
27         "databaseUser": "policy_user",
28         "databasePassword": "policy_user",
29         "persistenceUnit": "PolicyMariaDb"
30     },
31     "savePdpStatisticsInDb": true,
32     "topicParameterGroup": {
33         "topicSources" : [{
34             "topic" : "POLICY-PDP-PAP",
35             "servers" : [ "message-router" ],
36             "topicCommInfrastructure" : "dmaap",
37             "fetchTimeout": 15000
38         },
39         {
40             "topic" : "POLICY-HEARTBEAT",
41             "effectiveTopic": "POLICY-PDP-PAP",
42             "consumerGroup": "policy-pap",
43             "servers" : [ "message-router" ],
44             "topicCommInfrastructure" : "dmaap",
45             "fetchTimeout": 15000
46         }],
47         "topicSinks" : [{
48             "topic" : "POLICY-PDP-PAP",
49             "servers" : [ "message-router" ],
50             "topicCommInfrastructure" : "dmaap"
51         },
52         {
53             "topic" : "POLICY-NOTIFICATION",
54             "servers" : [ "message-router" ],
55             "topicCommInfrastructure" : "dmaap"
56         }]
57     },
58     "healthCheckRestClientParameters":[{
59         "clientName": "api",
60         "hostname": "policy-api",
61         "port": 6969,
62         "userName": "healthcheck",
63         "password": "zb!XztG34",
64         "useHttps": true,
65         "basePath": "policy/api/v1/healthcheck"
66     },
67     {
68         "clientName": "distribution",
69         "hostname": "policy-distribution",
70         "port": 6969,
71         "userName": "healthcheck",
72         "password": "zb!XztG34",
73         "useHttps": true,
74         "basePath": "healthcheck"
75     }]
76 }