aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-model')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/converters/ToscaMapValueConverter.java2
1 files changed, 1 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 9ee287b333..2cc868b17c 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
@@ -193,7 +193,7 @@ public class ToscaMapValueConverter extends ToscaValueBaseConverter implements T
if (propertyDefinition == null) {
log.trace("The property {} was not found under data type . Parse as map", propName);
if (elementValue.isJsonPrimitive()) {
- convValue = elementValue.getAsString();
+ convValue = elementValue.getAsJsonPrimitive();
} else {
convValue = handleComplexJsonValue(elementValue);
}