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, |
| 23 | "userName":"healthcheck", |
ramverma | c239fbf | 2019-04-30 13:18:33 +0000 | [diff] [blame] | 24 | "password":"zb!XztG34", |
| 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", |
Sylvain Desbureaux | 4898dc0 | 2019-11-14 13:35:13 +0100 | [diff] [blame] | 43 | "databaseUrl": "jdbc:mariadb://{{ .Values.global.mariadb.service.name }}:{{ .Values.global.mariadb.service.internalPort }}/{{ .Values.global.mariadb.config.mysqlDatabase }}", |
| 44 | "databaseUser": "{{ .Values.global.mariadb.config.userName }}", |
| 45 | "databasePassword": "{{ .Values.global.mariadb.config.userPassword | b64enc }}", |
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 | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 53 | "topicCommInfrastructure" : "dmaap" |
| 54 | }], |
| 55 | "topicSinks" : [{ |
| 56 | "topic" : "POLICY-PDP-PAP", |
| 57 | "servers" : [ "message-router" ], |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 58 | "useHttps" : true, |
jhh | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 59 | "topicCommInfrastructure" : "dmaap" |
Jim Hahn | 1e4d562 | 2019-10-28 14:34:10 -0400 | [diff] [blame] | 60 | }, |
| 61 | { |
| 62 | "topic" : "POLICY-NOTIFICATION", |
| 63 | "servers" : [ "message-router" ], |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 64 | "useHttps" : true, |
Jim Hahn | 1e4d562 | 2019-10-28 14:34:10 -0400 | [diff] [blame] | 65 | "topicCommInfrastructure" : "dmaap" |
jhh | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 66 | }] |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 67 | }, |
| 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 | }] |
ramverma | 1a3b8ad | 2019-02-25 12:45:11 +0000 | [diff] [blame] | 86 | } |