summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2023-01-31 09:45:22 +0000
committerMichael Morris <michael.morris@est.tech>2023-02-08 15:32:22 +0000
commit442784e34ef8cae76cca559a600f360dfdeee97e (patch)
tree586b73a541ebc92fbb27f3bc287ab4c472aa5b73 /catalog-be/src/main
parent259f3ae4ab8649549f752367c198c07b9da8aa6e (diff)
Enable UI component to display property constraints
Issue-ID: SDC-4360 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I63510720a260b830baea3813ff0adb304fa480e4
Diffstat (limited to 'catalog-be/src/main')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/PolicyBusinessLogic.java1
1 files changed, 1 insertions, 0 deletions
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;