From eb69d6f1d056fc2c4e9338f2460ca9ca7b9504f3 Mon Sep 17 00:00:00 2001 From: JvD_Ericsson Date: Wed, 22 Feb 2023 15:16:40 +0000 Subject: Fix compilation error when building isPropertyNotMappedAsInput function renamed to isValueAToscaFunction Issue-ID: SDC-4413 Signed-off-by: JvD_Ericsson Change-Id: I63cd5c17c8e39ed5634eb0a206128dfc86d6b5e6 --- .../sdc/be/datamodel/utils/PropertyValueConstraintValidationUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catalog-be/src') 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)) { -- cgit 1.2.3-korg