Jakub Latusek | d71d26c | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 1 | {{/* |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 2 | # ============LICENSE_START======================================================= |
| 3 | # Copyright (C) 2018 Ericsson. All rights reserved. |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 4 | # Modifications Copyright (C) 2020 AT&T Intellectual Property. |
jhh | d74fe9f | 2021-04-15 11:04:39 -0500 | [diff] [blame] | 5 | # Modifications Copyright (C) 2021 Bell Canada. All rights reserved. |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 6 | # ================================================================================ |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | # |
| 19 | # SPDX-License-Identifier: Apache-2.0 |
| 20 | # ============LICENSE_END========================================================= |
Jakub Latusek | d71d26c | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 21 | */}} |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 22 | { |
| 23 | "name":"SDCDistributionGroup", |
| 24 | "restServerParameters":{ |
| 25 | "host":"0.0.0.0", |
| 26 | "port":6969, |
Dominik Mizyn | 4aa534f | 2020-04-14 18:03:53 +0200 | [diff] [blame] | 27 | "userName":"${RESTSERVER_USER}", |
| 28 | "password":"${RESTSERVER_PASSWORD}", |
jhh | d74fe9f | 2021-04-15 11:04:39 -0500 | [diff] [blame] | 29 | "https":true, |
| 30 | "prometheus": true |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 31 | }, |
| 32 | "receptionHandlerParameters":{ |
| 33 | "SDCReceptionHandler":{ |
| 34 | "receptionHandlerType":"SDC", |
| 35 | "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandler", |
| 36 | "receptionHandlerConfigurationName":"sdcConfiguration", |
| 37 | "pluginHandlerParameters":{ |
| 38 | "policyDecoders":{ |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 39 | "ToscaPolicyDecoder":{ |
| 40 | "decoderType":"ToscaPolicyDecoder", |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 41 | "decoderClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicy", |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 42 | "decoderConfigurationName": "toscaPolicyDecoderConfiguration" |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 43 | } |
| 44 | }, |
| 45 | "policyForwarders":{ |
ramverma | 7ad8089 | 2019-08-30 14:55:47 +0100 | [diff] [blame] | 46 | "LifeCycleApiForwarder":{ |
| 47 | "forwarderType":"LifeCycleAPI", |
| 48 | "forwarderClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiPolicyForwarder", |
| 49 | "forwarderConfigurationName": "lifecycleApiConfiguration" |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 50 | } |
| 51 | } |
| 52 | } |
| 53 | } |
| 54 | }, |
| 55 | "receptionHandlerConfigurationParameters":{ |
| 56 | "sdcConfiguration":{ |
| 57 | "parameterClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandlerConfigurationParameterGroup", |
| 58 | "parameters":{ |
| 59 | "asdcAddress": "sdc-be:8443", |
| 60 | "messageBusAddress": [ |
Ram Krishna Verma | a5fbdec | 2020-10-16 14:23:02 -0400 | [diff] [blame] | 61 | "message-router.{{ include "common.namespace" . }}" |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 62 | ], |
Dominik Mizyn | 4aa534f | 2020-04-14 18:03:53 +0200 | [diff] [blame] | 63 | "user": "${SDCBE_USER}", |
| 64 | "password": "${SDCBE_PASSWORD}", |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 65 | "pollingInterval":20, |
| 66 | "pollingTimeout":30, |
| 67 | "consumerId": "policy-id", |
| 68 | "artifactTypes": [ |
| 69 | "TOSCA_CSAR", |
| 70 | "HEAT" |
| 71 | ], |
| 72 | "consumerGroup": "policy-group", |
| 73 | "environmentName": "AUTO", |
jhh | d74fe9f | 2021-04-15 11:04:39 -0500 | [diff] [blame] | 74 | "keyStorePath": "null", |
| 75 | "keyStorePassword": "null", |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 76 | "activeserverTlsAuth": false, |
| 77 | "isFilterinEmptyResources": true, |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 78 | "isUseHttpsWithDmaap": true |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 79 | } |
| 80 | } |
| 81 | }, |
| 82 | "policyDecoderConfigurationParameters":{ |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 83 | "toscaPolicyDecoderConfiguration":{ |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 84 | "parameterClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicyParameterGroup", |
| 85 | "parameters":{ |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 86 | "policyFileName": "tosca_policy", |
| 87 | "policyTypeFileName": "tosca_policy_type" |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 88 | } |
| 89 | } |
| 90 | }, |
| 91 | "policyForwarderConfigurationParameters":{ |
ramverma | 7ad8089 | 2019-08-30 14:55:47 +0100 | [diff] [blame] | 92 | "lifecycleApiConfiguration":{ |
| 93 | "parameterClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiForwarderParameters", |
| 94 | "parameters":{ |
| 95 | "apiParameters": { |
jhh | d74fe9f | 2021-04-15 11:04:39 -0500 | [diff] [blame] | 96 | "clientName": "policy-api", |
| 97 | "hostname": "policy-api", |
| 98 | "port": 6969, |
| 99 | "userName": "${API_USER}", |
| 100 | "password": "${API_PASSWORD}", |
| 101 | "useHttps": true |
ramverma | 7ad8089 | 2019-08-30 14:55:47 +0100 | [diff] [blame] | 102 | }, |
jhh | d74fe9f | 2021-04-15 11:04:39 -0500 | [diff] [blame] | 103 | "papParameters": { |
| 104 | "clientName": "policy-pap", |
| 105 | "hostname": "policy-pap", |
| 106 | "port": 6969, |
| 107 | "userName": "${PAP_USER}", |
| 108 | "password": "${PAP_PASSWORD}", |
| 109 | "useHttps": true |
| 110 | }, |
ramverma | 7ad8089 | 2019-08-30 14:55:47 +0100 | [diff] [blame] | 111 | "deployPolicies": true |
| 112 | } |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 113 | } |
| 114 | } |
| 115 | } |