From c2f19bdcf5b5d5647770a5d3435d942fb3dd0efa Mon Sep 17 00:00:00 2001 From: MichaelMorris Date: Fri, 5 Aug 2022 13:30:00 +0100 Subject: Fix set property policy tosca function issue When setting a policy property using TOSCA function get_property for a SELF property - an error is thrown stating no such property exists Signed-off-by: MichaelMorris Issue-ID: SDC-4125 Change-Id: Ie08f15567cbb00d243f53c31120d8218519a856f --- .../java/org/openecomp/sdc/be/components/impl/PolicyBusinessLogic.java | 1 + 1 file changed, 1 insertion(+) (limited to 'catalog-be/src/main/java/org') 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 f536cffaba..08ac2c4c77 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 @@ -630,6 +630,7 @@ public class PolicyBusinessLogic extends BaseBusinessLogic { filter.setIgnoreComponentInstancesProperties(false); filter.setIgnoreGroups(false); filter.setIgnoreInputs(false); + filter.setIgnoreProperties(false); return validateComponentExists(componentId, componentType, filter); } -- cgit 1.2.3-korg