Commit Graph

9 Commits

Author SHA1 Message Date
Lampros Smyrnaios 3550ed71d9 Execute the "AssignmentHandler.handleAssignment()", only from the scheduler, as it starts automatically when the program starts. 2021-06-11 13:44:33 +03:00
Lampros Smyrnaios 5f3409e072 - Update Spring and add the "gradle-wrapper.properties" file which defines the gradle version.
- Improve an info-logging message and cleanup the code.
2021-06-10 14:29:20 +03:00
Lampros Smyrnaios 53ccea869a Add an "assignmentId" field in the "Assignment"-class. 2021-06-09 05:45:07 +03:00
Lampros Smyrnaios 82e12655e7 - Add an "AssignmentHandler", which retrieves the assignment from the controller and categorises the tasks using their datasource. In the future, it will execute the tasks of the assignment, using different plugins. It runs upon the Application start and also every 30 mins (if no other job is in execution).
- Add the "isWorkerAvailableForWork-endpoint.
2021-05-20 03:28:48 +03:00
Lampros Smyrnaios a4c97dffbf - Add the "Datasource" class in the "Task" class and include it in the Assignment that the worker retrieves.
- Update dependencies.
2021-05-20 02:58:08 +03:00
Lampros Smyrnaios 137744a8ce - Add classes: "Assignment", "AssignmentRequest", "UrlReport", "WorkerReport" and "WorkerResponse".
- Add interface "WorkerConstants".
2021-04-24 21:10:35 +03:00
Lampros Smyrnaios b2dfd524e1 Update "Task" and "Error" classes. 2021-04-24 21:08:02 +03:00
Lampros Smyrnaios 6a87d3e478 Add "Task" and "Error" classes. 2021-04-15 03:37:54 +03:00
Lampros Smyrnaios 08eabe6f08 Initial commit of UrlsWorker. 2021-03-16 18:38:53 +02:00