Changes

Summary

  1. Set next version. (details)
  2. - Implement the foundation for supporting html-assignments. (details)
  3. - Generate, if not exist, the html-tables at startup. (details)
  4. - Reduce the database load when in testing-environment, by using a subset of the data of the tables. (details)
  5. - Implement html-assignments-logic. (details)
  6. Add deletion of unhandled html-assignments, alongside the pdf-assignments. (details)
  7. Update the "ScheduledTasks.processFailedWorkerReport()" to submit the failed workerReport straight to the executor, instead of re-checking it and recreating the workerReport file. (details)
  8. - Add scheduled deletion of specific html-assignments that meet certain criteria. (details)
  9. - Update "UrlsServiceImpl.mergeWorkerRelatedTables()" to merge html-related tables when called for html-assignments. (details)
  10. Add check and creation of HTML-parquet-dirs on HDFS. (details)
  11. - Improve the "FileUtils.FILEPATH_ID_EXTENSION"-regex to: a) support files with up to 3 extensions (2 needed for html-archives, the 3rd is for future-proofing) and b) validate file-extensions. (details)
  12. Copy a small part of necessary PROD tables to new test-tables, instead of using a view on the initial tablas, in order to improve performance for both PROD and TEST environments. (details)
  13. - Implement the processing-code of the html-worker-reports. (details)
  14. - Add security-IP-check for the "getWorkersInfo"-endpoint. (details)
  15. Downgrade Spring Boot to v.3.3.10, as the 3.4.x version has a dependency that requires Java 21. (details)
  16. Use the "crawl:Propagate" provenance for the prefilled payloads. (details)
  17. - Update "UrlsService.checkWorkerId()" to check if the workerId is known to the service, in case this check is specified via a special parameter. (details)
