Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3440
Change-Id: I3de45ac5f940a3ac24dec2b5520bdf8d297e63c4
}
public String getActualComponentUid() {
- return getIsProxy() ? getSourceModelUid() : getComponentUid();
+ return getIsProxy() || isServiceSubstitution() ? getSourceModelUid() : getComponentUid();
}
public boolean isArtifactExists(ArtifactGroupTypeEnum groupType, String artifactLabel) {
Boolean isProxy = (Boolean) getToscaPresentationValue(JsonPresentationFields.CI_IS_PROXY);
return (isProxy != null) ? isProxy : false;
}
+
+ public Boolean isServiceSubstitution() {
+ return getOriginType() == OriginTypeEnum.ServiceSubstitution;
+ }
public void setOriginArchived(Boolean originArchived) {
if (originArchived == null) {