commit | 3b48aa92a0439040b061335851272903c7341acf | [log] [tgz] |
---|---|---|
author | JvD_Ericsson <jeff.van.dam@est.tech> | Fri Jun 10 09:28:57 2022 +0100 |
committer | Michael Morris <michael.morris@est.tech> | Thu Jun 23 15:00:04 2022 +0000 |
tree | 0c32a56d6cd849d48c75c3a9180cb46feba69172 | |
parent | 3c86f941b42188a166b3bbf53398cbbf547fd04c [diff] |
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 <jeff.van.dam@est.tech> 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 5927a5a..54ab3bd 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 @@ } 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;