diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2018-09-20 06:21:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-20 06:21:27 +0000 |
commit | 5efb36c927b40dfd5359288e90ad90b1ed1d2c09 (patch) | |
tree | 6a5c4ded468196d8450be72ab6879429dd7ecbd9 /bpmn/so-bpmn-infrastructure-common/src | |
parent | 049e0e2304a7de75fc0d35aac7319e89715972a9 (diff) | |
parent | 1a4bef6eae5b1d60517d74a13d42b0031ab9fc4e (diff) |
Merge "Added fix for potential nullpointerexception"
Diffstat (limited to 'bpmn/so-bpmn-infrastructure-common/src')
-rw-r--r-- | bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/workflow/service/ServicePluginFactory.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/workflow/service/ServicePluginFactory.java b/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/workflow/service/ServicePluginFactory.java index 63463096d7..39df3d62ae 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/workflow/service/ServicePluginFactory.java +++ b/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/workflow/service/ServicePluginFactory.java @@ -384,8 +384,11 @@ public class ServicePluginFactory { Map<String, Object> vpnRequestInputs = getVPNResourceRequestInputs(resources); // here we put client signal to vpn resource inputs - vpnRequestInputs.put("src-client-signal", srcClientSignal); - vpnRequestInputs.put("dst-client-signal", dstClientSignal); + if(null!=vpnRequestInputs) { + vpnRequestInputs.put("src-client-signal", srcClientSignal); + vpnRequestInputs.put("dst-client-signal", dstClientSignal); + } + // Now we need to query terminal points from SP resourcemgr system. List<Object> locationTerminalPointList = queryTerminalPointsFromServiceProviderSystem(srcLocation, dstLocation); |