summaryrefslogtreecommitdiffstats
path: root/catalog-model/src
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2023-05-16 12:40:18 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-05-16 17:48:26 +0000
commita1d3ca38f51fe1fe6d5101f6a50fa057c7fbfb69 (patch)
treea7db94c6e3eb34702ac21eaa832e6c4e47fb3b06 /catalog-model/src
parente93787b414c6af91cf4c509edef2aec3d2187de2 (diff)
Fix interface operation input complex values
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4502 Change-Id: I09323c1c122fe726e287f31786f0285dd3913217
Diffstat (limited to 'catalog-model/src')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/converters/ToscaMapValueConverter.java4
1 files changed, 3 insertions, 1 deletions
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) {