From 442784e34ef8cae76cca559a600f360dfdeee97e Mon Sep 17 00:00:00 2001 From: KrupaNagabhushan Date: Tue, 31 Jan 2023 09:45:22 +0000 Subject: Enable UI component to display property constraints Issue-ID: SDC-4360 Signed-off-by: KrupaNagabhushan Change-Id: I63510720a260b830baea3813ff0adb304fa480e4 --- .../java/org/openecomp/sdc/be/components/impl/PolicyBusinessLogic.java | 1 + 1 file changed, 1 insertion(+) (limited to 'catalog-be/src/main/java') diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/PolicyBusinessLogic.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/PolicyBusinessLogic.java index 113f8ba4dc..3993ef0b70 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/PolicyBusinessLogic.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/PolicyBusinessLogic.java @@ -693,6 +693,7 @@ public class PolicyBusinessLogic extends BaseBusinessLogic { final PropertyDataDefinition currentProperty = oldProperties.get(newProperty.getName()); currentProperty.setValue(newPropertyValueEither); currentProperty.setToscaFunction(newProperty.getToscaFunction()); + currentProperty.setPropertyConstraints(newProperty.getPropertyConstraints()); validatePropertyValueWithConstraints(currentProperty, policyOwnerComponent); } return policy; -- cgit 1.2.3-korg