blob: e5cbd2210552df80336cdf7e989c92f8e999871d [file] [log] [blame]
Jakub Latusekd71d26c2020-10-21 13:36:29 +02001{{/*
ramverma1a3b8ad2019-02-25 12:45:11 +00002# ============LICENSE_START=======================================================
3# Copyright (C) 2019 Nordix Foundation.
jhhd74fe9f2021-04-15 11:04:39 -05004# Modifications Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
ramverma1a3b8ad2019-02-25 12:45:11 +00005# ================================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18# SPDX-License-Identifier: Apache-2.0
19# ============LICENSE_END=========================================================
Jakub Latusekd71d26c2020-10-21 13:36:29 +020020*/}}
ramverma1a3b8ad2019-02-25 12:45:11 +000021{
22 "name":"PapGroup",
23 "restServerParameters":{
24 "host":"0.0.0.0",
25 "port":6969,
Dominik Mizyn389fca12020-04-09 22:37:00 +020026 "userName":"${RESTSERVER_USER}",
27 "password":"${RESTSERVER_PASSWORD}",
ramvermac239fbf2019-04-30 13:18:33 +000028 "https": true,
jhhd74fe9f2021-04-15 11:04:39 -050029 "aaf": false,
30 "prometheus": true
ramverma6acdabf2019-04-12 18:56:03 +000031 },
32 "pdpParameters": {
jhhbf7fb4d2019-08-07 16:54:41 -050033 "heartBeatMs": 120000,
ramverma6acdabf2019-04-12 18:56:03 +000034 "updateParameters": {
35 "maxRetryCount": 1,
36 "maxWaitMs": 30000
37 },
38 "stateChangeParameters": {
39 "maxRetryCount": 1,
40 "maxWaitMs": 30000
41 }
42 },
43 "databaseProviderParameters": {
44 "name": "PolicyProviderParameterGroup",
45 "implementation": "org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl",
46 "databaseDriver": "org.mariadb.jdbc.Driver",
jhhd4258672020-08-09 12:08:08 -050047 "databaseUrl": "jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/policyadmin",
Krzysztof Opasiak3d9dc8b2020-03-31 23:05:16 +020048 "databaseUser": "${SQL_USER}",
Taka Choebd62952020-10-08 13:50:09 -040049 "databasePassword": "${SQL_PASSWORD}",
ramverma6acdabf2019-04-12 18:56:03 +000050 "persistenceUnit": "PolicyMariaDb"
jhhbf7fb4d2019-08-07 16:54:41 -050051 },
jhhd74fe9f2021-04-15 11:04:39 -050052 "savePdpStatisticsInDb": true,
jhhbf7fb4d2019-08-07 16:54:41 -050053 "topicParameterGroup": {
54 "topicSources" : [{
55 "topic" : "POLICY-PDP-PAP",
56 "servers" : [ "message-router" ],
jhhd2b9ed82019-12-10 17:15:28 -060057 "useHttps": true,
jhha7dbd022020-07-13 10:55:47 -050058 "fetchTimeout": 15000,
jhhbf7fb4d2019-08-07 16:54:41 -050059 "topicCommInfrastructure" : "dmaap"
jhhd74fe9f2021-04-15 11:04:39 -050060 },
61 {
62 "topic" : "POLICY-HEARTBEAT",
63 "effectiveTopic": "POLICY-PDP-PAP",
64 "consumerGroup": "policy-pap",
65 "servers" : [ "message-router" ],
66 "useHttps": true,
67 "fetchTimeout": 15000,
68 "topicCommInfrastructure" : "dmaap"
jhhbf7fb4d2019-08-07 16:54:41 -050069 }],
70 "topicSinks" : [{
71 "topic" : "POLICY-PDP-PAP",
72 "servers" : [ "message-router" ],
jhhd2b9ed82019-12-10 17:15:28 -060073 "useHttps" : true,
jhhbf7fb4d2019-08-07 16:54:41 -050074 "topicCommInfrastructure" : "dmaap"
Jim Hahn1e4d5622019-10-28 14:34:10 -040075 },
76 {
77 "topic" : "POLICY-NOTIFICATION",
78 "servers" : [ "message-router" ],
jhhd2b9ed82019-12-10 17:15:28 -060079 "useHttps" : true,
Jim Hahn1e4d5622019-10-28 14:34:10 -040080 "topicCommInfrastructure" : "dmaap"
jhhbf7fb4d2019-08-07 16:54:41 -050081 }]
jhhd2b9ed82019-12-10 17:15:28 -060082 },
83 "healthCheckRestClientParameters":[{
84 "clientName": "api",
85 "hostname": "policy-api",
86 "port": 6969,
Dominik Mizyn389fca12020-04-09 22:37:00 +020087 "userName": "${API_USER}",
88 "password": "${API_PASSWORD}",
jhhd2b9ed82019-12-10 17:15:28 -060089 "useHttps": true,
90 "basePath": "policy/api/v1/healthcheck"
91 },
92 {
93 "clientName": "distribution",
94 "hostname": "policy-distribution",
95 "port": 6969,
Dominik Mizyn389fca12020-04-09 22:37:00 +020096 "userName": "${DISTRIBUTION_USER}",
97 "password": "${DISTRIBUTION_PASSWORD}",
jhhd2b9ed82019-12-10 17:15:28 -060098 "useHttps": true,
99 "basePath": "healthcheck"
100 }]
ramverma1a3b8ad2019-02-25 12:45:11 +0000101}