Fix workflow issue 04/114204/2
authorxuegao <xg353y@intl.att.com>
Fri, 23 Oct 2020 12:24:09 +0000 (14:24 +0200)
committerS�bastien Determe <sebastien.determe@intl.att.com>
Mon, 26 Oct 2020 09:11:47 +0000 (09:11 +0000)
Fix the workflow issue where workflow is not packed into csar, if added after a checkout.

Issue-ID: SDC-3311
Signed-off-by: xuegao <xg353y@intl.att.com>
Change-Id: I673a8127087fb31eddd8badae8f3bd400ef8cb3e

catalog-be/src/main/java/org/openecomp/sdc/be/tosca/CsarUtils.java

index 61068f2..123e1b1 100644 (file)
@@ -1586,10 +1586,6 @@ public class CsarUtils {
         if (!deploymentArtifactsByType.isEmpty() ){
             artifactsInfo.addArtifactsToGroup(ArtifactGroupTypeEnum.DEPLOYMENT, deploymentArtifactsByType);
                }
-               //Add component interface operation artifacts
-               if(MapUtils.isNotEmpty(interfaceOperationArtifacts)) {
-                       artifactsInfo.addArtifactsToGroup(ArtifactGroupTypeEnum.DEPLOYMENT, interfaceOperationArtifactsByType);
-        }
 
         return artifactsInfo;
     }