Allow xacml-pdp to use kafka
[policy/xacml-pdp.git] / packages / policy-xacmlpdp-tarball / src / main / resources / etc / defaultConfig.json
index c7b7fe2..db6d57c 100644 (file)
@@ -1,32 +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
     },
     "policyApiParameters": {
-        "host": "pap",
+        "hostname": "policy-api",
         "port": 6969,
         "userName": "healthcheck",
         "password": "zb!XztG34",
-        "https": true,
-        "aaf": false
+        "useHttps": true
+    },
+    "applicationParameters": {
+        "applicationPath": "/opt/app/policy/pdpx/apps"
     },
-    "applicationPath": "/opt/app/policy/pdpx/apps",
     "topicParameterGroup": {
         "topicSources" : [{
             "topic" : "POLICY-PDP-PAP",
             "servers" : [ "message-router" ],
-            "topicCommInfrastructure" : "dmaap"
+            "topicCommInfrastructure" : "kafka",
+            "fetchTimeout": 15000
         }],
         "topicSinks" : [{
             "topic" : "POLICY-PDP-PAP",
             "servers" : [ "message-router" ],
-            "topicCommInfrastructure" : "dmaap"
+            "topicCommInfrastructure" : "kafka"
         }]
     }
 }