Merge in RED/persistence-service from RED-5293 to master
* commit 'd95beeae269e2dac54dad9b8309bf1bb8ffe6811':
RED-5293: fixed broken IllegalArgumentException, it throws now a 400 instead of 500
Merge in RED/persistence-service from RED-5293 to master
* commit '9b7d1536ebb8bb2056c4e5519c0428f1f865a81e':
RED-5293: Changed output to client to explain which argument is broken
RED-5293: Changed output to client to explain which argument is broken
RED-5293: Changed error message for empty parameters to show client which parameter is broken
RED-5293: 500 for invalid tenant
RED-5293: 500 for invalid tenant
RED-5293: 500 for invalid tenant
RED-5293: 500 for invalid tenant
RED-5293: 500 for invalid tenant
RED-5293: 500 for invalid tenant
RED-5293: 500 for invalid tenant
Merge in RED/persistence-service from RED-5293 to master
* commit '92326e82f572c62f275c98fc47d1848e47f2c2ea':
RED-5293: 500 for invalid tenant
RED-5293: 500 for invalid tenant
RED-5293: 500 for invalid tenant
RED-5293: 500 for invalid tenant
RED-5293: 500 for invalid tenant
RED-5293: 500 for invalid tenant
Merge in RED/persistence-service from RED-5292 to master
* commit '2dabbb1193edd11c6337f7aa286d1ba8457004e1':
RED-5292: Split Tenant object into Request and Response without password
Merge in RED/persistence-service from bugfix/RED-5313 to master
* commit '132d8c5a0ecf7209bdf7d2658cc162844e7bc7fb':
RED-2200 - Dossier Template export and import
RED-2200 - Dossier Template export and import
Merge in RED/persistence-service from RED-2200_5 to master
* commit '870673f679ceaad22150eac0c00a43009c127668':
RED-2200 - Dossier Template export and import
- rework the update of types. Include in export the types not dossier related and the ones that are not deleted.
- at import and existing template for existing types which are not included in archive that are system managed just delete the entries
- in case of restoring a deleted type, undelete it first and then update the type
- when import as a new template and template's name is not valid, set a valid one
- download cleanup job updated to fix null pointer exception for export downloads