summaryrefslogtreecommitdiffstats
path: root/integration-test/src/test/resources
diff options
context:
space:
mode:
authorToineSiebelink <toine.siebelink@est.tech>2024-09-19 17:23:58 +0100
committerToine Siebelink <toine.siebelink@est.tech>2024-09-25 08:18:46 +0000
commit2bcccff7e2891f708cedc08cdbf969025d63019e (patch)
treec0300990499012dd7b87d62d3f5c4cc78d068e41 /integration-test/src/test/resources
parent39e4eef51e44b73569fe82e214afab04edc5bba0 (diff)
Policy Executor: handle errors
- configurable default answer - apply default answer upon non 2xx response - delayed default webclient read timeout - add custom timeout method with original read timeout in seconds - apply default answer upon timeout - add integration test with short timeout error scenario Issue-ID: CPS-2412 Change-Id: I62527a27e426c2f01fda2182ebd2513242c29ac1 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Diffstat (limited to 'integration-test/src/test/resources')
-rw-r--r--integration-test/src/test/resources/application.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/integration-test/src/test/resources/application.yml b/integration-test/src/test/resources/application.yml
index 760dad01af..793acc6395 100644
--- a/integration-test/src/test/resources/application.yml
+++ b/integration-test/src/test/resources/application.yml
@@ -215,6 +215,7 @@ ncmp:
policy-executor:
enabled: true
+ defaultDecision: "test default decision"
server:
address: http://localhost
port: 8790
@@ -224,7 +225,7 @@ ncmp:
maximumConnectionsTotal: 10
pendingAcquireMaxCount: 10
connectionTimeoutInSeconds: 30
- readTimeoutInSeconds: 30
+ readTimeoutInSeconds: 1
writeTimeoutInSeconds: 30
hazelcast: