summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java
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 06:44:46 +0000
commitc88bd6c5b1ba9628711eb84deeef862120b6ddad (patch)
tree7b63e13007da389b201f1610b60cde3ab7ecf8a1 /catalog-be/src/main/java
parenta02add03b465de2adf8f5b05cf9d428af914287f (diff)
fix bug - Error 500 while adding an Operation
Change-Id: I7def95b3688877acbc9332cf4174c9d92226f2e2 Issue-ID: SDC-2953 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Diffstat (limited to 'catalog-be/src/main/java')
-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 8a188792d8..1983e32d7c 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
@@ -2470,11 +2470,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;