summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortalio <tali.orenbach@amdocs.com>2019-06-16 16:56:36 +0300
committerAvi Gaffa <avi.gaffa@amdocs.com>2019-06-17 08:40:24 +0000
commit5d8f917ba450966e4405f9e7b364ea5518c7167b (patch)
treed8c29c8a2e0a4ceea8a75fb9c7665ac83400cb86
parent3dbb29406ed5eca767051296cb5409eac066dc17 (diff)
Add property uid in declaration
Add property uid when declaring property to policy, in order to get the policies list in UI Change-Id: I227bfcdcf40483b1e308877e9b2ae41106e20e29 Issue-ID: SDC-2369 Signed-off-by: talio <tali.orenbach@amdocs.com>
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/property/DefaultPropertyDeclarator.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/property/DefaultPropertyDeclarator.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/property/DefaultPropertyDeclarator.java
index 9f43284104..2c3ba2db3b 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/property/DefaultPropertyDeclarator.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/property/DefaultPropertyDeclarator.java
@@ -133,6 +133,7 @@ public abstract class DefaultPropertyDeclarator<PROPERTYOWNER extends Properties
policyDefinition.setUniqueId(UniqueIdBuilder.buildPolicyUniqueId(componentId, prop.getName()));
policyDefinition.setInputPath(prop.getName());
policyDefinition.setInstanceUniqueId(componentId);
+ policyDefinition.setPropertyId(prop.getUniqueId());
changePropertyValueToGetPolicy(prop, policyDefinition);
PROPERTYTYPE declaredProperty = createDeclaredProperty(prop);