Merge in RED/persistence-service from RED-6072 to master
* commit 'eff8eeaf03f76c12ca700ff4bb4f7688c291fab6':
RED-6072 - As Operation I want to see why files are in an ERROR state - update junit tests
RED-6072 - As Operation I want to see why files are in an ERROR state - add @Transactional for the update
RED-6072 - As Operation I want to see why files are in an ERROR state - update the new endpoints with different path than the original endpoints
RED-6072 - As Operation I want to see why files are in an ERROR state - set back the initial endpoints for backward compatibility
RED-6072 - As Operation I want to see why files are in an ERROR state - update junit test
RED-6072 - As Operation I want to see why files are in an ERROR state - add to file entity and models information about the error state - update endpoints with the error information in case of failure
Merge in RED/persistence-service from RED-6777 to master
* commit 'ca6f3f54f201398452cfbfd044e3b014d499d4a9':
RED-6777: Reordered parameters for consistency
RED-6777: Reimplemented deletion of dictionary entries as a batch process to avoid a limitation in the Postgres JDBC driver
RED-6777: Added a test for a dictionary update and delete with a large number of entries
Merge in RED/persistence-service from RED-6770 to master
* commit 'a8a612de55d8ae72e872eca984e847440344657f':
RED-6770: Fixed lazy init exception in dossier template import by eagerly fetching the needed collection
Merge in RED/persistence-service from RED-5787-default-value to master
* commit '872c914cee671f0866b7c7c73391f31356df3b14':
RED-5787 - As an admin for Japan, I want to configure the horizontal and vertical alignment of watermarks to be able to adjust the placement - set default values to CENTER for horizontal and vertical text alignment
Merge in RED/persistence-service from RED-4876_6 to master
* commit '4f3bb0101bb79a10a37bc3e0212da20ced62f6b0':
RED-4876 - move boolean to correct class
RED-4876 - add new column keep_overlapping_objects in dossier-template
Merge in RED/persistence-service from RED-6720 to master
* commit 'c6045189e6b964a3e44d98759bc54c461649bd06':
RED-6270: Changed data access to avoid lazy loading, making it possible to run the dossier-template import outside an enclosing transaction
RED-6270: Added try-with-resources to correctly close file stream
RED-6270: Removed transactional annotation on the dossier-template import, since it uses both Hibernate and JDBC (for runtime performance reasons) and otherwise runs into query ordering issues
RED-6270: Repackaged incorrectly packaged dossier template and created dossier template import test that always runs (it does not have local dependencies)
Merge in RED/persistence-service from RED-5787 to master
* commit '55bca9f7d0b1afba9111159a801c6160ed12ee35':
RED-5787 - As an admin for Japan, I want to configure the horizontal and vertical alignment of watermarks to be able to adjust the placement - remove default value
RED-5787 - As an admin for Japan, I want to configure the horizontal and vertical alignment of watermarks to be able to adjust the placement - add 2 properties: vertical and horizontal alignment to watermark configuration
Merge in RED/persistence-service from bugfix/RED-6034_status_code to master
* commit '113947d2165821ab778eacfe537918f52fd9c082':
RED-6034 - Possible to assign a file to unauthorized users - update junit test
RED-6034 - Possible to assign a file to unauthorized users - change status from 403 to 400
Merge in RED/persistence-service from RED-6270 to master
* commit '4ad76962ec8786f518c62f57f273c4c3a37755ec':
RED-6270: Extracted common qualifiers into a constant
RED-6270: Changed batch execution to use the batch size provided by the configuration
RED-6270: Implemented the adding of dictionary entries via batch updates to improve writing speed
RED-6270: Removed default connection value because it had no effect
RED-6270: Extracted common code into own methods and corrected jdbc-string generation (not all params were concatenated correctly)
Merge in RED/persistence-service from bugfix/RED-6034 to master
* commit '4614ceb45bfa288e2dc50700807f12153270d883':
RED-6034 - Possible to assign a file to unauthorized users - change back from knecon_release to iqser_release
RED-6034 - Possible to assign a file to unauthorized users - update from iqser to knecon
RED-6034 - Possible to assign a file to unauthorized users - rework user provider
RED-6034 - Possible to assign a file to unauthorized users - validate the assignee before triggering the under review state for the given file - update junit tests
Merge in RED/persistence-service from RED-6670 to master
* commit 'cafef9b9149fa48bc4694c4a729032ad12cf1ff6':
RED-6670: Changed accessTokenLifeSpan from 5 sec to 5 min
Merge in RED/persistence-service from RED-6289 to master
* commit '5c83d67e4d53e650f844e02c358a3c2271fef1c2':
RED-6289 - Validate watermark color - move up the validation of colors and opacity
RED-6289 - Validate watermark color - validate the watermark color and in case of missing setting set the default one to black - also set a default opacity in case the setting is an invalid one
Merge in RED/persistence-service from hotfixDbAggressiveRelease to master
* commit '18cf4ffde5cbefa5036fbc5df21760e70477b64b':
hotfix: Enabled supportsAggressiveRelease for db connections
- validate the watermark color and in case of missing setting set the default one to black
- also set a default opacity in case the setting is an invalid one