aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2020-05-05 18:00:36 +0300
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-05-06 08:22:42 +0000
commiteb28c3147279fb7c741c2d64bff3d9787cc6c4c3 (patch)
tree143baeb105ca20f19b4e73c3ac297df97441b24a
parent8fcd0f2ea7f52b8984288329726ed7f2f7d29cc6 (diff)
fix bug - Error 500 while adding an Operation1.6.5
Change-Id: I7def95b3688877acbc9332cf4174c9d92226f2e2 Issue-ID: SDC-2953 Signed-off-by: Yuli Shlosberg <ys9693@att.com> (cherry picked from commit c88bd6c5b1ba9628711eb84deeef862120b6ddad)
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ArtifactsBusinessLogic.java5
1 files changed, 0 insertions, 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;