mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2018 Ericsson. All rights reserved. |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 3 | # Modifications Copyright (C) 2020 AT&T Intellectual Property. |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 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========================================================= |
| 19 | { |
| 20 | "name":"SDCDistributionGroup", |
| 21 | "restServerParameters":{ |
| 22 | "host":"0.0.0.0", |
| 23 | "port":6969, |
Dominik Mizyn | 4aa534f | 2020-04-14 18:03:53 +0200 | [diff] [blame] | 24 | "userName":"${RESTSERVER_USER}", |
| 25 | "password":"${RESTSERVER_PASSWORD}", |
liboNet | 25006c7 | 2018-12-21 06:22:01 +0800 | [diff] [blame] | 26 | "https":true |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 27 | }, |
| 28 | "receptionHandlerParameters":{ |
| 29 | "SDCReceptionHandler":{ |
| 30 | "receptionHandlerType":"SDC", |
| 31 | "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandler", |
| 32 | "receptionHandlerConfigurationName":"sdcConfiguration", |
| 33 | "pluginHandlerParameters":{ |
| 34 | "policyDecoders":{ |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 35 | "HpaDecoder":{ |
| 36 | "decoderType":"HpaDecoder", |
| 37 | "decoderClassName":"org.onap.policy.distribution.reception.decoding.hpa.PolicyDecoderCsarHpa", |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 38 | "decoderConfigurationName": "csarToOptimizationPolicyConfiguration" |
| 39 | }, |
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":{ |
| 60 | "asdcAddress": "sdc-be:8443", |
| 61 | "messageBusAddress": [ |
| 62 | "message-router" |
| 63 | ], |
Dominik Mizyn | 4aa534f | 2020-04-14 18:03:53 +0200 | [diff] [blame] | 64 | "user": "${SDCBE_USER}", |
| 65 | "password": "${SDCBE_PASSWORD}", |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 66 | "pollingInterval":20, |
| 67 | "pollingTimeout":30, |
| 68 | "consumerId": "policy-id", |
| 69 | "artifactTypes": [ |
| 70 | "TOSCA_CSAR", |
| 71 | "HEAT" |
| 72 | ], |
| 73 | "consumerGroup": "policy-group", |
| 74 | "environmentName": "AUTO", |
| 75 | "keystorePath": "null", |
| 76 | "keystorePassword": "null", |
| 77 | "activeserverTlsAuth": false, |
| 78 | "isFilterinEmptyResources": true, |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 79 | "isUseHttpsWithDmaap": true |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 80 | } |
| 81 | } |
| 82 | }, |
| 83 | "policyDecoderConfigurationParameters":{ |
| 84 | "csarToOptimizationPolicyConfiguration":{ |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 85 | "parameterClassName": "org.onap.policy.distribution.reception.decoding.hpa.PolicyDecoderCsarHpaParameters", |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 86 | "parameters":{ |
| 87 | "policyNamePrefix": "oofCasablanca", |
| 88 | "onapName": "OOF", |
| 89 | "version": "1.0", |
| 90 | "priority": "3", |
| 91 | "riskType": "Test", |
| 92 | "riskLevel": "2" |
| 93 | } |
| 94 | }, |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 95 | "toscaPolicyDecoderConfiguration":{ |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 96 | "parameterClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicyParameterGroup", |
| 97 | "parameters":{ |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 98 | "policyFileName": "tosca_policy", |
| 99 | "policyTypeFileName": "tosca_policy_type" |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 100 | } |
| 101 | } |
| 102 | }, |
| 103 | "policyForwarderConfigurationParameters":{ |
ramverma | 7ad8089 | 2019-08-30 14:55:47 +0100 | [diff] [blame] | 104 | "lifecycleApiConfiguration":{ |
| 105 | "parameterClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiForwarderParameters", |
| 106 | "parameters":{ |
| 107 | "apiParameters": { |
| 108 | "hostName": "policy-api", |
| 109 | "port": 6969, |
Dominik Mizyn | 4aa534f | 2020-04-14 18:03:53 +0200 | [diff] [blame] | 110 | "userName": "${API_USER}", |
| 111 | "password": "${API_PASSWORD}" |
ramverma | 7ad8089 | 2019-08-30 14:55:47 +0100 | [diff] [blame] | 112 | }, |
| 113 | "papParameters": { |
| 114 | "hostName": "policy-pap", |
| 115 | "port": 6969, |
Dominik Mizyn | 4aa534f | 2020-04-14 18:03:53 +0200 | [diff] [blame] | 116 | "userName": "${PAP_USER}", |
| 117 | "password": "${PAP_PASSWORD}" |
ramverma | 7ad8089 | 2019-08-30 14:55:47 +0100 | [diff] [blame] | 118 | }, |
| 119 | "isHttps": true, |
| 120 | "deployPolicies": true |
| 121 | } |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 122 | } |
| 123 | } |
| 124 | } |