From baf6ff4f604f44062bdf4963aed8591d95bb6389 Mon Sep 17 00:00:00 2001 From: MichaelMorris Date: Tue, 19 Jan 2021 16:04:14 +0000 Subject: Fix error in service substitution Signed-off-by: MichaelMorris Issue-ID: SDC-3440 Change-Id: I3de45ac5f940a3ac24dec2b5520bdf8d297e63c4 --- .../src/main/java/org/openecomp/sdc/be/model/ComponentInstance.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catalog-model/src/main') diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/ComponentInstance.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/ComponentInstance.java index fd4feeb035..0057b71a27 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/ComponentInstance.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/ComponentInstance.java @@ -70,7 +70,7 @@ public class ComponentInstance extends ComponentInstanceDataDefinition implement } public String getActualComponentUid() { - return getIsProxy() ? getSourceModelUid() : getComponentUid(); + return getIsProxy() || isServiceSubstitution() ? getSourceModelUid() : getComponentUid(); } public boolean isArtifactExists(ArtifactGroupTypeEnum groupType, String artifactLabel) { -- cgit 1.2.3-korg