From a39129f4712805698b596da57459d980a7b4f335 Mon Sep 17 00:00:00 2001 From: siddharth0905 Date: Thu, 2 May 2019 17:06:33 +0530 Subject: Workflow artifact missing in CSAR Artifact Delivery call failing in SDC if any artifact in having artifact name as NULL Change-Id: I20212434a8fe0ea2960d5b55a7a6834679153526 Issue-ID: SDC-2273 Signed-off-by: siddharth0905 --- .../org/openecomp/sdc/be/components/impl/ArtifactsBusinessLogic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catalog-be/src/main/java') 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 428dd1a751..aef13eea4c 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 @@ -5018,7 +5018,7 @@ public class ArtifactsBusinessLogic extends BaseBusinessLogic { NodeTypeEnum parentType = convertParentType(componentType); List existingDeploymentArtifacts = getDeploymentArtifacts(toscaComponentEither.left().value(), parentType,null); for (ArtifactDefinition artifactDefinition: existingDeploymentArtifacts){ - if(artifactDefinition.getArtifactName().equalsIgnoreCase(artifactInfo.getArtifactName())){ + if(artifactInfo.getArtifactName().equalsIgnoreCase(artifactDefinition.getArtifactName())){ existingArtifactInfo = artifactDefinition; break; } -- cgit 1.2.3-korg