From 77e469b27708d2fabe6281082716a8c086f8107d Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Tue, 1 Oct 2024 18:40:39 +0100 Subject: Policy Executor: handle errors, part 2 (fighting between IntelliJ and Checkstyle best practices) - non-2xx responses are processed using web client exceptions - handle unknown host exception - upgraded spotbugs (checkstyle and related mvn plugin) - fixed some small spotbugs due to upgrade - added commented instructions in docker compose to enable debugging - added some environment variables for policy executor configuration - extract out Sleeper in stub service to achieve 100% coverage - added cause to Policy Executor exceptions where applicable - ignored (new) spotbug rule about catch NPE because of issue in 3pp - ignored (new) spotbug rule about \n in string due to multiline string block Issue-ID: CPS-2412 Change-Id: I6835a73320c436cbeea12cc7a06f15899eec7bf1 Signed-off-by: ToineSiebelink --- cps-service/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cps-service/pom.xml') diff --git a/cps-service/pom.xml b/cps-service/pom.xml index 2a9c75f4a6..8c350c1846 100644 --- a/cps-service/pom.xml +++ b/cps-service/pom.xml @@ -64,6 +64,11 @@ com.github.ben-manes.caffeine caffeine + + + com.github.spotbugs + spotbugs-annotations + com.google.code.gson @@ -139,6 +144,7 @@ org.slf4j slf4j-api + org.codehaus.groovy -- cgit 1.2.3-korg