From 1cf6f020bcf890d4cdfb7b6bf94410462cbe2d9f Mon Sep 17 00:00:00 2001 From: Lukasz Muszkieta Date: Mon, 4 Mar 2019 15:22:54 +0100 Subject: Add junit tests for CallbackHandlerService Change-Id: I2f136c2241bdcbfa41a609023c7b3c8eb72eb106 Issue-ID: SO-1576 Signed-off-by: Lukasz Muszkieta --- .../bpmn/common/workflow/service/CallbackHandlerService.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'bpmn/mso-infrastructure-bpmn/src/main/java/org/onap') diff --git a/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/common/workflow/service/CallbackHandlerService.java b/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/common/workflow/service/CallbackHandlerService.java index 920cb11e4c..f4617f9978 100644 --- a/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/common/workflow/service/CallbackHandlerService.java +++ b/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/common/workflow/service/CallbackHandlerService.java @@ -50,12 +50,16 @@ public class CallbackHandlerService { public static final long FAST_POLL_DUR_SECONDS = 5; public static final long FAST_POLL_INT_MS = 100; public static final long SLOW_POLL_INT_MS = 1000; - + private static final Logger logger = LoggerFactory.getLogger(CallbackHandlerService.class); + private RuntimeService runtimeService; + @Autowired - RuntimeService runtimeService; - + public CallbackHandlerService(RuntimeService runtimeService) { + this.runtimeService = runtimeService; + } + /** * Parameterized callback handler. */ -- cgit 1.2.3-korg