From: JvD_Ericsson Date: Wed, 22 Feb 2023 15:16:40 +0000 (+0000) Subject: Fix compilation error when building X-Git-Tag: 1.12.2~5 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=sdc.git;a=commitdiff_plain;h=eb69d6f1d056fc2c4e9338f2460ca9ca7b9504f3 Fix compilation error when building isPropertyNotMappedAsInput function renamed to isValueAToscaFunction Issue-ID: SDC-4413 Signed-off-by: JvD_Ericsson Change-Id: I63cd5c17c8e39ed5634eb0a206128dfc86d6b5e6 --- diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/utils/PropertyValueConstraintValidationUtil.java b/catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/utils/PropertyValueConstraintValidationUtil.java index 5e127f4695..4893c02361 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/utils/PropertyValueConstraintValidationUtil.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/utils/PropertyValueConstraintValidationUtil.java @@ -374,7 +374,7 @@ public class PropertyValueConstraintValidationUtil { final PropertyDefinition propertyCopyWithNewValue = copyPropertyWithNewValue(propertyDefinition, objectMapper.writeValueAsString(value),mapKey); propertyCopyWithNewValue.setToscaSubPath(mapKey); - if (isPropertyNotMappedAsInput(propertyCopyWithNewValue)) { + if (!isValueAToscaFunction(propertyCopyWithNewValue)) { if (ToscaType.isPrimitiveType(schemaType)) { evaluateCollectionPrimitiveSchemaType(propertyCopyWithNewValue, schemaType); } else if (ToscaType.isCollectionType(schemaType)) {