blob: 9b9a7a5a93f8d35943113c9e3af4a9c05ce2fe8f [file] [log] [blame]
mmis9cb50292018-09-19 00:31:35 +01001# ============LICENSE_START=======================================================
2# Copyright (C) 2018 Ericsson. All rights reserved.
jhhd2b9ed82019-12-10 17:15:28 -06003# Modifications Copyright (C) 2020 AT&T Intellectual Property.
mmis9cb50292018-09-19 00:31:35 +01004# ================================================================================
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=========================================================
19{
20 "name":"SDCDistributionGroup",
21 "restServerParameters":{
22 "host":"0.0.0.0",
23 "port":6969,
Dominik Mizyn4aa534f2020-04-14 18:03:53 +020024 "userName":"${RESTSERVER_USER}",
25 "password":"${RESTSERVER_PASSWORD}",
liboNet25006c72018-12-21 06:22:01 +080026 "https":true
mmis9cb50292018-09-19 00:31:35 +010027 },
28 "receptionHandlerParameters":{
29 "SDCReceptionHandler":{
30 "receptionHandlerType":"SDC",
31 "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandler",
32 "receptionHandlerConfigurationName":"sdcConfiguration",
33 "pluginHandlerParameters":{
34 "policyDecoders":{
jhhd2b9ed82019-12-10 17:15:28 -060035 "ToscaPolicyDecoder":{
36 "decoderType":"ToscaPolicyDecoder",
mmis9cb50292018-09-19 00:31:35 +010037 "decoderClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicy",
jhhd2b9ed82019-12-10 17:15:28 -060038 "decoderConfigurationName": "toscaPolicyDecoderConfiguration"
mmis9cb50292018-09-19 00:31:35 +010039 }
40 },
41 "policyForwarders":{
ramverma7ad80892019-08-30 14:55:47 +010042 "LifeCycleApiForwarder":{
43 "forwarderType":"LifeCycleAPI",
44 "forwarderClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiPolicyForwarder",
45 "forwarderConfigurationName": "lifecycleApiConfiguration"
mmis9cb50292018-09-19 00:31:35 +010046 }
47 }
48 }
49 }
50 },
51 "receptionHandlerConfigurationParameters":{
52 "sdcConfiguration":{
53 "parameterClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandlerConfigurationParameterGroup",
54 "parameters":{
55 "asdcAddress": "sdc-be:8443",
56 "messageBusAddress": [
57 "message-router"
58 ],
Dominik Mizyn4aa534f2020-04-14 18:03:53 +020059 "user": "${SDCBE_USER}",
60 "password": "${SDCBE_PASSWORD}",
mmis9cb50292018-09-19 00:31:35 +010061 "pollingInterval":20,
62 "pollingTimeout":30,
63 "consumerId": "policy-id",
64 "artifactTypes": [
65 "TOSCA_CSAR",
66 "HEAT"
67 ],
68 "consumerGroup": "policy-group",
69 "environmentName": "AUTO",
70 "keystorePath": "null",
71 "keystorePassword": "null",
72 "activeserverTlsAuth": false,
73 "isFilterinEmptyResources": true,
jhhd2b9ed82019-12-10 17:15:28 -060074 "isUseHttpsWithDmaap": true
mmis9cb50292018-09-19 00:31:35 +010075 }
76 }
77 },
78 "policyDecoderConfigurationParameters":{
jhhd2b9ed82019-12-10 17:15:28 -060079 "toscaPolicyDecoderConfiguration":{
mmis9cb50292018-09-19 00:31:35 +010080 "parameterClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicyParameterGroup",
81 "parameters":{
jhhd2b9ed82019-12-10 17:15:28 -060082 "policyFileName": "tosca_policy",
83 "policyTypeFileName": "tosca_policy_type"
mmis9cb50292018-09-19 00:31:35 +010084 }
85 }
86 },
87 "policyForwarderConfigurationParameters":{
ramverma7ad80892019-08-30 14:55:47 +010088 "lifecycleApiConfiguration":{
89 "parameterClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiForwarderParameters",
90 "parameters":{
91 "apiParameters": {
92 "hostName": "policy-api",
93 "port": 6969,
Dominik Mizyn4aa534f2020-04-14 18:03:53 +020094 "userName": "${API_USER}",
95 "password": "${API_PASSWORD}"
ramverma7ad80892019-08-30 14:55:47 +010096 },
97 "papParameters": {
98 "hostName": "policy-pap",
99 "port": 6969,
Dominik Mizyn4aa534f2020-04-14 18:03:53 +0200100 "userName": "${PAP_USER}",
101 "password": "${PAP_PASSWORD}"
ramverma7ad80892019-08-30 14:55:47 +0100102 },
103 "isHttps": true,
104 "deployPolicies": true
105 }
mmis9cb50292018-09-19 00:31:35 +0100106 }
107 }
108}