Jakub Latusek | d71d26c | 2020-10-21 13:36:29 +0200 | [diff] [blame^] | 1 | {{/* |
ramverma | 1a3b8ad | 2019-02-25 12:45:11 +0000 | [diff] [blame] | 2 | # ============LICENSE_START======================================================= |
| 3 | # Copyright (C) 2019 Nordix Foundation. |
| 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # SPDX-License-Identifier: Apache-2.0 |
| 18 | # ============LICENSE_END========================================================= |
Jakub Latusek | d71d26c | 2020-10-21 13:36:29 +0200 | [diff] [blame^] | 19 | */}} |
ramverma | 1a3b8ad | 2019-02-25 12:45:11 +0000 | [diff] [blame] | 20 | { |
| 21 | "name":"PapGroup", |
| 22 | "restServerParameters":{ |
| 23 | "host":"0.0.0.0", |
| 24 | "port":6969, |
Dominik Mizyn | 389fca1 | 2020-04-09 22:37:00 +0200 | [diff] [blame] | 25 | "userName":"${RESTSERVER_USER}", |
| 26 | "password":"${RESTSERVER_PASSWORD}", |
ramverma | c239fbf | 2019-04-30 13:18:33 +0000 | [diff] [blame] | 27 | "https": true, |
| 28 | "aaf": false |
ramverma | 6acdabf | 2019-04-12 18:56:03 +0000 | [diff] [blame] | 29 | }, |
| 30 | "pdpParameters": { |
jhh | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 31 | "heartBeatMs": 120000, |
ramverma | 6acdabf | 2019-04-12 18:56:03 +0000 | [diff] [blame] | 32 | "updateParameters": { |
| 33 | "maxRetryCount": 1, |
| 34 | "maxWaitMs": 30000 |
| 35 | }, |
| 36 | "stateChangeParameters": { |
| 37 | "maxRetryCount": 1, |
| 38 | "maxWaitMs": 30000 |
| 39 | } |
| 40 | }, |
| 41 | "databaseProviderParameters": { |
| 42 | "name": "PolicyProviderParameterGroup", |
| 43 | "implementation": "org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl", |
| 44 | "databaseDriver": "org.mariadb.jdbc.Driver", |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame] | 45 | "databaseUrl": "jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/policyadmin", |
Krzysztof Opasiak | 3d9dc8b | 2020-03-31 23:05:16 +0200 | [diff] [blame] | 46 | "databaseUser": "${SQL_USER}", |
Taka Cho | ebd6295 | 2020-10-08 13:50:09 -0400 | [diff] [blame] | 47 | "databasePassword": "${SQL_PASSWORD}", |
ramverma | 6acdabf | 2019-04-12 18:56:03 +0000 | [diff] [blame] | 48 | "persistenceUnit": "PolicyMariaDb" |
jhh | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 49 | }, |
| 50 | "topicParameterGroup": { |
| 51 | "topicSources" : [{ |
| 52 | "topic" : "POLICY-PDP-PAP", |
| 53 | "servers" : [ "message-router" ], |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 54 | "useHttps": true, |
jhh | a7dbd02 | 2020-07-13 10:55:47 -0500 | [diff] [blame] | 55 | "fetchTimeout": 15000, |
jhh | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 56 | "topicCommInfrastructure" : "dmaap" |
| 57 | }], |
| 58 | "topicSinks" : [{ |
| 59 | "topic" : "POLICY-PDP-PAP", |
| 60 | "servers" : [ "message-router" ], |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 61 | "useHttps" : true, |
jhh | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 62 | "topicCommInfrastructure" : "dmaap" |
Jim Hahn | 1e4d562 | 2019-10-28 14:34:10 -0400 | [diff] [blame] | 63 | }, |
| 64 | { |
| 65 | "topic" : "POLICY-NOTIFICATION", |
| 66 | "servers" : [ "message-router" ], |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 67 | "useHttps" : true, |
Jim Hahn | 1e4d562 | 2019-10-28 14:34:10 -0400 | [diff] [blame] | 68 | "topicCommInfrastructure" : "dmaap" |
jhh | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 69 | }] |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 70 | }, |
| 71 | "healthCheckRestClientParameters":[{ |
| 72 | "clientName": "api", |
| 73 | "hostname": "policy-api", |
| 74 | "port": 6969, |
Dominik Mizyn | 389fca1 | 2020-04-09 22:37:00 +0200 | [diff] [blame] | 75 | "userName": "${API_USER}", |
| 76 | "password": "${API_PASSWORD}", |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 77 | "useHttps": true, |
| 78 | "basePath": "policy/api/v1/healthcheck" |
| 79 | }, |
| 80 | { |
| 81 | "clientName": "distribution", |
| 82 | "hostname": "policy-distribution", |
| 83 | "port": 6969, |
Dominik Mizyn | 389fca1 | 2020-04-09 22:37:00 +0200 | [diff] [blame] | 84 | "userName": "${DISTRIBUTION_USER}", |
| 85 | "password": "${DISTRIBUTION_PASSWORD}", |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 86 | "useHttps": true, |
| 87 | "basePath": "healthcheck" |
| 88 | }] |
ramverma | 1a3b8ad | 2019-02-25 12:45:11 +0000 | [diff] [blame] | 89 | } |