From: JvD_Ericsson Date: Fri, 10 Jun 2022 08:28:57 +0000 (+0100) Subject: Fix interface operation update on version change X-Git-Tag: 1.11.5~5 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=3b48aa92a0439040b061335851272903c7341acf;p=sdc.git Fix interface operation update on version change Fix interface operation implementation not being updated on version change Issue-ID: SDC-4045 Signed-off-by: JvD_Ericsson Change-Id: Idfe15f988f47c50be329354d711f43de8eab2203 --- diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinition.java index 5927a5abe7..54ab3bd6d0 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinition.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinition.java @@ -477,6 +477,13 @@ public class ArtifactDataDefinition extends ToscaDataDefinition { } else if (!getArtifactRepository().equals(other.getArtifactRepository())) { return false; } + if (getArtifactName() == null) { + if (other.getArtifactName() != null) { + return false; + } + } else if (!getArtifactName().equals(other.getArtifactName())) { + return false; + } if (getArtifactType() == null) { if (other.getArtifactType() != null) { return false;