diff options
author | JvD_Ericsson <jeff.van.dam@est.tech> | 2023-02-22 15:16:40 +0000 |
---|---|---|
committer | Jeff van Dam <jeff.van.dam@est.tech> | 2023-02-22 16:28:31 +0000 |
commit | eb69d6f1d056fc2c4e9338f2460ca9ca7b9504f3 (patch) | |
tree | eb79228a2dd44db777709bd4a4ff6fd595f1743d | |
parent | b275933c9cee0b36fc4038040b8417c80b08e603 (diff) |
Fix compilation error when building
isPropertyNotMappedAsInput function renamed to isValueAToscaFunction
Issue-ID: SDC-4413
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I63cd5c17c8e39ed5634eb0a206128dfc86d6b5e6
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/utils/PropertyValueConstraintValidationUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |