diff options
Diffstat (limited to 'sdc-distribution-ci/src/main/java')
-rw-r--r-- | sdc-distribution-ci/src/main/java/org/openecomp/test/AdvanceCallBack.java | 4 |
1 files changed, 2 insertions, 2 deletions
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 ################"); } |