[AAI] File extensions for the data clean up tasks archive file is changed to zip 59/124459/1
authorSuresh Charan <suresh.charan@amdocs.com>
Thu, 23 Sep 2021 17:11:10 +0000 (13:11 -0400)
committerSuresh Charan <suresh.charan@amdocs.com>
Thu, 23 Sep 2021 17:11:10 +0000 (13:11 -0400)
Issue-ID: AAI-3389
Signed-off-by: Suresh Charan <suresh.charan@amdocs.com>
Change-Id: Ia7ec839b2cc09142c659078cc165b3826faf6440

src/main/java/org/onap/aai/datacleanup/DataCleanupTasks.java

index 99b1619..df79335 100644 (file)
@@ -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());