Add fetch timeout to xacml-pdp properties 21/109921/1
authorJim Hahn <jrh3@att.com>
Tue, 7 Jul 2020 16:54:09 +0000 (12:54 -0400)
committerJim Hahn <jrh3@att.com>
Tue, 7 Jul 2020 16:54:45 +0000 (12:54 -0400)
When an error occurs fetching from DMaaP, xacml-pdp should not try again
immediately, but should wait a little bit before retrying.  Added the
the fetch timeout property to prevent it from defaulting to -1 when
retrying.

Issue-ID: POLICY-2702
Change-Id: I1b3432854d1e3c68836cf81779e22105a6236fca
Signed-off-by: Jim Hahn <jrh3@att.com>
packages/policy-xacmlpdp-tarball/src/main/resources/etc/defaultConfig.json

index 08b0edc..84a3c8d 100644 (file)
@@ -22,7 +22,8 @@
         "topicSources" : [{
             "topic" : "POLICY-PDP-PAP",
             "servers" : [ "message-router" ],
-            "topicCommInfrastructure" : "dmaap"
+            "topicCommInfrastructure" : "dmaap",
+            "fetchTimeout": 15000
         }],
         "topicSinks" : [{
             "topic" : "POLICY-PDP-PAP",