From ec220024096ad8b17f502653087e6d18c420761b Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Tue, 7 Jul 2020 12:54:09 -0400 Subject: Add fetch timeout to xacml-pdp properties 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 --- .../policy-xacmlpdp-tarball/src/main/resources/etc/defaultConfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/policy-xacmlpdp-tarball') diff --git a/packages/policy-xacmlpdp-tarball/src/main/resources/etc/defaultConfig.json b/packages/policy-xacmlpdp-tarball/src/main/resources/etc/defaultConfig.json index 08b0edc1..84a3c8d4 100644 --- a/packages/policy-xacmlpdp-tarball/src/main/resources/etc/defaultConfig.json +++ b/packages/policy-xacmlpdp-tarball/src/main/resources/etc/defaultConfig.json @@ -22,7 +22,8 @@ "topicSources" : [{ "topic" : "POLICY-PDP-PAP", "servers" : [ "message-router" ], - "topicCommInfrastructure" : "dmaap" + "topicCommInfrastructure" : "dmaap", + "fetchTimeout": 15000 }], "topicSinks" : [{ "topic" : "POLICY-PDP-PAP", -- cgit 1.2.3-korg