blob: ae31633843955493d8efa640c39dcf0ec6f737e0 [file] [log] [blame]
Jakub Latusekd71d26c2020-10-21 13:36:29 +02001{{/*
mmis9cb50292018-09-19 00:31:35 +01002# ============LICENSE_START=======================================================
3# Copyright (C) 2018 Ericsson. All rights reserved.
jhhd2b9ed82019-12-10 17:15:28 -06004# Modifications Copyright (C) 2020 AT&T Intellectual Property.
mmis9cb50292018-09-19 00:31:35 +01005# ================================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18# SPDX-License-Identifier: Apache-2.0
19# ============LICENSE_END=========================================================
Jakub Latusekd71d26c2020-10-21 13:36:29 +020020*/}}
mmis9cb50292018-09-19 00:31:35 +010021{
22 "name":"SDCDistributionGroup",
23 "restServerParameters":{
24 "host":"0.0.0.0",
25 "port":6969,
Dominik Mizyn4aa534f2020-04-14 18:03:53 +020026 "userName":"${RESTSERVER_USER}",
27 "password":"${RESTSERVER_PASSWORD}",
liboNet25006c72018-12-21 06:22:01 +080028 "https":true
mmis9cb50292018-09-19 00:31:35 +010029 },
30 "receptionHandlerParameters":{
31 "SDCReceptionHandler":{
32 "receptionHandlerType":"SDC",
33 "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandler",
34 "receptionHandlerConfigurationName":"sdcConfiguration",
35 "pluginHandlerParameters":{
36 "policyDecoders":{
jhhd2b9ed82019-12-10 17:15:28 -060037 "ToscaPolicyDecoder":{
38 "decoderType":"ToscaPolicyDecoder",
mmis9cb50292018-09-19 00:31:35 +010039 "decoderClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicy",
jhhd2b9ed82019-12-10 17:15:28 -060040 "decoderConfigurationName": "toscaPolicyDecoderConfiguration"
mmis9cb50292018-09-19 00:31:35 +010041 }
42 },
43 "policyForwarders":{
ramverma7ad80892019-08-30 14:55:47 +010044 "LifeCycleApiForwarder":{
45 "forwarderType":"LifeCycleAPI",
46 "forwarderClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiPolicyForwarder",
47 "forwarderConfigurationName": "lifecycleApiConfiguration"
mmis9cb50292018-09-19 00:31:35 +010048 }
49 }
50 }
51 }
52 },
53 "receptionHandlerConfigurationParameters":{
54 "sdcConfiguration":{
55 "parameterClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandlerConfigurationParameterGroup",
56 "parameters":{
57 "asdcAddress": "sdc-be:8443",
58 "messageBusAddress": [
Ram Krishna Vermaa5fbdec2020-10-16 14:23:02 -040059 "message-router.{{ include "common.namespace" . }}"
mmis9cb50292018-09-19 00:31:35 +010060 ],
Dominik Mizyn4aa534f2020-04-14 18:03:53 +020061 "user": "${SDCBE_USER}",
62 "password": "${SDCBE_PASSWORD}",
mmis9cb50292018-09-19 00:31:35 +010063 "pollingInterval":20,
64 "pollingTimeout":30,
65 "consumerId": "policy-id",
66 "artifactTypes": [
67 "TOSCA_CSAR",
68 "HEAT"
69 ],
70 "consumerGroup": "policy-group",
71 "environmentName": "AUTO",
72 "keystorePath": "null",
73 "keystorePassword": "null",
74 "activeserverTlsAuth": false,
75 "isFilterinEmptyResources": true,
jhhd2b9ed82019-12-10 17:15:28 -060076 "isUseHttpsWithDmaap": true
mmis9cb50292018-09-19 00:31:35 +010077 }
78 }
79 },
80 "policyDecoderConfigurationParameters":{
jhhd2b9ed82019-12-10 17:15:28 -060081 "toscaPolicyDecoderConfiguration":{
mmis9cb50292018-09-19 00:31:35 +010082 "parameterClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicyParameterGroup",
83 "parameters":{
jhhd2b9ed82019-12-10 17:15:28 -060084 "policyFileName": "tosca_policy",
85 "policyTypeFileName": "tosca_policy_type"
mmis9cb50292018-09-19 00:31:35 +010086 }
87 }
88 },
89 "policyForwarderConfigurationParameters":{
ramverma7ad80892019-08-30 14:55:47 +010090 "lifecycleApiConfiguration":{
91 "parameterClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiForwarderParameters",
92 "parameters":{
93 "apiParameters": {
94 "hostName": "policy-api",
95 "port": 6969,
Dominik Mizyn4aa534f2020-04-14 18:03:53 +020096 "userName": "${API_USER}",
97 "password": "${API_PASSWORD}"
ramverma7ad80892019-08-30 14:55:47 +010098 },
99 "papParameters": {
100 "hostName": "policy-pap",
101 "port": 6969,
Dominik Mizyn4aa534f2020-04-14 18:03:53 +0200102 "userName": "${PAP_USER}",
103 "password": "${PAP_PASSWORD}"
ramverma7ad80892019-08-30 14:55:47 +0100104 },
105 "isHttps": true,
106 "deployPolicies": true
107 }
mmis9cb50292018-09-19 00:31:35 +0100108 }
109 }
110}