- Handle the potential error-case of an "alreadyDownloaded" full-text not being discovered inside the "FileUtils.dataToBeLoggedList".
|5 months ago|
|gradle/wrapper||6 months ago|
|scripts||1 year ago|
|src||5 months ago|
|.gitignore||10 months ago|
|README.md||6 months ago|
|build.gradle||6 months ago|
|installAndRun.sh||6 months ago|
|settings.gradle||9 months ago|
This is the Worker's Application.
It requests assignments from the controller and processes them.
It posts the results to the controller, which in turn, puts them in a database.
To install and run the application:
git cloneand then
- Create the file
S3_minIO_credentials.txt, which contains just one line with the S3_url, S3_username, S3_password, S3_server_region and the S3_bucket, all separated by a comma
- [Optional] Create the file
inputData.txt, which contains just one line with the workerId, the maxAssignmentsLimitPerBatch, the maxAssignmentsBatchesToHandleBeforeRestart and the controller's base api-url, all seperated by a comma
,. For example:
- Execute the
installAndRun.shscript. In case the above file (inputData.txt) does not exist, it will request the current worker's ID, the maxAssignmentsLimitPerBatch, the maxAssignmentsBatchesToHandleBeforeRestart and the Controller's Url, and it will create the inputData.txt file.
Note: If the "maxAssignmentsBatchesToHandleBeforeRestart" is zero or negative, then an infinite number of assignments-batches will be handled.
That script, installs the PublicationsRetriever, as a library and then compiles and runs the whole Application.
If you want to just run the app, then run the script with the argument "1":