The file was modifiedbuild.gradle (diff)
Commit f7976074dc08d061528696bf893cf12190009bab by Lampros Smyrnaios
- Implement the foundation for supporting html-assignments.
- Improve/expand checks for the "WorkerId" parameter.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/controllers/UrlsController.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsServiceImpl.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/models/WorkerInfo.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/controllers/ShutdownController.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/ShutdownServiceImpl.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/FilesHandler.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/payloads/requests/WorkerReport.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/controllers/GeneralController.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsService.java (diff)
Commit 824231aa17d20b47e9271bdd2467f4c16bb71b50 by Lampros Smyrnaios
- Generate, if not exist, the html-tables at startup.
- Move the "getAssignmentsQuery"-code to its own method, in order to be used both from pdf and html assignments.
- Code polishing.
The file was modifiedsrc/main/resources/application.yml (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/configuration/DatabaseConnector.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsServiceImpl.java (diff)
Commit 6c6b21b4405237f6615c2b51baaa3c61e290e6ba by Lampros Smyrnaios
- Reduce the database load when in testing-environment, by using a subset of the data of the tables.
- Reduce the initialDelay of the scheduled task "checkAndProcessOldAndUnsuccessfulWorkerReports" down to 2 hours.
- Remove the creation of the unused view "publication_pids".
- Code polishing.
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)
The file was modifiedsrc/main/resources/application.yml (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/configuration/DatabaseConnector.java (diff)
Commit 340fc0e02c8ab4ea41d4ff5cc7eb4bc6c2514b43 by Lampros Smyrnaios
- Implement html-assignments-logic.
- Move common assignments-code to its own method.
- Refactor method-signatures.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsServiceImpl.java (diff)
Commit c63b6f2df3dbc77f3dd822bd7c668de84654d3ce by Lampros Smyrnaios
Add deletion of unhandled html-assignments, alongside the pdf-assignments.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/components/ScheduledTasks.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsServiceImpl.java (diff)
Commit be6df6eb2c019573125eafa86db0b008b29a4a76 by Lampros Smyrnaios
Update the "ScheduledTasks.processFailedWorkerReport()" to submit the failed workerReport straight to the executor, instead of re-checking it and recreating the workerReport file.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsServiceImpl.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsService.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/controllers/UrlsController.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/UrlsControllerApplication.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/controllers/BulkImportController.java (diff)
Commit 5d630e201715e46bb48c8a4564d156fe224be63f by Lampros Smyrnaios
- Add scheduled deletion of specific html-assignments that meet certain criteria.
- Change the workerReport naming-scheme to indicate if a report is about pdf or html assignments.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsServiceImpl.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/components/ScheduledTasks.java (diff)
Commit 36ad85df21e28f113b46f6c71b543b2716c997e9 by Lampros Smyrnaios
- Update "UrlsServiceImpl.mergeWorkerRelatedTables()" to merge html-related tables when called for html-assignments.
- Improve error-handling in the initial S3-connection.
- Reduce memory-usage on Impala, in Test environment, by using fewer records in the created views, thus fewer records when joining multiple views.
- Code polishing.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/S3ObjectStore.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/ParquetFileUtils.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/FilesHandler.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/configuration/DatabaseConnector.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsServiceImpl.java (diff)
The file was modifiedsrc/main/resources/schemas/payload.avsc (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/FileUtils.java (diff)
Commit 07b7f25b653bfce7f5f5c6dcf76d87e4477c4f6c by Lampros Smyrnaios
Add check and creation of HTML-parquet-dirs on HDFS.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/ParquetFileUtils.java (diff)
Commit 51819e339c9911422da0eb6834aad46555bfa99d by Lampros Smyrnaios
- Improve the "FileUtils.FILEPATH_ID_EXTENSION"-regex to: a) support files with up to 3 extensions (2 needed for html-archives, the 3rd is for future-proofing) and b) validate file-extensions.
- Cleanup old UrlsController docker-images.
- Code polishing.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/S3ObjectStore.java (diff)
The file was modifiedshutdownService.sh (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsServiceImpl.java (diff)
The file was modifiedinstallAndRun.sh (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/FileUtils.java (diff)
Commit cbb0b836370ff6e7a7e97d067d2052bc6c31ddd0 by Lampros Smyrnaios
Copy a small part of necessary PROD tables to new test-tables, instead of using a view on the initial tablas, in order to improve performance for both PROD and TEST environments.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/configuration/DatabaseConnector.java (diff)
Commit 2b5847573b6b6ed43072d7596b16cd0c5090ac5f by Lampros Smyrnaios
- Implement the processing-code of the html-worker-reports.
- Refactor existing worker-report processing-code to reuse common code between fulltext and html workerReport-processing.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/UrlsControllerApplication.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsService.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/services/UrlsServiceImpl.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/BulkImportServiceImpl.java (diff)
The file was modifiedsrc/main/resources/application.yml (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/controllers/UrlsController.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/FilesHandler.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/ParquetFileUtils.java (diff)
Commit 60caf59803d2ee36a563097c73499c24d5747903 by Lampros Smyrnaios
- Add security-IP-check for the "getWorkersInfo"-endpoint.
- Show the requestor's IP in the "isAlive"-endpoint.
- Mode the "security-IP-check"-code to the "GeneralService".
- Code polishing.
The file was addedsrc/main/java/eu/openaire/urls_controller/services/GeneralService.java
The file was modifiedsrc/main/java/eu/openaire/urls_controller/controllers/ShutdownController.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/ShutdownService.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/controllers/GeneralController.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/ShutdownServiceImpl.java (diff)
The file was addedsrc/main/java/eu/openaire/urls_controller/services/GeneralServiceImpl.java
Commit 7c3fe3d4c03257dcc0bc411c6a3a714f24d5c0c6 by Lampros Smyrnaios
Downgrade Spring Boot to v.3.3.10, as the 3.4.x version has a dependency that requires Java 21.

(cherry picked from commit 80f41a31d7c48fc578d8c9fb430de557bb2561fc)
The file was modifiedbuild.gradle (diff)
Commit 8c7cb7e04949b368ccc6b40d63d4b08fec6c500d by Lampros Smyrnaios
Use the "crawl:Propagate" provenance for the prefilled payloads.

(cherry picked from commit bb4f347b4b05831ac6913a9ec6e456dd000d8c99)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/FileUtils.java (diff)
Commit 24457605e81825b205e5ed0432e02eae4f2ddb1b by Lampros Smyrnaios
- Update "UrlsService.checkWorkerId()" to check if the workerId is known to the service, in case this check is specified via a special parameter.
- Fix missing change.
- Update dependencies.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/controllers/ShutdownController.java (diff)
The file was modifiedgradle/wrapper/gradle-wrapper.properties (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsServiceImpl.java (diff)
The file was modifiedbuild.gradle (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/controllers/UrlsController.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsService.java (diff)
The file was modifiedinstallAndRun.sh (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/components/ScheduledTasks.java (diff)