Merge "Update release notes for Jakarta"
[policy/parent.git] / docs / development / devtools / json / pd_config.json
1 {{/*
2 #  ============LICENSE_START=======================================================
3 #   Copyright (C) 2018 Ericsson. All rights reserved.
4 #   Modifications Copyright (C) 2020 AT&T Intellectual Property.
5 #   Modifications Copyright (C) 2021 Bell Canada. All rights reserved.
6 #  ================================================================================
7 #  Licensed under the Apache License, Version 2.0 (the "License");
8 #  you may not use this file except in compliance with the License.
9 #  You may obtain a copy of the License at
10 #
11 #       http://www.apache.org/licenses/LICENSE-2.0
12 #
13 #  Unless required by applicable law or agreed to in writing, software
14 #  distributed under the License is distributed on an "AS IS" BASIS,
15 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 #  See the License for the specific language governing permissions and
17 #  limitations under the License.
18 #
19 #  SPDX-License-Identifier: Apache-2.0
20 #  ============LICENSE_END=========================================================
21 */}}
22 {
23     "name":"SDCDistributionGroup",
24     "restServerParameters":{
25         "host":"0.0.0.0",
26         "port":6969,
27         "userName":"${RESTSERVER_USER}",
28         "password":"${RESTSERVER_PASSWORD}",
29         "https":true,
30         "prometheus": true
31     },
32     "receptionHandlerParameters":{
33         "SDCReceptionHandler":{
34             "receptionHandlerType":"SDC",
35             "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandler",
36             "receptionHandlerConfigurationName":"sdcConfiguration",
37             "pluginHandlerParameters":{
38                 "policyDecoders":{
39                     "ToscaPolicyDecoder":{
40                         "decoderType":"ToscaPolicyDecoder",
41                         "decoderClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicy",
42                         "decoderConfigurationName": "toscaPolicyDecoderConfiguration"
43                     },
44                     "ToscaAutomationCompositionDecoder": {
45                         "decoderType": "ToscaAutomationCompositionDecoder",
46                         "decoderClassName": "org.onap.policy.distribution.reception.decoding.policy.file.AutomationCompositionDecoderFileInCsar",
47                         "decoderConfigurationName": "toscaAutomationCompositionDecoderConfiguration"
48                     }
49                 },
50                 "policyForwarders":{
51                     "LifeCycleApiForwarder":{
52                         "forwarderType":"LifeCycleAPI",
53                         "forwarderClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiPolicyForwarder",
54                         "forwarderConfigurationName": "lifecycleApiConfiguration"
55                     },
56                     "LifeCycleApiAutomationCompositionForwarder": {
57                         "forwarderType": "LifeCycleAutomationCompositionAPI",
58                         "forwarderClassName": "org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiAutomationCompositionForwarder",
59                         "forwarderConfigurationName": "lifecycleApiAutomationCompositionConfiguration"
60                     }
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.{{ include "common.namespace" . }}"
72                  ],
73                 "user": "${SDCBE_USER}",
74                 "password": "${SDCBE_PASSWORD}",
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": true
89             }
90         }
91     },
92     "policyDecoderConfigurationParameters":{
93         "toscaPolicyDecoderConfiguration":{
94             "parameterClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicyParameterGroup",
95             "parameters":{
96                 "policyFileName": "tosca_policy",
97                 "policyTypeFileName": "tosca_policy_type"
98             }
99         },
100         "toscaAutomationCompositionDecoderConfiguration": {
101             "parameterClassName": "org.onap.policy.distribution.reception.decoding.policy.file.AutomationCompositionDecoderFileInCsarParameterGroup",
102             "parameters": {
103                 "automationCompositionType": "acm"
104             }
105         }
106     },
107     "policyForwarderConfigurationParameters":{
108         "lifecycleApiConfiguration":{
109             "parameterClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiForwarderParameters",
110             "parameters":{
111                 "apiParameters": {
112                     "clientName": "policy-api",
113                     "hostname": "policy-api",
114                     "port": 6969,
115                     "userName": "${API_USER}",
116                     "password": "${API_PASSWORD}",
117                     "useHttps": true
118                 },
119                 "papParameters": {
120                     "clientName": "policy-pap",
121                     "hostname": "policy-pap",
122                     "port": 6969,
123                     "userName": "${PAP_USER}",
124                     "password": "${PAP_PASSWORD}",
125                     "useHttps": true
126                 },
127                 "deployPolicies": true
128              }
129         },
130         ,
131         "lifecycleApiAutomationCompositionConfiguration": {
132             "parameterClassName": "org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiAutomationCompositionForwarderParameters",
133             "parameters": {
134                 "automationCompositionRuntimeParameters": {
135                     "clientName": "policy-clamp-runtime-acm",
136                     "hostname": "policy-clamp-runtime-acm",
137                     "port": 6969,
138                     "useHttps": true,
139                     "userName": "runtimeUser",
140                     "password": "zb!XztG34"
141                 }
142             }
143         }
144     }
145 }