blob: 5e1c80f80ae44a61fd1d58c6e3f6620b86769f5a [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",
liboNet25006c72018-12-21 06:22:01 +080024 "password":"zb!XztG34",
25 "https":true
mmis9cb50292018-09-19 00:31:35 +010026 },
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"
ramverma7ad80892019-08-30 14:55:47 +010055 },
56 "LifeCycleApiForwarder":{
57 "forwarderType":"LifeCycleAPI",
58 "forwarderClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiPolicyForwarder",
59 "forwarderConfigurationName": "lifecycleApiConfiguration"
mmis9cb50292018-09-19 00:31:35 +010060 }
61 }
62 }
63 }
64 },
65 "receptionHandlerConfigurationParameters":{
66 "sdcConfiguration":{
67 "parameterClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandlerConfigurationParameterGroup",
68 "parameters":{
69 "asdcAddress": "sdc-be:8443",
70 "messageBusAddress": [
71 "message-router"
72 ],
73 "user": "policy",
74 "password": "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U",
75 "pollingInterval":20,
76 "pollingTimeout":30,
77 "consumerId": "policy-id",
78 "artifactTypes": [
79 "TOSCA_CSAR",
80 "HEAT"
81 ],
82 "consumerGroup": "policy-group",
83 "environmentName": "AUTO",
84 "keystorePath": "null",
85 "keystorePassword": "null",
86 "activeserverTlsAuth": false,
87 "isFilterinEmptyResources": true,
88 "isUseHttpsWithDmaap": false
89 }
90 }
91 },
92 "policyDecoderConfigurationParameters":{
93 "csarToOptimizationPolicyConfiguration":{
94 "parameterClassName":"org.onap.policy.distribution.reception.decoding.pdpx.PolicyDecoderCsarPdpxConfigurationParameterGroup",
95 "parameters":{
96 "policyNamePrefix": "oofCasablanca",
97 "onapName": "OOF",
98 "version": "1.0",
99 "priority": "3",
100 "riskType": "Test",
101 "riskLevel": "2"
102 }
103 },
104 "apexDecoderConfiguration":{
105 "parameterClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicyParameterGroup",
106 "parameters":{
ramverma7ad80892019-08-30 14:55:47 +0100107 "policyFileName": "apex_policy",
108 "policyTypeFileName": "apex_policy_type"
mmis9cb50292018-09-19 00:31:35 +0100109 }
110 }
111 },
112 "policyForwarderConfigurationParameters":{
113 "xacmlPdpConfiguration":{
114 "parameterClassName":"org.onap.policy.distribution.forwarding.xacml.pdp.XacmlPdpPolicyForwarderParameterGroup",
115 "parameters":{
liboNet25006c72018-12-21 06:22:01 +0800116 "useHttps": true,
mmis9cb50292018-09-19 00:31:35 +0100117 "hostname": "pdp",
118 "port": 8081,
119 "userName": "testpdp",
120 "password": "alpha123",
121 "clientAuth": "cHl0aG9uOnRlc3Q=",
122 "isManaged": true,
liboNet25006c72018-12-21 06:22:01 +0800123 "pdpGroup": "default"
mmis9cb50292018-09-19 00:31:35 +0100124 }
125 },
126 "apexForwarderConfiguration":{
127 "parameterClassName":"org.onap.policy.distribution.forwarding.apex.pdp.ApexPdpPolicyForwarderParameterGroup",
128 "parameters":{
129 "hostname":"policy-apex-pdp",
130 "port":"12345",
131 "ignoreConflicts": true,
132 "forceUpdate": true
133 }
ramverma7ad80892019-08-30 14:55:47 +0100134 },
135 "lifecycleApiConfiguration":{
136 "parameterClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiForwarderParameters",
137 "parameters":{
138 "apiParameters": {
139 "hostName": "policy-api",
140 "port": 6969,
141 "userName": "healthcheck",
142 "password": "zb!XztG34"
143 },
144 "papParameters": {
145 "hostName": "policy-pap",
146 "port": 6969,
147 "userName": "healthcheck",
148 "password": "zb!XztG34"
149 },
150 "isHttps": true,
151 "deployPolicies": true
152 }
mmis9cb50292018-09-19 00:31:35 +0100153 }
154 }
155}