summaryrefslogtreecommitdiffstats
path: root/common-be/src
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2022-06-10 09:28:57 +0100
committerMichael Morris <michael.morris@est.tech>2022-06-23 15:00:04 +0000
commit3b48aa92a0439040b061335851272903c7341acf (patch)
tree0c32a56d6cd849d48c75c3a9180cb46feba69172 /common-be/src
parent3c86f941b42188a166b3bbf53398cbbf547fd04c (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
Diffstat (limited to 'common-be/src')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinition.java7
1 files changed, 7 insertions, 0 deletions
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;