blob: b0a650455580dcd9fc7928e34b54fc0345add380 [file] [log] [blame]
mmis9cb50292018-09-19 00:31:35 +01001# ============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",
24 "password":"zb!XztG34"
25 },
26 "receptionHandlerParameters":{
27 "SDCReceptionHandler":{
28 "receptionHandlerType":"SDC",
29 "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandler",
30 "receptionHandlerConfigurationName":"sdcConfiguration",
31 "pluginHandlerParameters":{
32 "policyDecoders":{
33 "CsarDecoder":{
34 "decoderType":"CsarDecoder",
35 "decoderClassName":"org.onap.policy.distribution.reception.decoding.pdpx.PolicyDecoderCsarPdpx",
36 "decoderConfigurationName": "csarToOptimizationPolicyConfiguration"
37 },
38 "ApexDecoder":{
39 "decoderType":"ApexDecoder",
40 "decoderClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicy",
41 "decoderConfigurationName": "apexDecoderConfiguration"
42 }
43 },
44 "policyForwarders":{
45 "PAPEngineForwarder":{
46 "forwarderType":"PAPEngine",
47 "forwarderClassName":"org.onap.policy.distribution.forwarding.xacml.pdp.XacmlPdpPolicyForwarder",
48 "forwarderConfigurationName": "xacmlPdpConfiguration"
49 },
50 "ApexForwarder":{
51 "forwarderType":"ApexForwarder",
52 "forwarderClassName":"org.onap.policy.distribution.forwarding.apex.pdp.ApexPdpPolicyForwarder",
53 "forwarderConfigurationName": "apexForwarderConfiguration"
54 }
55 }
56 }
57 }
58 },
59 "receptionHandlerConfigurationParameters":{
60 "sdcConfiguration":{
61 "parameterClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandlerConfigurationParameterGroup",
62 "parameters":{
63 "asdcAddress": "sdc-be:8443",
64 "messageBusAddress": [
65 "message-router"
66 ],
67 "user": "policy",
68 "password": "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U",
69 "pollingInterval":20,
70 "pollingTimeout":30,
71 "consumerId": "policy-id",
72 "artifactTypes": [
73 "TOSCA_CSAR",
74 "HEAT"
75 ],
76 "consumerGroup": "policy-group",
77 "environmentName": "AUTO",
78 "keystorePath": "null",
79 "keystorePassword": "null",
80 "activeserverTlsAuth": false,
81 "isFilterinEmptyResources": true,
82 "isUseHttpsWithDmaap": false
83 }
84 }
85 },
86 "policyDecoderConfigurationParameters":{
87 "csarToOptimizationPolicyConfiguration":{
88 "parameterClassName":"org.onap.policy.distribution.reception.decoding.pdpx.PolicyDecoderCsarPdpxConfigurationParameterGroup",
89 "parameters":{
90 "policyNamePrefix": "oofCasablanca",
91 "onapName": "OOF",
92 "version": "1.0",
93 "priority": "3",
94 "riskType": "Test",
95 "riskLevel": "2"
96 }
97 },
98 "apexDecoderConfiguration":{
99 "parameterClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicyParameterGroup",
100 "parameters":{
101 "policyFileName": "SamplePolicyModelJAVASCRIPT",
102 "policyType": "APEX"
103 }
104 }
105 },
106 "policyForwarderConfigurationParameters":{
107 "xacmlPdpConfiguration":{
108 "parameterClassName":"org.onap.policy.distribution.forwarding.xacml.pdp.XacmlPdpPolicyForwarderParameterGroup",
109 "parameters":{
110 "useHttps": false,
111 "hostname": "pdp",
112 "port": 8081,
113 "userName": "testpdp",
114 "password": "alpha123",
115 "clientAuth": "cHl0aG9uOnRlc3Q=",
116 "isManaged": true,
117 "pdpGroup": "pdpGroup"
118 }
119 },
120 "apexForwarderConfiguration":{
121 "parameterClassName":"org.onap.policy.distribution.forwarding.apex.pdp.ApexPdpPolicyForwarderParameterGroup",
122 "parameters":{
123 "hostname":"policy-apex-pdp",
124 "port":"12345",
125 "ignoreConflicts": true,
126 "forceUpdate": true
127 }
128 }
129 }
130}