diff --git a/README.md b/README.md index 693bcd5..2587b03 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,14 @@ It can also process **Bulk-Import** requests, from compatible data sources, in w For interacting with the database we use [Impala](https://impala.apache.org/).

+**BulkImport API**: +- "**bulkImportFullTexts**" endpoint: **http://\:/api/bulkImportFullTexts?provenance=\&bulkImportDir=\&shouldDeleteFilesOnFinish={true|false}**
+ This endpoint loads the right configuration with the help of the "provenance" param and then processes the full-texts files inside the given directory, in the following way: it generates the openAireIDs, uploads the files to the S3 ObjectStore, generates and stores the the "payload" records in the database. If it is specified, it removes the successfully imported full-texts from the directory. +- "**getBulkImportReport**" endpoint: **http://\:/api/getBulkImportReport?id=\**
+ This endpoint returns the bulkImport report, which corresponds to the given ID, in JSON format. +
+
+ **Statistics API**: - "**getNumberOfAllPayloads**" endpoint: **http://\:/api/stats/getNumberOfAllPayloads**
This endpoint returns the total number of payloads existing in the database, independently of the way they were aggregated. This includes the payloads created by other pieces of software, before the PDF-Aggregation-Service was created. @@ -22,7 +30,7 @@ For interacting with the database we use [Impala](https://impala.apache.org/). If you want to just run the app, then run the script with the argument "1": ```./installAndRun.sh 1```.
If you want to build and run the app on a **Docker Container**, then run the script with the argument "0" followed by the argument "1": ```./installAndRun.sh 0 1```.
diff --git a/build.gradle b/build.gradle index ecb4e14..3c0e0e5 100644 --- a/build.gradle +++ b/build.gradle @@ -40,10 +40,10 @@ dependencies { // Enable the validation annotations. //implementation group: 'jakarta.validation', name: 'jakarta.validation-api', version: '3.0.2' - implementation "org.projectlombok:lombok:1.18.26" + implementation "org.projectlombok:lombok:1.18.28" // https://mvnrepository.com/artifact/com.google.guava/guava - implementation group: 'com.google.guava', name: 'guava', version: '31.1-jre' + implementation group: 'com.google.guava', name: 'guava', version: '32.0.0-jre' // https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'