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. |
efiacor | ab235f4 | 2023-02-15 11:51:52 +0000 | [diff] [blame] | 6 | # Modifications Copyright (C) 2023 Nordix Foundation |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 7 | # ================================================================================ |
| 8 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | # you may not use this file except in compliance with the License. |
| 10 | # You may obtain a copy of the License at |
| 11 | # |
| 12 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | # |
| 14 | # Unless required by applicable law or agreed to in writing, software |
| 15 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | # See the License for the specific language governing permissions and |
| 18 | # limitations under the License. |
| 19 | # |
| 20 | # SPDX-License-Identifier: Apache-2.0 |
| 21 | # ============LICENSE_END========================================================= |
Jakub Latusek | d71d26c | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 22 | */}} |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 23 | { |
| 24 | "name":"SDCDistributionGroup", |
| 25 | "restServerParameters":{ |
| 26 | "host":"0.0.0.0", |
| 27 | "port":6969, |
Dominik Mizyn | 4aa534f | 2020-04-14 18:03:53 +0200 | [diff] [blame] | 28 | "userName":"${RESTSERVER_USER}", |
| 29 | "password":"${RESTSERVER_PASSWORD}", |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 30 | "https": {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}, |
jhh | d74fe9f | 2021-04-15 11:04:39 -0500 | [diff] [blame] | 31 | "prometheus": true |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 32 | }, |
| 33 | "receptionHandlerParameters":{ |
| 34 | "SDCReceptionHandler":{ |
| 35 | "receptionHandlerType":"SDC", |
| 36 | "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandler", |
| 37 | "receptionHandlerConfigurationName":"sdcConfiguration", |
| 38 | "pluginHandlerParameters":{ |
| 39 | "policyDecoders":{ |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 40 | "ToscaPolicyDecoder":{ |
| 41 | "decoderType":"ToscaPolicyDecoder", |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 42 | "decoderClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicy", |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 43 | "decoderConfigurationName": "toscaPolicyDecoderConfiguration" |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 44 | } |
| 45 | }, |
| 46 | "policyForwarders":{ |
ramverma | 7ad8089 | 2019-08-30 14:55:47 +0100 | [diff] [blame] | 47 | "LifeCycleApiForwarder":{ |
| 48 | "forwarderType":"LifeCycleAPI", |
| 49 | "forwarderClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiPolicyForwarder", |
| 50 | "forwarderConfigurationName": "lifecycleApiConfiguration" |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 51 | } |
| 52 | } |
| 53 | } |
| 54 | } |
| 55 | }, |
| 56 | "receptionHandlerConfigurationParameters":{ |
| 57 | "sdcConfiguration":{ |
| 58 | "parameterClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandlerConfigurationParameterGroup", |
| 59 | "parameters":{ |
efiacor | 3f7b375 | 2022-11-28 10:38:56 +0000 | [diff] [blame] | 60 | "environmentName": "AUTO", |
efiacor | ab235f4 | 2023-02-15 11:51:52 +0000 | [diff] [blame] | 61 | "isUseHttpsWithSdc": false, |
efiacor | 3f7b375 | 2022-11-28 10:38:56 +0000 | [diff] [blame] | 62 | "keyStorePath": "null", |
| 63 | "keyStorePassword": "null", |
| 64 | "activeserverTlsAuth": false, |
efiacor | ab235f4 | 2023-02-15 11:51:52 +0000 | [diff] [blame] | 65 | "sdcAddress": "sdc-be.{{ include "common.namespace" . }}:8080", |
Dominik Mizyn | 4aa534f | 2020-04-14 18:03:53 +0200 | [diff] [blame] | 66 | "user": "${SDCBE_USER}", |
| 67 | "password": "${SDCBE_PASSWORD}", |
efiacor | ab235f4 | 2023-02-15 11:51:52 +0000 | [diff] [blame] | 68 | {{ with (first .Values.kafkaUser.acls) }} |
| 69 | "consumerId": "{{ .name }}-id", |
| 70 | "consumerGroup": "{{ .name }}", |
| 71 | {{ end }} |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 72 | "pollingInterval":20, |
| 73 | "pollingTimeout":30, |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 74 | "artifactTypes": [ |
| 75 | "TOSCA_CSAR", |
| 76 | "HEAT" |
| 77 | ], |
efiacor | 3f7b375 | 2022-11-28 10:38:56 +0000 | [diff] [blame] | 78 | "isFilterinEmptyResources": 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}", |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 101 | "useHttps": {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }} |
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}", |
amatthews | 736bf37 | 2021-12-14 16:04:15 +0000 | [diff] [blame] | 109 | "useHttps": {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }} |
jhh | d74fe9f | 2021-04-15 11:04:39 -0500 | [diff] [blame] | 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 | } |