Add fetch timeout to PAP properties 20/109920/1
authorJim Hahn <jrh3@att.com>
Tue, 7 Jul 2020 16:50:56 +0000 (12:50 -0400)
committerJim Hahn <jrh3@att.com>
Tue, 7 Jul 2020 16:53:46 +0000 (12:53 -0400)
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>
packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json
testsuites/stability/src/main/resources/papsetup/config/pap/etc/defaultConfig.json

index 173b201..e1e0672 100644 (file)
@@ -32,7 +32,8 @@
         "topicSources" : [{
             "topic" : "POLICY-PDP-PAP",
             "servers" : [ "message-router" ],
-            "topicCommInfrastructure" : "dmaap"
+            "topicCommInfrastructure" : "dmaap",
+            "fetchTimeout": 15000
         }],
         "topicSinks" : [{
             "topic" : "POLICY-PDP-PAP",
index e603c0b..aca21fe 100644 (file)
@@ -32,7 +32,8 @@
         "topicSources" : [{
             "topic" : "POLICY-PDP-PAP",
             "servers" : [ "10.2.0.41:3904" ],
-            "topicCommInfrastructure" : "dmaap"
+            "topicCommInfrastructure" : "dmaap",
+            "fetchTimeout": 15000
         }],
         "topicSinks" : [{
             "topic" : "POLICY-PDP-PAP",