From 5007c94c7106972d9958125660a210fe58297b65 Mon Sep 17 00:00:00 2001 From: MichaelMorris Date: Fri, 21 Oct 2022 13:00:36 +0100 Subject: Fix import service with component inst interfaces Signed-off-by: MichaelMorris Issue-ID: SDC-4227 Change-Id: Ibfaac65a1c9c53efe9bccd98bf1de565143f645b --- .../openecomp/sdc/be/components/impl/ServiceImportBusinessLogic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catalog-be/src') diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportBusinessLogic.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportBusinessLogic.java index 7817f2f261..b1d9d0a972 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportBusinessLogic.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportBusinessLogic.java @@ -2304,7 +2304,7 @@ public class ServiceImportBusinessLogic { interfaceDef.setUniqueId(currentInterfaceDef.getType()); interfaceDef.setDescription(uploadInterfaceInfo.getDescription()); interfaceDef.setOperations(operationsToAdd); - instInterfacesMap.put(interfaceName, interfaceDef); + instInterfacesMap.put(currentInterfaceDef.getType(), interfaceDef); currInterfacesMap.remove(interfaceName); } } -- cgit 1.2.3-korg