summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main
diff options
context:
space:
mode:
authorElena Kuleshov <evn@att.com>2019-05-22 21:11:42 -0400
committerElena Kuleshov <evn@att.com>2019-05-22 22:06:07 -0400
commitb87ccbbf96a0eac4261f5a2d51c03e18b4243ddb (patch)
treea1690db3b5e0394f8aae3f018c59c8022e1a3e0d /bpmn/MSOCommonBPMN/src/main
parent16c6cc1e5cdaad24b92114ebf6c5396453194778 (diff)
Handle case of null requestInfo
Handle case of null requestInfo Issue-ID: SO-1918 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: Ie8a0dd9e27734d96442eceaa378e5d1e64667b06
Diffstat (limited to 'bpmn/MSOCommonBPMN/src/main')
-rw-r--r--bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetupMapperLayer.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetupMapperLayer.java b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetupMapperLayer.java
index b90ae19ca6..6f3710835c 100644
--- a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetupMapperLayer.java
+++ b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetupMapperLayer.java
@@ -335,7 +335,9 @@ public class BBInputSetupMapperLayer {
public RequestContext mapRequestContext(RequestDetails requestDetails) {
RequestContext context = new RequestContext();
- modelMapper.map(requestDetails.getRequestInfo(), context);
+ if (null != requestDetails.getRequestInfo()) {
+ modelMapper.map(requestDetails.getRequestInfo(), context);
+ }
org.onap.so.serviceinstancebeans.RequestParameters requestParameters = requestDetails.getRequestParameters();
if (null != requestParameters) {
context.setSubscriptionServiceType(requestParameters.getSubscriptionServiceType());