Changes

Summary

  1. Improve efficiency of the "findAssignmentsQuery" by removing the unused "datasourcename" field. (details)
  2. Fix the "getHashLocationsQuery" to avoid getting duplicate locations. Before, each hash was accompanied by multiple locations. (details)
Commit 04c0e9daed954602025e124f9634eb216fbdfb93 by Lampros Smyrnaios
Improve efficiency of the "findAssignmentsQuery" by removing the unused "datasourcename" field.
Also remove it across the app.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/controllers/TestController.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/Assignment.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/models/Task.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/TestFileUtils.java (diff)
The file was removedsrc/main/java/eu/openaire/urls_controller/models/Datasource.java
Commit 9151f6ae34a108753b95f2e5f733d21e3b76e1cb by Lampros Smyrnaios
Fix the "getHashLocationsQuery" to avoid getting duplicate locations. Before, each hash was accompanied by multiple locations.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/FileUtils.java (diff)