Fix VFC map or list property update 19/129619/2
authorandre.schmid <andre.schmid@est.tech>
Tue, 14 Jun 2022 11:01:07 +0000 (12:01 +0100)
committerMichael Morris <michael.morris@est.tech>
Mon, 20 Jun 2022 15:57:04 +0000 (15:57 +0000)
commite398bb0eac655ea80507825ff039c874dd7dee6d
treefdf99c288406902cbe13adcc354f64dcf8d5c127
parentce3e2816ec3aa034bdef323c1a33b71485e87eb0
Fix VFC map or list property update

Fixes two problems in the update of VFC map or list properties. One was
related to a schema validation in the backend.
The other is related to setting the property value when the default
value was being edited.

Change-Id: Icd85346144c8763ced1b8fbcd750c9baf783f6a6
Issue-ID: SDC-4050
Signed-off-by: andre.schmid <andre.schmid@est.tech>
catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/utils/PropertyValueConstraintValidationUtil.java
catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/utils/PropertyValueConstraintValidationUtilTest.java
catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/ToscaType.java
catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts
catalog-ui/src/app/view-models/workspace/tabs/properties/properties-view-model.ts