Use separate subscription for heartbeats
[policy/pap.git] / main / src / test / resources / parameters / PapConfigParametersStd.json
1 {
2     "name": "PapGroup",
3     "restServerParameters": {
4         "host": "0.0.0.0",
5         "port": ${port},
6         "userName": "healthcheck",
7         "password": "zb!XztG34",
8         "https": true
9     },
10     "pdpParameters": {
11         "updateParameters": {
12             "maxRetryCount": 1,
13             "maxWaitMs": 2
14         },
15         "stateChangeParameters": {
16             "maxRetryCount": 1,
17             "maxWaitMs": 5
18         },
19         "heartBeatMs": 6000,
20         "maxMessageAgeMs": 20000
21     },
22     "databaseProviderParameters": {
23         "name": "PolicyModelsProviderParameters",
24         "implementation": "org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl",
25         "databaseDriver": "org.h2.Driver",
26         "databaseUrl": "${dbName}",
27         "databaseUser": "policy",
28         "databasePassword": "UDAxaWNZ",
29         "persistenceUnit": "ToscaConceptTest"
30     },
31     "savePdpStatisticsInDb": true,
32     "topicParameterGroup": {
33         "topicSources" : [{
34             "topic" : "POLICY-PDP-PAP",
35             "servers" : [ "message-router" ],
36             "topicCommInfrastructure" : "noop"
37         },
38         {
39             "topic" : "POLICY-HEARTBEAT",
40             "effectiveTopic": "POLICY-PDP-PAP",
41             "consumerGroup": "policy-pap",
42             "servers" : [ "message-router" ],
43             "topicCommInfrastructure" : "noop"
44         }],
45         "topicSinks" : [{
46             "topic" : "POLICY-PDP-PAP",
47             "servers" : [ "message-router" ],
48             "topicCommInfrastructure" : "noop"
49         },{
50             "topic" : "POLICY-NOTIFICATION",
51             "servers" : [ "message-router" ],
52             "topicCommInfrastructure" : "noop"
53         }]
54     },
55     "healthCheckRestClientParameters":[{
56         "clientName": "api",
57         "hostname": "policy-api",
58         "port": 6969,
59         "userName": "healthcheck",
60         "password": "zb!XztG34",
61         "useHttps": true,
62         "basePath": "policy/api/v1/healthcheck"
63     },
64     {
65         "clientName": "distribution",
66         "hostname": "policy-distribution",
67         "port": 6969,
68         "userName": "healthcheck",
69         "password": "zb!XztG34",
70         "useHttps": true,
71         "basePath": "healthcheck"
72     }]
73 }