diff options
author | ToineSiebelink <toine.siebelink@est.tech> | 2024-09-19 17:23:58 +0100 |
---|---|---|
committer | Toine Siebelink <toine.siebelink@est.tech> | 2024-09-25 08:18:46 +0000 |
commit | 2bcccff7e2891f708cedc08cdbf969025d63019e (patch) | |
tree | c0300990499012dd7b87d62d3f5c4cc78d068e41 /cps-application | |
parent | 39e4eef51e44b73569fe82e214afab04edc5bba0 (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 'cps-application')
-rw-r--r-- | cps-application/src/main/resources/application.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 25bc63b44e..b97eabacb8 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -190,6 +190,7 @@ logging: ncmp: policy-executor: enabled: ${POLICY_SERVICE_ENABLED:false} + defaultDecision: "allow" server: address: ${POLICY_SERVICE_URL:http://policy-executor-stub} port: ${POLICY_SERVICE_PORT:8093} |