* 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
Merge in RED/persistence-service from RED-4188 to master
* commit '00a6b2f075521f3868dea01a6f052b2a1048d334':
RED-4188 added timed dependencies and metric for calculateFlags since this method is calld several times per file each time something happens inside it
Merge in RED/persistence-service from bugfix/RED-6105-1 to master
* commit 'a45b841d5b6ef66821aa1b524ccdc7b9d33002d9':
RED-6105 - Cannot import exported specific Dossier Template
- correct mismatched typo for compression ratio threshold constant as an environment value
- upgrade platform-dependency
- correct junit reference
- add missing lombok annotations
Merge in RED/persistence-service from bugfix/RED-6105 to master
* commit 'c3477d78e1b98a9b71dede489c3898f73528d9e1':
RED-6105 - Cannot import exported specific Dossier Template
Merge in RED/persistence-service from RED-5844 to master
* commit '3c4cb7a43e0746258f2b047b5b6d804010194f69':
RED-5844 processed status for excluded files
Merge in RED/persistence-service from kbudisantoso/RED-6075-main-db-schema to master
* commit 'ce79cf89407c30e31c13f624fa277db5cfa7d57e':
RED-6075 Added schema parameter to jdbc URL config
Merge in RED/persistence-service from feature/RED-5784-1 to master
* commit 'b8653ce0ba0d391a8019eb9bf31f83259c39f22b':
RED-5784 - As the admin I want to configure the applied redaction color
RED-5784 - As the admin I want to configure the applied redaction color
Merge in RED/persistence-service from RED-5785 to master
* commit '20b2e13abb996a3340244ffc3d9e605e7fa3d942':
RED-5785: Removed restriction for watermarks to contain only ASCII chars
Merge in RED/persistence-service from feature/RED-5784 to master
* commit '69d12e946e3104bc44701f8f87f21d326d86fa40':
RED-5784 - As the admin I want to configure the applied redaction color
RED-5784 - As the admin I want to configure the applied redaction color
Merge in RED/persistence-service from RED-6063 to master
* commit 'e47269d53cb76028b26d7d6e858c3866799205aa':
RED-6063: Run create tenant async to fix migration timeout
Merge in RED/persistence-service from RED-6063 to master
* commit '82491e0f6f622caf4ab9b430bb233e03a42ec3e6':
RED-6063: Added migration to add simplified text file if missing