diff options
author | Lukasz Muszkieta <lukasz.muszkieta@nokia.com> | 2019-03-04 15:22:54 +0100 |
---|---|---|
committer | Marcus Williams <marcus.williams@intel.com> | 2019-03-06 15:59:14 +0000 |
commit | 1cf6f020bcf890d4cdfb7b6bf94410462cbe2d9f (patch) | |
tree | daa2d9a53993628374d339c34e7fd4018e00618c /bpmn/mso-infrastructure-bpmn/src/main/java/org/onap | |
parent | 91426ec9f221e288ea3f54fa62030e6f17420b90 (diff) |
Add junit tests for CallbackHandlerService
Change-Id: I2f136c2241bdcbfa41a609023c7b3c8eb72eb106
Issue-ID: SO-1576
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
Diffstat (limited to 'bpmn/mso-infrastructure-bpmn/src/main/java/org/onap')
-rw-r--r-- | bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/common/workflow/service/CallbackHandlerService.java | 10 |
1 files changed, 7 insertions, 3 deletions
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. */ |