Allow xacml-pdp to use kafka
[policy/xacml-pdp.git] / packages / policy-xacmlpdp-tarball / src / main / resources / etc / defaultConfig.json
index cc13e5b..db6d57c 100644 (file)
@@ -1,12 +1,36 @@
 {
-    "name": "XacmlPdpGroup",
+    "name": "XacmlPdpParameters",
+    "pdpGroup": "defaultGroup",
+    "pdpType": "xacml",
     "restServerParameters": {
         "host": "0.0.0.0",
         "port": 6969,
         "userName": "healthcheck",
         "password": "zb!XztG34",
         "https": true,
-        "aaf": false
+        "prometheus": true
     },
-    "applicationPath": "/opt/app/policy/pdpx/apps"
+    "policyApiParameters": {
+        "hostname": "policy-api",
+        "port": 6969,
+        "userName": "healthcheck",
+        "password": "zb!XztG34",
+        "useHttps": true
+    },
+    "applicationParameters": {
+        "applicationPath": "/opt/app/policy/pdpx/apps"
+    },
+    "topicParameterGroup": {
+        "topicSources" : [{
+            "topic" : "POLICY-PDP-PAP",
+            "servers" : [ "message-router" ],
+            "topicCommInfrastructure" : "kafka",
+            "fetchTimeout": 15000
+        }],
+        "topicSinks" : [{
+            "topic" : "POLICY-PDP-PAP",
+            "servers" : [ "message-router" ],
+            "topicCommInfrastructure" : "kafka"
+        }]
+    }
 }