Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / policy / components / policy-xacml-pdp / resources / config / config.json
1 {{/*
2 #  ============LICENSE_START=======================================================
3 #   Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved.
4 #  ================================================================================
5 #  Licensed under the Apache License, Version 2.0 (the "License");
6 #  you may not use this file except in compliance with the License.
7 #  You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 #  Unless required by applicable law or agreed to in writing, software
12 #  distributed under the License is distributed on an "AS IS" BASIS,
13 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 #  See the License for the specific language governing permissions and
15 #  limitations under the License.
16 #
17 #  SPDX-License-Identifier: Apache-2.0
18 #  ============LICENSE_END=========================================================
19 */}}
20 {
21     "name": "XacmlPdpParameters",
22     "pdpGroup": "defaultGroup",
23     "pdpType": "xacml",
24     "restServerParameters": {
25         "host": "0.0.0.0",
26         "port": 6969,
27         "userName": "${RESTSERVER_USER}",
28         "password": "${RESTSERVER_PASSWORD}",
29         "https": {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }},
30         "aaf": false,
31         "prometheus": true
32     },
33     "policyApiParameters": {
34         "hostname": "policy-api",
35         "port": 6969,
36         "userName": "${API_USER}",
37         "password": "${API_PASSWORD}",
38         "useHttps": {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }},
39         "aaf": false
40     },
41     "applicationParameters": {
42         "applicationPath": "/opt/app/policy/pdpx/apps"
43     },
44     "topicParameterGroup": {
45         "topicSources" : [{
46             "topic" : "POLICY-PDP-PAP",
47             "servers" : [ "message-router" ],
48             "useHttps" : {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }},
49             "fetchTimeout" : 15000,
50             "topicCommInfrastructure" : "dmaap"
51         }],
52         "topicSinks" : [{
53             "topic" : "POLICY-PDP-PAP",
54             "servers" : [ "message-router" ],
55             "useHttps" : {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }},
56             "topicCommInfrastructure" : "dmaap"
57         }]
58     }
59 }