Issue-ID: SDC-4343
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: If4f192adcac87a461bc47c2accff53d8ce9a9f36
errorMessages.add(ie.getMessage());
}
}
- } else if (isPropertyNotMappedAsInput(propertyDefinition) && ToscaType.isPrimitiveType(propertyDefinition.getType()) && !toscaType
- .isValidValue(propertyDefinition.getValue())) {
+ } else if (isPropertyNotMappedAsInput(propertyDefinition) && ToscaType.isPrimitiveType(propertyDefinition.getType())
+ && !propertyDefinition.isToscaFunction() && !toscaType.isValidValue(propertyDefinition.getValue())) {
errorMessages.add(String.format("Unsupported value provided for %s property supported value type is %s.",
getCompletePropertyName(propertyDefinition), toscaType.getType()));
}