summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java
diff options
context:
space:
mode:
authorsiddharth0905 <siddharth.singh4@amdocs.com>2019-05-02 17:06:33 +0530
committersiddharth0905 <siddharth.singh4@amdocs.com>2019-05-02 17:06:33 +0530
commita39129f4712805698b596da57459d980a7b4f335 (patch)
tree92de08d640bb2c543d9a75f0d4fce2b8a2c98627 /catalog-be/src/main/java
parent2f1d6225bef920a217a25441b7dcaeb457113dc5 (diff)
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 <siddharth.singh4@amdocs.com>
Diffstat (limited to 'catalog-be/src/main/java')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ArtifactsBusinessLogic.java2
1 files changed, 1 insertions, 1 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 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<ArtifactDefinition> 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;
}