summaryrefslogtreecommitdiffstats
path: root/catalog-be/src
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2022-08-05 13:30:00 +0100
committerMichael Morris <michael.morris@est.tech>2022-08-05 13:49:09 +0000
commitc2f19bdcf5b5d5647770a5d3435d942fb3dd0efa (patch)
treee80dbdc1602ed70b8745dd185b143e3389d3361d /catalog-be/src
parentee72d50618075c7dc2a32e6130836affd515923d (diff)
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 <michael.morris@est.tech> Issue-ID: SDC-4125 Change-Id: Ie08f15567cbb00d243f53c31120d8218519a856f
Diffstat (limited to 'catalog-be/src')
-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 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);
}