summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorSuresh Charan <suresh.charan@amdocs.com>2021-09-23 13:11:10 -0400
committerSuresh Charan <suresh.charan@amdocs.com>2021-09-23 13:11:10 -0400
commit1cc27839c3c1e06de6b52389921db057bd10c6fc (patch)
tree59ca5d3c8de9fef35983b9f08b6173e70a4a62f1 /src/main
parentdea27394558e53394b77009ff41c4105f42aff8f (diff)
[AAI] File extensions for the data clean up tasks archive file is changed to zip
Issue-ID: AAI-3389 Signed-off-by: Suresh Charan <suresh.charan@amdocs.com> Change-Id: Ia7ec839b2cc09142c659078cc165b3826faf6440
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/aai/datacleanup/DataCleanupTasks.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/aai/datacleanup/DataCleanupTasks.java b/src/main/java/org/onap/aai/datacleanup/DataCleanupTasks.java
index 99b1619..df79335 100644
--- a/src/main/java/org/onap/aai/datacleanup/DataCleanupTasks.java
+++ b/src/main/java/org/onap/aai/datacleanup/DataCleanupTasks.java
@@ -193,7 +193,7 @@ public class DataCleanupTasks {
if(!flag)
logger.debug("Failed to create ARCHIVE folder");
}
- try(FileOutputStream outputstream = new FileOutputStream(zipFile + ".gz");
+ try(FileOutputStream outputstream = new FileOutputStream(zipFile + ".zip");
ZipOutputStream zoutputstream = new ZipOutputStream(outputstream);
FileInputStream inputstream = new FileInputStream(file)) {
ZipEntry ze = new ZipEntry(file.getName());