Merge "[AAI] Add model-loader tracing config"
[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": "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": "false",
39         "aaf": false
40     },
41     "applicationParameters": {
42         "applicationPath": "/opt/app/policy/pdpx/apps"
43     },
44     "topicParameterGroup": {
45         "topicSources": [{
46           "topic": "${PAP_TOPIC}",
47           "useHttps": false,
48           "fetchTimeout": 15000,
49           "servers": [ "${KAFKA_URL}" ],
50           "topicCommInfrastructure": "kafka",
51           "additionalProps": {
52             "group.id": "${GROUP_ID}",
53             "security.protocol": "SASL_PLAINTEXT",
54             "sasl.mechanism": "${SASL}",
55             "sasl.jaas.config": "${JAASLOGIN}"
56           }
57         }],
58         "topicSinks" : [{
59           "topic": "${PAP_TOPIC}",
60           "useHttps": false,
61           "servers": [ "${KAFKA_URL}" ],
62           "topicCommInfrastructure": "kafka",
63           "additionalProps": {
64             "group.id": "${GROUP_ID}",
65             "security.protocol": "SASL_PLAINTEXT",
66             "sasl.mechanism": "${SASL}",
67             "sasl.jaas.config": "${JAASLOGIN}"
68           }
69       }]
70     }
71 }