diff options
author | ojasdubey <ojas.dubey@amdocs.com> | 2018-09-27 17:59:22 +0530 |
---|---|---|
committer | Avi Gaffa <avi.gaffa@amdocs.com> | 2018-10-03 11:57:49 +0000 |
commit | 5788e335130a4d7d39fe13c2270773c353abe353 (patch) | |
tree | 49e587e2c3222e017c4250ff2a04c36f0193511c /catalog-be/src | |
parent | af70a208702df2d178bd1f57f6739e6b07d36b66 (diff) |
Bugfix - CSAR packing for operations of same WF
Fix for failed CSAR packaging if user creates two
operations and associated workflows having artifacts
to them. Updated the operation name before artifact
name to make it unique before adding to zip
Change-Id: I1c1997199ba015a0ce2fc35cda9696031babaebe
Issue-ID: SDC-1802
Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
Diffstat (limited to 'catalog-be/src')
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ArtifactsBusinessLogic.java | 2 |
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 f104079e21..4ef2e06205 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 @@ -3145,7 +3145,7 @@ public class ArtifactsBusinessLogic extends BaseBusinessLogic { Operation operation = optionalOperation.get(); ArtifactDefinition implementationArtifact = operation.getImplementationArtifact(); - implementationArtifact.setArtifactName(artifactInfo.getArtifactName()); + implementationArtifact.setArtifactName(operation.getName() + "_" + artifactInfo.getArtifactName()); implementationArtifact.setDescription(artifactInfo.getDescription()); implementationArtifact.setArtifactType(artifactInfo.getArtifactType()); operation.setImplementation(implementationArtifact); |