2f37cb669a48ce33a18d2a3ab4e7894013a062e3
[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         "topicSinks" : [{
40             "topic" : "POLICY-PDP-PAP",
41             "servers" : [ "message-router" ],
42             "topicCommInfrastructure" : "dmaap"
43         },
44         {
45             "topic" : "POLICY-NOTIFICATION",
46             "servers" : [ "message-router" ],
47             "topicCommInfrastructure" : "dmaap"
48         }]
49     },
50     "healthCheckRestClientParameters":[{
51         "clientName": "api",
52         "hostname": "policy-api",
53         "port": 6969,
54         "userName": "healthcheck",
55         "password": "zb!XztG34",
56         "useHttps": true,
57         "basePath": "policy/api/v1/healthcheck"
58     },
59     {
60         "clientName": "distribution",
61         "hostname": "policy-distribution",
62         "port": 6969,
63         "userName": "healthcheck",
64         "password": "zb!XztG34",
65         "useHttps": true,
66         "basePath": "healthcheck"
67     }]
68 }