From 68733163804ed2efed8223a04ab0a7a0714a8b33 Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Thu, 7 Jul 2022 17:17:52 +0100 Subject: Support for concat TOSCA function Adds support for the concat TOSCA function in an instance property. Refactors the TOSCA function structure so it can be more generic to support other functions in the future. Change-Id: I338e4138d26afe21779da57c4eeb3f2d486c20a9 Issue-ID: SDC-4095 Signed-off-by: andre.schmid --- .../sdc/be/model/jsonjanusgraph/operations/GroupsOperation.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'catalog-model/src/main/java') 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 d20d2afea0..d346d9364a 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,8 +313,7 @@ public class GroupsOperation extends BaseOperation { Optional 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()); + currentProp.get().setToscaFunction(np.getToscaFunction()); } }); updateVersion(promoteMinorVersion, group); -- cgit 1.2.3-korg