ramverma | 1a3b8ad | 2019-02-25 12:45:11 +0000 | [diff] [blame] | 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, |
Dominik Mizyn | 389fca1 | 2020-04-09 22:37:00 +0200 | [diff] [blame] | 23 | "userName":"${RESTSERVER_USER}", |
| 24 | "password":"${RESTSERVER_PASSWORD}", |
ramverma | c239fbf | 2019-04-30 13:18:33 +0000 | [diff] [blame] | 25 | "https": true, |
| 26 | "aaf": false |
ramverma | 6acdabf | 2019-04-12 18:56:03 +0000 | [diff] [blame] | 27 | }, |
| 28 | "pdpParameters": { |
jhh | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 29 | "heartBeatMs": 120000, |
ramverma | 6acdabf | 2019-04-12 18:56:03 +0000 | [diff] [blame] | 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", |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 43 | "databaseUrl": "jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/policyadmin", |
Krzysztof Opasiak | 3d9dc8b | 2020-03-31 23:05:16 +0200 | [diff] [blame] | 44 | "databaseUser": "${SQL_USER}", |
| 45 | "databasePassword": "${SQL_PASSWORD_BASE64}", |
ramverma | 6acdabf | 2019-04-12 18:56:03 +0000 | [diff] [blame] | 46 | "persistenceUnit": "PolicyMariaDb" |
jhh | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 47 | }, |
| 48 | "topicParameterGroup": { |
| 49 | "topicSources" : [{ |
| 50 | "topic" : "POLICY-PDP-PAP", |
| 51 | "servers" : [ "message-router" ], |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 52 | "useHttps": true, |
jhh | a7dbd02 | 2020-07-13 10:55:47 -0500 | [diff] [blame] | 53 | "fetchTimeout": 15000, |
jhh | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 54 | "topicCommInfrastructure" : "dmaap" |
| 55 | }], |
| 56 | "topicSinks" : [{ |
| 57 | "topic" : "POLICY-PDP-PAP", |
| 58 | "servers" : [ "message-router" ], |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 59 | "useHttps" : true, |
jhh | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 60 | "topicCommInfrastructure" : "dmaap" |
Jim Hahn | 1e4d562 | 2019-10-28 14:34:10 -0400 | [diff] [blame] | 61 | }, |
| 62 | { |
| 63 | "topic" : "POLICY-NOTIFICATION", |
| 64 | "servers" : [ "message-router" ], |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 65 | "useHttps" : true, |
Jim Hahn | 1e4d562 | 2019-10-28 14:34:10 -0400 | [diff] [blame] | 66 | "topicCommInfrastructure" : "dmaap" |
jhh | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 67 | }] |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 68 | }, |
| 69 | "healthCheckRestClientParameters":[{ |
| 70 | "clientName": "api", |
| 71 | "hostname": "policy-api", |
| 72 | "port": 6969, |
Dominik Mizyn | 389fca1 | 2020-04-09 22:37:00 +0200 | [diff] [blame] | 73 | "userName": "${API_USER}", |
| 74 | "password": "${API_PASSWORD}", |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 75 | "useHttps": true, |
| 76 | "basePath": "policy/api/v1/healthcheck" |
| 77 | }, |
| 78 | { |
| 79 | "clientName": "distribution", |
| 80 | "hostname": "policy-distribution", |
| 81 | "port": 6969, |
Dominik Mizyn | 389fca1 | 2020-04-09 22:37:00 +0200 | [diff] [blame] | 82 | "userName": "${DISTRIBUTION_USER}", |
| 83 | "password": "${DISTRIBUTION_PASSWORD}", |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 84 | "useHttps": true, |
| 85 | "basePath": "healthcheck" |
| 86 | }] |
ramverma | 1a3b8ad | 2019-02-25 12:45:11 +0000 | [diff] [blame] | 87 | } |