fix bug - Error 500 while adding an Operation
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / components / impl / ArtifactsBusinessLogic.java
index 8a18879..1983e32 100644 (file)
@@ -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;