From eb28c3147279fb7c741c2d64bff3d9787cc6c4c3 Mon Sep 17 00:00:00 2001 From: Yuli Shlosberg Date: Tue, 5 May 2020 18:00:36 +0300 Subject: [PATCH] fix bug - Error 500 while adding an Operation Change-Id: I7def95b3688877acbc9332cf4174c9d92226f2e2 Issue-ID: SDC-2953 Signed-off-by: Yuli Shlosberg (cherry picked from commit c88bd6c5b1ba9628711eb84deeef862120b6ddad) --- .../org/openecomp/sdc/be/components/impl/ArtifactsBusinessLogic.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ArtifactsBusinessLogic.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ArtifactsBusinessLogic.java index 103edd6497..3ec215db0b 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ArtifactsBusinessLogic.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ArtifactsBusinessLogic.java @@ -2521,11 +2521,6 @@ public class ArtifactsBusinessLogic extends BaseBusinessLogic { String prevArtifactId; String currArtifactId = artifactId; ArtifactDefinition artifactDefinition = artifactInfo; - if (interfaceType != null && operationName != null) { - BeEcompErrorManager.getInstance().logBeDaoSystemError(UPDATE_ARTIFACT); - log.debug("Received both interface and operation for update artifact - something is wrong"); - throw new ByActionStatusComponentException(ActionStatus.GENERAL_ERROR); - } log.debug("Entry on graph is updated. Update artifact in ES"); // Changing previous and current artifactId for auditing prevArtifactId = currArtifactId; -- 2.16.6