From 195f6ae99a83978ce01abf69455fd3e815391602 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Sat, 8 Dec 2018 11:31:30 +0000 Subject: Remove unused parameter from test data The "restRequestTimeout" parameter is not used in the current version of Apex, it was replaced by the "requestorTimeout" paramter. However, the parameter remained in the JSON data files. Also updated to improve output of messages during unit test. This review also sets the Jersey injection dependendy scope to "test" Issue-ID: POLICY-1074 Change-Id: I75f495f571c8101310bd1eaec01a305318346cd9 Signed-off-by: liamfallon --- .../org/onap/policy/apex/service/engine/main/ApexEventMarshaller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/services-engine') diff --git a/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/main/ApexEventMarshaller.java b/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/main/ApexEventMarshaller.java index 1e92b9feb..cb4086d35 100644 --- a/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/main/ApexEventMarshaller.java +++ b/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/main/ApexEventMarshaller.java @@ -164,7 +164,7 @@ public class ApexEventMarshaller implements ApexEventListener, Runnable { } catch (final InterruptedException e) { // restore the interrupt status Thread.currentThread().interrupt(); - LOGGER.warn("Failed to queue the event: " + apexEvent, e); + LOGGER.warn("Queueing of the event was interrupted: " + apexEvent, e); } } -- cgit 1.2.3-korg