aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java
diff options
context:
space:
mode:
authorpriyanshu <pagarwal@amdocs.com>2018-10-22 18:02:14 +0530
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-10-23 07:44:04 +0000
commit2aaf531724c4c1f1525e96d851697991cad62231 (patch)
treecd9bfa74eaf8856495ce6c8db585d3740d6d4cc1 /catalog-be/src/main/java
parent138be3e494bb0c58f3bd190281159334ea7b89a7 (diff)
Unable to create operation with only outputs
Unable to create operation with only output via No Workflow Option Change-Id: I735b445caa13098ae01441dcedf0a44b162eb7a0 Issue-ID: SDC-1863 Signed-off-by: priyanshu <pagarwal@amdocs.com>
Diffstat (limited to 'catalog-be/src/main/java')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/utils/InterfaceUIDataConverter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/utils/InterfaceUIDataConverter.java b/catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/utils/InterfaceUIDataConverter.java
index 2c058798b7..7fbc56a624 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/utils/InterfaceUIDataConverter.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/utils/InterfaceUIDataConverter.java
@@ -51,7 +51,7 @@ public class InterfaceUIDataConverter {
List<OperationOutputDefinition> outputList = outputParams.getListToscaDataDefinition().stream()
.map(interfaceOperationParamDataDefinition -> new OperationOutputDefinition(
interfaceOperationParamDataDefinition.getName(),
- interfaceOperationParamDataDefinition.getMandatory(),
+ interfaceOperationParamDataDefinition.getMandatory() == null ? false : interfaceOperationParamDataDefinition.getMandatory(),
interfaceOperationParamDataDefinition.getType()
)).collect(Collectors.toList());
outputList.forEach(outputs::add);