summaryrefslogtreecommitdiffstats
path: root/packages/policy-pap-tarball/src
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-07-07 12:50:56 -0400
committerJim Hahn <jrh3@att.com>2020-07-07 12:53:46 -0400
commit32188d0ca6346db1e3fc59efc52288d9d9cf2942 (patch)
tree1f06687facd4a577883aa8862d67d348bcc16dec /packages/policy-pap-tarball/src
parentd29a57a558336feb74d4c46b706686bb3253c60c (diff)
Add fetch timeout to PAP properties
When an error occurs fetching from DMaaP, PAP 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: Ifeb9ca9dc51a5d2080c84ae877781b02c3041001 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'packages/policy-pap-tarball/src')
-rw-r--r--packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json b/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json
index 173b2017..e1e06722 100644
--- a/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json
+++ b/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json
@@ -32,7 +32,8 @@
"topicSources" : [{
"topic" : "POLICY-PDP-PAP",
"servers" : [ "message-router" ],
- "topicCommInfrastructure" : "dmaap"
+ "topicCommInfrastructure" : "dmaap",
+ "fetchTimeout": 15000
}],
"topicSinks" : [{
"topic" : "POLICY-PDP-PAP",