From a1d3ca38f51fe1fe6d5101f6a50fa057c7fbfb69 Mon Sep 17 00:00:00 2001 From: MichaelMorris Date: Tue, 16 May 2023 12:40:18 +0100 Subject: Fix interface operation input complex values Signed-off-by: MichaelMorris Issue-ID: SDC-4502 Change-Id: I09323c1c122fe726e287f31786f0285dd3913217 --- .../sdc/be/model/tosca/converters/ToscaMapValueConverter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'catalog-model/src/main/java/org') diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/converters/ToscaMapValueConverter.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/converters/ToscaMapValueConverter.java index 76d9d2bf47..5edd08237d 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/converters/ToscaMapValueConverter.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/converters/ToscaMapValueConverter.java @@ -97,7 +97,9 @@ public class ToscaMapValueConverter extends ToscaValueBaseConverter implements T final boolean isScalarF = isScalar; final ToscaValueConverter innerConverterFinal = innerConverter; entrySet.forEach(e -> { - convertEntry(innerType, dataTypes, allPropertiesRecursive, toscaMap, isScalarF, innerConverterFinal, e); + if (!e.getValue().isJsonNull()) { + convertEntry(innerType, dataTypes, allPropertiesRecursive, toscaMap, isScalarF, innerConverterFinal, e); + } }); return toscaMap; } catch (JsonParseException e) { -- cgit 1.2.3-korg