mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2018 Ericsson. All rights reserved. |
| 3 | # ================================================================================ |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | # SPDX-License-Identifier: Apache-2.0 |
| 17 | # ============LICENSE_END========================================================= |
| 18 | { |
| 19 | "name":"SDCDistributionGroup", |
| 20 | "restServerParameters":{ |
| 21 | "host":"0.0.0.0", |
| 22 | "port":6969, |
| 23 | "userName":"healthcheck", |
liboNet | 25006c7 | 2018-12-21 06:22:01 +0800 | [diff] [blame] | 24 | "password":"zb!XztG34", |
| 25 | "https":true |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 26 | }, |
| 27 | "receptionHandlerParameters":{ |
| 28 | "SDCReceptionHandler":{ |
| 29 | "receptionHandlerType":"SDC", |
| 30 | "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandler", |
| 31 | "receptionHandlerConfigurationName":"sdcConfiguration", |
| 32 | "pluginHandlerParameters":{ |
| 33 | "policyDecoders":{ |
| 34 | "CsarDecoder":{ |
| 35 | "decoderType":"CsarDecoder", |
| 36 | "decoderClassName":"org.onap.policy.distribution.reception.decoding.pdpx.PolicyDecoderCsarPdpx", |
| 37 | "decoderConfigurationName": "csarToOptimizationPolicyConfiguration" |
| 38 | }, |
| 39 | "ApexDecoder":{ |
| 40 | "decoderType":"ApexDecoder", |
| 41 | "decoderClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicy", |
| 42 | "decoderConfigurationName": "apexDecoderConfiguration" |
| 43 | } |
| 44 | }, |
| 45 | "policyForwarders":{ |
| 46 | "PAPEngineForwarder":{ |
| 47 | "forwarderType":"PAPEngine", |
| 48 | "forwarderClassName":"org.onap.policy.distribution.forwarding.xacml.pdp.XacmlPdpPolicyForwarder", |
| 49 | "forwarderConfigurationName": "xacmlPdpConfiguration" |
| 50 | }, |
| 51 | "ApexForwarder":{ |
| 52 | "forwarderType":"ApexForwarder", |
| 53 | "forwarderClassName":"org.onap.policy.distribution.forwarding.apex.pdp.ApexPdpPolicyForwarder", |
| 54 | "forwarderConfigurationName": "apexForwarderConfiguration" |
| 55 | } |
| 56 | } |
| 57 | } |
| 58 | } |
| 59 | }, |
| 60 | "receptionHandlerConfigurationParameters":{ |
| 61 | "sdcConfiguration":{ |
| 62 | "parameterClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandlerConfigurationParameterGroup", |
| 63 | "parameters":{ |
| 64 | "asdcAddress": "sdc-be:8443", |
| 65 | "messageBusAddress": [ |
| 66 | "message-router" |
| 67 | ], |
| 68 | "user": "policy", |
| 69 | "password": "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U", |
| 70 | "pollingInterval":20, |
| 71 | "pollingTimeout":30, |
| 72 | "consumerId": "policy-id", |
| 73 | "artifactTypes": [ |
| 74 | "TOSCA_CSAR", |
| 75 | "HEAT" |
| 76 | ], |
| 77 | "consumerGroup": "policy-group", |
| 78 | "environmentName": "AUTO", |
| 79 | "keystorePath": "null", |
| 80 | "keystorePassword": "null", |
| 81 | "activeserverTlsAuth": false, |
| 82 | "isFilterinEmptyResources": true, |
| 83 | "isUseHttpsWithDmaap": false |
| 84 | } |
| 85 | } |
| 86 | }, |
| 87 | "policyDecoderConfigurationParameters":{ |
| 88 | "csarToOptimizationPolicyConfiguration":{ |
| 89 | "parameterClassName":"org.onap.policy.distribution.reception.decoding.pdpx.PolicyDecoderCsarPdpxConfigurationParameterGroup", |
| 90 | "parameters":{ |
| 91 | "policyNamePrefix": "oofCasablanca", |
| 92 | "onapName": "OOF", |
| 93 | "version": "1.0", |
| 94 | "priority": "3", |
| 95 | "riskType": "Test", |
| 96 | "riskLevel": "2" |
| 97 | } |
| 98 | }, |
| 99 | "apexDecoderConfiguration":{ |
| 100 | "parameterClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicyParameterGroup", |
| 101 | "parameters":{ |
| 102 | "policyFileName": "SamplePolicyModelJAVASCRIPT", |
| 103 | "policyType": "APEX" |
| 104 | } |
| 105 | } |
| 106 | }, |
| 107 | "policyForwarderConfigurationParameters":{ |
| 108 | "xacmlPdpConfiguration":{ |
| 109 | "parameterClassName":"org.onap.policy.distribution.forwarding.xacml.pdp.XacmlPdpPolicyForwarderParameterGroup", |
| 110 | "parameters":{ |
liboNet | 25006c7 | 2018-12-21 06:22:01 +0800 | [diff] [blame] | 111 | "useHttps": true, |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 112 | "hostname": "pdp", |
| 113 | "port": 8081, |
| 114 | "userName": "testpdp", |
| 115 | "password": "alpha123", |
| 116 | "clientAuth": "cHl0aG9uOnRlc3Q=", |
| 117 | "isManaged": true, |
liboNet | 25006c7 | 2018-12-21 06:22:01 +0800 | [diff] [blame] | 118 | "pdpGroup": "default" |
mmis | 9cb5029 | 2018-09-19 00:31:35 +0100 | [diff] [blame] | 119 | } |
| 120 | }, |
| 121 | "apexForwarderConfiguration":{ |
| 122 | "parameterClassName":"org.onap.policy.distribution.forwarding.apex.pdp.ApexPdpPolicyForwarderParameterGroup", |
| 123 | "parameters":{ |
| 124 | "hostname":"policy-apex-pdp", |
| 125 | "port":"12345", |
| 126 | "ignoreConflicts": true, |
| 127 | "forceUpdate": true |
| 128 | } |
| 129 | } |
| 130 | } |
| 131 | } |