aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2022-10-21 13:00:36 +0100
committerMichael Morris <michael.morris@est.tech>2022-10-24 09:37:16 +0000
commit5007c94c7106972d9958125660a210fe58297b65 (patch)
treea13d0f2e332571768ebf6d270e775a27f71a7359
parentddb9d5a7637b382be9ac7a96ad023a983c41c342 (diff)
Fix import service with component inst interfaces
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4227 Change-Id: Ibfaac65a1c9c53efe9bccd98bf1de565143f645b
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportBusinessLogic.java2
1 files changed, 1 insertions, 1 deletions
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);
}
}