Merge "[CONSUL] Add limits to consul chart."
[oom.git] / kubernetes / policy / components / policy-distribution / resources / config / config.json
1 {{/*
2 #  ============LICENSE_START=======================================================
3 #   Copyright (C) 2018 Ericsson. All rights reserved.
4 #   Modifications Copyright (C) 2020 AT&T Intellectual Property.
5 #  ================================================================================
6 #  Licensed under the Apache License, Version 2.0 (the "License");
7 #  you may not use this file except in compliance with the License.
8 #  You may obtain a copy of the License at
9 #
10 #       http://www.apache.org/licenses/LICENSE-2.0
11 #
12 #  Unless required by applicable law or agreed to in writing, software
13 #  distributed under the License is distributed on an "AS IS" BASIS,
14 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 #  See the License for the specific language governing permissions and
16 #  limitations under the License.
17 #
18 #  SPDX-License-Identifier: Apache-2.0
19 #  ============LICENSE_END=========================================================
20 */}}
21 {
22     "name":"SDCDistributionGroup",
23     "restServerParameters":{
24         "host":"0.0.0.0",
25         "port":6969,
26         "userName":"${RESTSERVER_USER}",
27         "password":"${RESTSERVER_PASSWORD}",
28         "https":true
29     },
30     "receptionHandlerParameters":{
31         "SDCReceptionHandler":{
32             "receptionHandlerType":"SDC",
33             "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandler",
34             "receptionHandlerConfigurationName":"sdcConfiguration",
35             "pluginHandlerParameters":{
36                 "policyDecoders":{
37                     "ToscaPolicyDecoder":{
38                         "decoderType":"ToscaPolicyDecoder",
39                         "decoderClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicy",
40                         "decoderConfigurationName": "toscaPolicyDecoderConfiguration"
41                     }
42                 },
43                 "policyForwarders":{
44                     "LifeCycleApiForwarder":{
45                         "forwarderType":"LifeCycleAPI",
46                         "forwarderClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiPolicyForwarder",
47                         "forwarderConfigurationName": "lifecycleApiConfiguration"
48                     }
49                 }
50             }
51         }
52     },
53     "receptionHandlerConfigurationParameters":{
54         "sdcConfiguration":{
55             "parameterClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandlerConfigurationParameterGroup",
56             "parameters":{
57                 "asdcAddress": "sdc-be:8443",
58                 "messageBusAddress": [
59                     "message-router.{{ include "common.namespace" . }}"
60                  ],
61                 "user": "${SDCBE_USER}",
62                 "password": "${SDCBE_PASSWORD}",
63                 "pollingInterval":20,
64                 "pollingTimeout":30,
65                 "consumerId": "policy-id",
66                 "artifactTypes": [
67                     "TOSCA_CSAR",
68                     "HEAT"
69                 ],
70                 "consumerGroup": "policy-group",
71                 "environmentName": "AUTO",
72                 "keystorePath": "null",
73                 "keystorePassword": "null",
74                 "activeserverTlsAuth": false,
75                 "isFilterinEmptyResources": true,
76                 "isUseHttpsWithDmaap": true
77             }
78         }
79     },
80     "policyDecoderConfigurationParameters":{
81         "toscaPolicyDecoderConfiguration":{
82             "parameterClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicyParameterGroup",
83             "parameters":{
84                 "policyFileName": "tosca_policy",
85                 "policyTypeFileName": "tosca_policy_type"
86             }
87         }
88     },
89     "policyForwarderConfigurationParameters":{
90         "lifecycleApiConfiguration":{
91             "parameterClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiForwarderParameters",
92             "parameters":{
93                 "apiParameters": {
94                 "hostName": "policy-api",
95                 "port": 6969,
96                   "userName": "${API_USER}",
97                   "password": "${API_PASSWORD}"
98                  },
99                 "papParameters": {
100                   "hostName": "policy-pap",
101                   "port": 6969,
102                  "userName": "${PAP_USER}",
103                 "password": "${PAP_PASSWORD}"
104                 },
105                 "isHttps": true,
106                 "deployPolicies": true
107              }
108         }
109     }
110 }