[CONSUL] Add limits to consul chart.
[oom.git] / kubernetes / policy / components / policy-pap / resources / config / config.json
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2019 Nordix Foundation.
3 #  ================================================================================
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #
16 #  SPDX-License-Identifier: Apache-2.0
17 #  ============LICENSE_END=========================================================
18 {
19     "name":"PapGroup",
20     "restServerParameters":{
21         "host":"0.0.0.0",
22         "port":6969,
23         "userName":"${RESTSERVER_USER}",
24         "password":"${RESTSERVER_PASSWORD}",
25         "https": true,
26         "aaf": false
27     },
28     "pdpParameters": {
29         "heartBeatMs": 120000,
30         "updateParameters": {
31             "maxRetryCount": 1,
32             "maxWaitMs": 30000
33         },
34         "stateChangeParameters": {
35             "maxRetryCount": 1,
36             "maxWaitMs": 30000
37         }
38     },
39     "databaseProviderParameters": {
40         "name": "PolicyProviderParameterGroup",
41         "implementation": "org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl",
42         "databaseDriver": "org.mariadb.jdbc.Driver",
43         "databaseUrl": "jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/policyadmin",
44         "databaseUser": "${SQL_USER}",
45         "databasePassword": "${SQL_PASSWORD}",
46         "persistenceUnit": "PolicyMariaDb"
47     },
48     "topicParameterGroup": {
49         "topicSources" : [{
50             "topic" : "POLICY-PDP-PAP",
51             "servers" : [ "message-router" ],
52             "useHttps": true,
53             "fetchTimeout": 15000,
54             "topicCommInfrastructure" : "dmaap"
55         }],
56         "topicSinks" : [{
57             "topic" : "POLICY-PDP-PAP",
58             "servers" : [ "message-router" ],
59             "useHttps" : true,
60             "topicCommInfrastructure" : "dmaap"
61         },
62         {
63             "topic" : "POLICY-NOTIFICATION",
64             "servers" : [ "message-router" ],
65             "useHttps" : true,
66             "topicCommInfrastructure" : "dmaap"
67         }]
68     },
69     "healthCheckRestClientParameters":[{
70         "clientName": "api",
71         "hostname": "policy-api",
72         "port": 6969,
73         "userName": "${API_USER}",
74         "password": "${API_PASSWORD}",
75         "useHttps": true,
76         "basePath": "policy/api/v1/healthcheck"
77     },
78     {
79         "clientName": "distribution",
80         "hostname": "policy-distribution",
81         "port": 6969,
82         "userName": "${DISTRIBUTION_USER}",
83         "password": "${DISTRIBUTION_PASSWORD}",
84         "useHttps": true,
85         "basePath": "healthcheck"
86     }]
87 }