diff options
author | Prema Bhatt <pb6115@att.com> | 2018-11-02 13:55:10 -0700 |
---|---|---|
committer | Prema Bhatt <pb6115@att.com> | 2018-11-02 13:56:30 -0700 |
commit | 402bf528e9a796f6ce31ad36c16316c2b31acc48 (patch) | |
tree | edca33246de355239ff4c5429b61b0b5567f9ec0 | |
parent | 3178cad6c756140b18eb658277598e3e2d2d3dcf (diff) |
Added Null check for gtConfigurationParameter
Change-Id: Icd21f579eebfe40b70344456420701fbc2408722
Issue-ID: SO-1179
Signed-off-by: Prema Bhatt <pb6115@att.com>
-rw-r--r-- | bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetupMapperLayer.java | 4 |
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 9f284fc1fc..1e77c35ee3 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 @@ -337,7 +337,9 @@ public class BBInputSetupMapperLayer { context.setRequestParameters(this.mapRequestParameters(requestDetails.getRequestParameters())); context.setUserParams(this.mapNameValueUserParams(requestDetails.getRequestParameters())); } - context.setConfigurationParameters(requestDetails.getConfigurationParameters()); + if (requestDetails.getConfigurationParameters() != null) { + context.setConfigurationParameters(requestDetails.getConfigurationParameters()); + } return context; } |