Changes

Summary

  1. Improve performance and efficiency by streaming the compressed-archive with fulltext-files directly to individual files. (details)
  2. - Calculate the "totalSuccessPercentagesOfWorkerReports" and "averageSuccessPercentageOfWorkerReports" separately for html and fulltext worker reports. (details)
Commit a30572e1b556bc2bd9ed55c915280b441b37b189 by Lampros Smyrnaios
Improve performance and efficiency by streaming the compressed-archive with fulltext-files directly to individual files.
Before, the compressed archive was first downloaded, then decompressed and then the files where extracted from inside and placed in a directory as individual files.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/FileDecompressor.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/FileUtils.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/FilesHandler.java (diff)
Commit 0aea4113eb88cd65d8770f10f89965ae18284a99 by Lampros Smyrnaios
- Calculate the "totalSuccessPercentagesOfWorkerReports" and "averageSuccessPercentageOfWorkerReports" separately for html and fulltext worker reports.
- Add check for null or empty "dotFileExtension" in "FileUtils.constructS3FileName".
- Code polishing.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/FilesHandler.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/components/ScheduledTasks.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/FileUtils.java (diff)