aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-xacmlpdp-tarball/src/main
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-07-07 12:54:09 -0400
committerJim Hahn <jrh3@att.com>2020-07-07 12:54:45 -0400
commitec220024096ad8b17f502653087e6d18c420761b (patch)
tree3561cc104627c2c425521a6295c847b3f2d89777 /packages/policy-xacmlpdp-tarball/src/main
parent8529ee83afe9d356b4d0b8d08304fe3d2f9caf2b (diff)
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 <jrh3@att.com>
Diffstat (limited to 'packages/policy-xacmlpdp-tarball/src/main')
-rw-r--r--packages/policy-xacmlpdp-tarball/src/main/resources/etc/defaultConfig.json3
1 files changed, 2 insertions, 1 deletions
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",