summaryrefslogtreecommitdiffstats
path: root/catalog-model/src/main/java
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2022-06-28 08:50:53 +0100
committerAndr� Schmid <andre.schmid@est.tech>2022-07-11 16:15:10 +0000
commit4508aef64655154553aa01f5f6f5cc51317f7266 (patch)
tree0f8cfd04e8536818c6891969f1799a04cf1e0068 /catalog-model/src/main/java
parenta99abdf5317f4f0f7435af71278701b3b43282a2 (diff)
Support tosca functions for group instances in composition view
Issue-ID: SDC-4078 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Id65ae1c0cac8cb61cece69e2c88a588027c675fd
Diffstat (limited to 'catalog-model/src/main/java')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/jsonjanusgraph/operations/GroupsOperation.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/jsonjanusgraph/operations/GroupsOperation.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/jsonjanusgraph/operations/GroupsOperation.java
index 8fe4cffac3..d20d2afea0 100644
--- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/jsonjanusgraph/operations/GroupsOperation.java
+++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/jsonjanusgraph/operations/GroupsOperation.java
@@ -313,6 +313,8 @@ public class GroupsOperation extends BaseOperation {
Optional<PropertyDataDefinition> currentProp = properties.stream().filter(p -> p.getName().equals(np.getName())).findAny();
if (currentProp.isPresent()) {
currentProp.get().setValue(np.getValue());
+ currentProp.get().setToscaGetFunction(np.getToscaGetFunction());
+ currentProp.get().setToscaGetFunctionType(np.getToscaGetFunctionType());
}
});
updateVersion(promoteMinorVersion, group);