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