blob: 72c318042fc52f5a7f5c3423332c61d8da578ef3 [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,
Dominik Mizyn389fca12020-04-09 22:37:00 +020023 "userName":"${RESTSERVER_USER}",
24 "password":"${RESTSERVER_PASSWORD}",
ramvermac239fbf2019-04-30 13:18:33 +000025 "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",
jhhd4258672020-08-09 12:08:08 -050043 "databaseUrl": "jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/policyadmin",
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,
jhha7dbd022020-07-13 10:55:47 -050053 "fetchTimeout": 15000,
jhhbf7fb4d2019-08-07 16:54:41 -050054 "topicCommInfrastructure" : "dmaap"
55 }],
56 "topicSinks" : [{
57 "topic" : "POLICY-PDP-PAP",
58 "servers" : [ "message-router" ],
jhhd2b9ed82019-12-10 17:15:28 -060059 "useHttps" : true,
jhhbf7fb4d2019-08-07 16:54:41 -050060 "topicCommInfrastructure" : "dmaap"
Jim Hahn1e4d5622019-10-28 14:34:10 -040061 },
62 {
63 "topic" : "POLICY-NOTIFICATION",
64 "servers" : [ "message-router" ],
jhhd2b9ed82019-12-10 17:15:28 -060065 "useHttps" : true,
Jim Hahn1e4d5622019-10-28 14:34:10 -040066 "topicCommInfrastructure" : "dmaap"
jhhbf7fb4d2019-08-07 16:54:41 -050067 }]
jhhd2b9ed82019-12-10 17:15:28 -060068 },
69 "healthCheckRestClientParameters":[{
70 "clientName": "api",
71 "hostname": "policy-api",
72 "port": 6969,
Dominik Mizyn389fca12020-04-09 22:37:00 +020073 "userName": "${API_USER}",
74 "password": "${API_PASSWORD}",
jhhd2b9ed82019-12-10 17:15:28 -060075 "useHttps": true,
76 "basePath": "policy/api/v1/healthcheck"
77 },
78 {
79 "clientName": "distribution",
80 "hostname": "policy-distribution",
81 "port": 6969,
Dominik Mizyn389fca12020-04-09 22:37:00 +020082 "userName": "${DISTRIBUTION_USER}",
83 "password": "${DISTRIBUTION_PASSWORD}",
jhhd2b9ed82019-12-10 17:15:28 -060084 "useHttps": true,
85 "basePath": "healthcheck"
86 }]
ramverma1a3b8ad2019-02-25 12:45:11 +000087}