blob: 544ecdfc32310281f549001f2a0f80be20e3f24e [file] [log] [blame]
ramverma1a3b8ad2019-02-25 12:45:11 +00001# ============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":"healthcheck",
ramvermac239fbf2019-04-30 13:18:33 +000024 "password":"zb!XztG34",
25 "https": true,
26 "aaf": false
ramverma6acdabf2019-04-12 18:56:03 +000027 },
28 "pdpParameters": {
jhhbf7fb4d2019-08-07 16:54:41 -050029 "heartBeatMs": 120000,
ramverma6acdabf2019-04-12 18:56:03 +000030 "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",
Sylvain Desbureaux4898dc02019-11-14 13:35:13 +010043 "databaseUrl": "jdbc:mariadb://{{ .Values.global.mariadb.service.name }}:{{ .Values.global.mariadb.service.internalPort }}/{{ .Values.global.mariadb.config.mysqlDatabase }}",
Krzysztof Opasiak3d9dc8b2020-03-31 23:05:16 +020044 "databaseUser": "${SQL_USER}",
45 "databasePassword": "${SQL_PASSWORD_BASE64}",
ramverma6acdabf2019-04-12 18:56:03 +000046 "persistenceUnit": "PolicyMariaDb"
jhhbf7fb4d2019-08-07 16:54:41 -050047 },
48 "topicParameterGroup": {
49 "topicSources" : [{
50 "topic" : "POLICY-PDP-PAP",
51 "servers" : [ "message-router" ],
jhhd2b9ed82019-12-10 17:15:28 -060052 "useHttps": true,
jhhbf7fb4d2019-08-07 16:54:41 -050053 "topicCommInfrastructure" : "dmaap"
54 }],
55 "topicSinks" : [{
56 "topic" : "POLICY-PDP-PAP",
57 "servers" : [ "message-router" ],
jhhd2b9ed82019-12-10 17:15:28 -060058 "useHttps" : true,
jhhbf7fb4d2019-08-07 16:54:41 -050059 "topicCommInfrastructure" : "dmaap"
Jim Hahn1e4d5622019-10-28 14:34:10 -040060 },
61 {
62 "topic" : "POLICY-NOTIFICATION",
63 "servers" : [ "message-router" ],
jhhd2b9ed82019-12-10 17:15:28 -060064 "useHttps" : true,
Jim Hahn1e4d5622019-10-28 14:34:10 -040065 "topicCommInfrastructure" : "dmaap"
jhhbf7fb4d2019-08-07 16:54:41 -050066 }]
jhhd2b9ed82019-12-10 17:15:28 -060067 },
68 "healthCheckRestClientParameters":[{
69 "clientName": "api",
70 "hostname": "policy-api",
71 "port": 6969,
72 "userName": "healthcheck",
73 "password": "zb!XztG34",
74 "useHttps": true,
75 "basePath": "policy/api/v1/healthcheck"
76 },
77 {
78 "clientName": "distribution",
79 "hostname": "policy-distribution",
80 "port": 6969,
81 "userName": "healthcheck",
82 "password": "zb!XztG34",
83 "useHttps": true,
84 "basePath": "healthcheck"
85 }]
ramverma1a3b8ad2019-02-25 12:45:11 +000086}