Merge in RED/persistence-service from RED-6860-3.6 to release/1.363.x
* commit '14f04fdc34f876f71d2d68fe96b5e327878efcb6':
RED-6860: Fixed transaction timeout and changed s3 upload to multipart to be able to handle downloads > 5 gb
Merge in RED/persistence-service from RED-6777-3.6 to release/1.363.x
* commit '3af8a3a9d20604cd3cb3372bb9eff63415bc7b1a':
RED-6777: Update build config to new domain name
Merge in RED/persistence-service from RED-6777-3.6 to release/1.363.x
* commit '71a11fc24afe8d80bc1f32a0f04e06cabec8cf39':
RED-6777: Reimplemented deletion of dictionary entries as a batch process to avoid a limitation in the Postgres JDBC driver
Merge in RED/persistence-service from RED-6467-3.6 to release/1.363.x
* commit 'cf0c2d6100d28979771a1e26cc628d752096c792':
RED-6467: Backport of change from 4.0.
* Implemented undeletion of dictionary entries by running a native query in chunks.
This avoids a limitation in the JDBC driver.
* Changed unique name check to not use Exceptions to prevent transaction rollbacks
Merge in RED/persistence-service from RED-6497 to release/1.363.x
* commit '3fc9dc5132b5eaeb1d8bd609acb57bacc62237d5':
RED-6497: Removed alternate file size check because it offers less error reporting capabilities
RED-6497: Fixed issue where the file-size of download was saved incorrectly.
RED-6497: Changed code to use a different method of getting a file size to have better error reporting
RED-6497: Removed explicit variable initialization because its marked as a checkstyle violation.
RED-6497: Corrected handling of the stream, temp-file and exceptions.
* Changed the update to the DownloadStatusEntity to use the entity object instead of using a query on JPA-repo. This prevents values from the object being incorrectly inserted otherwise.
* Extended the DownloadPreparationTest to check the resulting download state and file size.
Merge in RED/persistence-service from bugfix/RED-6265-3.6.0 to release/1.363.x
* commit '08965675999b4309147a216d362c433d4c08381b':
RED-6265 - Bulk dossier stats endpoint does not return dossier stats of dossiers, for which the current dossier does not have access permissions
* Corrected the order of closing the steam and deleting the file.
* Switched the output of exception to the WARN level, since the hint at potential problems.
* Corrected the tests so that they clean-up resources.
* Changed the tests to use an archiver that re-throws exceptions, so that problems are not swallowed in testing.
Merge in RED/persistence-service from RED-6503-3.6 to release/1.363.x
* commit '12d7eae288b87bd88ecbe66bf08e31a9c6953461':
RED-6503: Do not override ocred pages on ocr successful
Merge in RED/persistence-service from RED-6310-3.6 to release/1.363.x
* commit '18ee468ca15ac07ff8ec6adc2712ccf42129df91':
RED-6310: Changed element-collection fetch to eager because lazy loading runs into timing based errors
RED-6310: Updated test for download preparation test to execute all preparation steps.
Merge in RED/persistence-service from RED-6310-3.6 to release/1.363.x
* commit 'c698bf3a685dc906ce0e811f157122cb62caa93b':
RED-6310: Backported test to Junit 4
RED-6310: Moved code to create user-preferences to a separate class so that the calling code can handle a persistence exception
RED-6310: Corrected services so that they use the user id instead of wrongly using the entity id
RED-6310: Moved code for multithreaded tests to a helper class
RED-6310: Removed not needed code from test
RED-6310: Added setup of tenant id to fix the service test
RED-6310: Added tests to check if concurrent access to notification-preferences works
Merge in RED/persistence-service from RED-5256-A to master
* commit '19c87fa6bc92a52c8867d9c9792002e4b2754545':
RED-5256: refactored checks and added findAllById for dossiers
RED-5256: added consumes to getDossierInformation-endpoint and changed it from GET to POST && dossiers were not filtered before getting dossier information, if filteredDossierId was empty
RED-5256: added consumes to getDossierInformation-endpoint and changed it from GET to POST && dossiers were not filtered before getting dossier information, if filteredDossierId was empty
Merge in RED/persistence-service from RED-5277 to master
* commit '7212012cd69a0924b734951de055237d89b20346':
RED-5277: Fixed Message Deserialization in Ner/Image service resonse
Merge in RED/persistence-service from LastReviewerDelete to master
* commit '723ddc7fa406268bed79cb442c01f4582ba28e27':
hotfix: Do not remove lastFileReview / lastApprover when deleting users