From 0334ca30e848fb2465e556d924675aec38f48c11 Mon Sep 17 00:00:00 2001 From: Pavel Aharoni Date: Thu, 18 May 2017 13:07:44 +0300 Subject: [SDC-22] DC artifact name fix Change-Id: I63dbb04c8d7ab96dc48ba8dae9661f278080c4d4 Signed-off-by: Pavel Aharoni --- .../src/main/java/org/openecomp/test/AdvanceCallBack.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sdc-distribution-ci/src/main') diff --git a/sdc-distribution-ci/src/main/java/org/openecomp/test/AdvanceCallBack.java b/sdc-distribution-ci/src/main/java/org/openecomp/test/AdvanceCallBack.java index d5ef6cd..f78a38b 100644 --- a/sdc-distribution-ci/src/main/java/org/openecomp/test/AdvanceCallBack.java +++ b/sdc-distribution-ci/src/main/java/org/openecomp/test/AdvanceCallBack.java @@ -58,8 +58,8 @@ public class AdvanceCallBack extends SimpleCallback{ protected void saveArtifactPayloadToDisk(IDistributionClientDownloadResult downloadResult) { System.out.println("################ Downloaded Artifact Payload Start ################"); - String fileName = downloadResult.getArtifactName().replaceAll("attachment; filename=",""); - saveFile(downloadResult.getArtifactPayload(), fileName.replaceAll("\"", "")); + String fileName = downloadResult.getArtifactFilename(); + saveFile(downloadResult.getArtifactPayload(), fileName); System.out.println("################ Downloaded Artifact Payload End ################"); } -- cgit 1.2.3-korg