2583 Commits

Author SHA1 Message Date
Christoph Schabert
7ce9405cd6 Pull request #671: hotfix: extend azure connection string for SAS
Merge in RED/persistence-service from hotfix/sas to master

* commit 'd34aaff5000dffa6ea53b9014e5845c9a1c29aca':
  hotfix: extend azure connection string for SAS
2.38.0
2023-04-13 12:57:26 +02:00
Viktor Seifert
62dbe67d63 RED-6467: Implemented undeletion of dictionary entries via the criteria builder.
Hopefully, this solves the db-driver issue with large numbers of entries.
RED-6467-5
2023-04-13 12:08:48 +02:00
devplant
a2feec73e6 RED-6468 - Exception in persistence service for DownloadCleanupJob (very rarely)
- changed the lazy loading to eager for dossier in download status entity
bugfix/RED-6468_3
2023-04-13 12:33:44 +03:00
Christoph Schabert
d34aaff500 hotfix: extend azure connection string for SAS hotfix/sas_4 2023-04-13 11:27:50 +02:00
Viktor Seifert
e72c68843c RED-6467: Implemented undeletion as operation on entities 2023-04-12 18:22:53 +02:00
Viktor Seifert
7a6a357d03 RED-6467: Corrected criteria query RED-6467-3 2023-04-12 17:38:27 +02:00
Christoph Schabert
079d48c0e4 Pull request #670: hotfix: Change Azure connection string db field limit
Merge in RED/persistence-service from AzureConectionString to master

* commit '3fa4693bd5765ce5bd7583d15f2291c776e56fea':
  hotfix: Change Azure connection string db field limit
2.37.0 bugfix/RED-6468_2
2023-04-12 16:10:21 +02:00
Christoph Schabert
3fa4693bd5 hotfix: Change Azure connection string db field limit AzureConectionString_2 2023-04-12 16:02:30 +02:00
Viktor Seifert
5092b00f41 RED-6467: Implemented undeletion of dictionary entries via the criteria builder.
Hopefully, this solves the db-driver issue with large numbers of entries.
2023-04-12 13:02:07 +02:00
devplant
47df255e12 RED-6362 - Cannot add KMS signature
- rework after review
bugfix/RED-6548_4
2023-04-12 09:49:34 +03:00
Viktor Seifert
b14d56195e RED-6467: Fix test by using a comparison method that is not dependent on a specific sorting being provided by the client RED-6467-2 2023-04-11 16:14:19 +02:00
Viktor Seifert
05e03b8982 RED-6467: Added some debugging information 2023-04-11 15:17:44 +02:00
Viktor Seifert
78fcb0a394 RED-6467: Added some debugging information RED-6467-1 2023-04-11 14:34:02 +02:00
devplant
6f39a6582f RED-6548 - Username not saved / Email saved as username
- extend createUserRequest with username
- update the username with the one provided
- update also the username in case of updating profile with a new email address
bugfix/RED-6548_3
2023-04-11 13:42:06 +03:00
Corina Olariu
796cc3c8cc Pull request #666: RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants
Merge in RED/persistence-service from RED-5504-message to master

* commit 'd92409dadbeb8a48a377d079a5d49ac6d0476d43':
  RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants - extract the name of the unique constraint
  RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants - update the sql messages
2.36.0
2023-04-10 10:32:42 +02:00
Corina Olariu
f2a53d4da4 Pull request #667: RED-6362 - Cannot add KMS signature
Merge in RED/persistence-service from bugfix/RED-6362-kms to master

* commit '52480314c35562b8f15e7cee4e6b5f87538b1a3a':
  RED-6362 - Cannot add KMS signature - update saveDigitalSignatureKms signature - move the convert from DigitalSignatureKms to DigitalSignatureKmsEntity to the service - remove the magicConvertor which cause problem for the certificate
2023-04-10 10:32:31 +02:00
devplant
52480314c3 RED-6362 - Cannot add KMS signature
- update saveDigitalSignatureKms signature
- move the convert from DigitalSignatureKms to DigitalSignatureKmsEntity to the service
- remove the magicConvertor which cause problem for the certificate
bugfix/RED-6362-kms_3
2023-04-07 16:29:42 +03:00
devplant
d92409dadb RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants
- extract the name of the unique constraint
RED-5504-message_5
2023-04-07 16:22:07 +03:00
Corina Olariu
1fb1066436 Pull request #665: RED-6496 - By create new dossier states: DossierTemplateId and ColorCode mixed up
Merge in RED/persistence-service from bugfix/RED-6496 to master

* commit '64ff80c444cb23719e1e1b55eb04aaa24722cc28':
  RED-6496 - By create new dossier states: DossierTemplateId and ColorCode mixed up - switch the dossierTemplateId with color when retrieving information from repository into model DossierStatusInfo
2.35.0 bugfix/RED-6548_2
2023-04-06 21:47:34 +02:00
devplant
64ff80c444 RED-6496 - By create new dossier states: DossierTemplateId and ColorCode mixed up
- switch the dossierTemplateId with color when retrieving information from repository into model DossierStatusInfo
bugfix/RED-6496_4
2023-04-06 16:36:37 +03:00
devplant
be0978a299 RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants
- update the sql messages
RED-5504-message_4
2023-04-06 16:34:26 +03:00
Timo Bejan
76d264ec43 Pull request #664: RED-6523 - ui multitenancy issue for dev realms
Merge in RED/persistence-service from RED-6523-ui-multitenancy to master

* commit 'd8d37170667996f08ed2c31e507a278c4d9533f8':
  RED-6523 - ui multitenancy issue for dev realms
2.34.0 RED-5504-message_2 bugfix/RED-6496_2
2023-04-05 15:22:37 +02:00
Viktor Seifert
4df0a54c9e Pull request #663: RED-6501
Merge in RED/persistence-service from RED-6501 to master

* commit '45d23e3ff48ed858e359a86703ceffce5fd2fb98':
  RED-6501: Re-added a simpler manual definition of deletion methods.
  RED-6501: Removed unneeded manually implemented delete queries
  RED-6501: Corrected manual-redaction deletion.
2.33.0
2023-04-05 14:00:32 +02:00
Timo Bejan
d8d3717066 RED-6523 - ui multitenancy issue for dev realms RED-6523-ui-multitenancy_2 2023-04-05 13:58:08 +03:00
Viktor Seifert
45d23e3ff4 Merge branch 'master' into RED-6501 RED-6501_7 2023-04-05 12:07:09 +02:00
Viktor Seifert
e3dbd3ea1d RED-6501: Re-added a simpler manual definition of deletion methods.
They are needed to prevent exceptions in the case of non-existing entities
RED-6501-2 RED-6501_5
2023-04-05 11:22:49 +02:00
Viktor Seifert
b81aaedeab RED-6501: Removed unneeded manually implemented delete queries 2023-04-04 16:13:07 +02:00
Corina Olariu
4c3e116447 Pull request #657: RED-5504
Merge in RED/persistence-service from RED-5504 to master

* commit '663770bf9b262c30af3f5c9ccf034bea65100dc2':
  RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants - remove tenantsHostAndSchemaMap - update junit test
  RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants - update junit test
  RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants - add junit test
  RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants - add unique constraints to tenants table
2.32.0
2023-04-04 14:21:46 +02:00
devplant
663770bf9b RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants
- remove tenantsHostAndSchemaMap
- update junit test
RED-5504_9
2023-04-04 14:43:20 +03:00
Dominique Eiflaender
cf1e271546 Pull request #662: RED-6531: Enabled to set email, firstname and lastname for users at create realm
Merge in RED/persistence-service from RED-6531 to master

* commit '71d42dfdbb6062350481f02989e4893c0cc91c47':
  RED-6531: Enabled to set email, firstname and lastname for users at create realm
2.31.0
2023-04-04 11:21:59 +02:00
deiflaender
71d42dfdbb RED-6531: Enabled to set email, firstname and lastname for users at create realm RED-6531_2 2023-04-04 11:08:09 +02:00
Dominique Eiflaender
d26cbbe3eb Pull request #661: RED-4515 ri
Merge in RED/persistence-service from RED-4515-ri to master

* commit '1d759c8e30abaf83a30638a4aeb39671dceb8f9f':
  RED-4515: Reimplemented datasource cache
  RED-4515: Enabled to set tenant connection pool size
2023-04-04 11:06:05 +02:00
deiflaender
1d759c8e30 RED-4515: Reimplemented datasource cache RED-4515-ri_4 2023-04-04 10:47:37 +02:00
deiflaender
3e1157f85f RED-4515: Enabled to set tenant connection pool size 2023-04-04 09:00:09 +02:00
Viktor Seifert
ffc4e9bd0e RED-6501: Corrected manual-redaction deletion.
Removed manual delete-query implementation because it was redundant and also contained an incorrect destination entity.
RED-6501-1
2023-04-03 16:56:34 +02:00
Dominique Eiflaender
b41aa58e54 Pull request #658: RED-6224: Fixed log output in tenant datasource cache
Merge in RED/persistence-service from RED-6224 to master

* commit 'ed33991438fa7d1871c167e6682f76416b2cc85e':
  RED-6224: Fixed log output in tenant datasource cache
2.30.0
2023-04-03 12:07:16 +02:00
deiflaender
ed33991438 RED-6224: Fixed log output in tenant datasource cache RED-6224_54 2023-04-03 11:53:29 +02:00
devplant
de8d1178e7 RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants
- update junit test
RED-5504_6 RED-5504_7
2023-04-03 12:04:57 +03:00
devplant
308811f942 RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants
- add junit test
2023-04-03 09:56:39 +03:00
devplant
58accbd54d Merge branch 'master' of ssh://git.iqser.com:2222/red/persistence-service into RED-5504 2023-03-31 18:00:33 +03:00
Dominique Eiflaender
c674717ebe Pull request #656: RED-4515: Do not set schema when create datasource for tenant
Merge in RED/persistence-service from RED-4515 to master

* commit '8fd0dd5735d310927b19980fc099ef07bf18cfa2':
  RED-4515: Do not set schema when create datasource for tenant
2.29.0
2023-03-31 16:33:24 +02:00
deiflaender
8fd0dd5735 RED-4515: Do not set schema when create datasource for tenant RED-4515_78 2023-03-31 16:25:38 +02:00
devplant
0decb33035 RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants
- add unique constraints to tenants table
RED-5504_4
2023-03-31 16:19:42 +03:00
Dominique Eiflaender
ab6b0a5313 Pull request #655: RED-6224: Fixed non working redis config for user cache
Merge in RED/persistence-service from RED-6224 to master

* commit '904de033a0917830ea63a5786f0fbb48abce8fe7':
  RED-6224: Fixed non working redis config for user cache
2.28.0 RED-5481_6
2023-03-31 13:56:31 +02:00
deiflaender
904de033a0 RED-6224: Fixed non working redis config for user cache RED-6224_52 2023-03-31 13:01:26 +02:00
Viktor Seifert
a8c0ad42d1 Pull request #654: RED-6497 Porting to 4.0
Merge in RED/persistence-service from RED-6497 to master

* commit '78758a2a418a816f4efe0f7d64647926377ad4f7':
  RED-6497: Moved test to the same package as the class being tested
  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: Removed alternate file size check because it offers less error reporting capabilities
2.27.0
2023-03-31 12:35:33 +02:00
Viktor Seifert
78758a2a41 RED-6497: Moved test to the same package as the class being tested RED-6497_13 2023-03-31 12:03:40 +02:00
Viktor Seifert
4c25ac402d RED-6497: Removed alternate file size check because it offers less error reporting capabilities 2023-03-31 12:00:56 +02:00
Viktor Seifert
338b06079b RED-6497: Fixed issue where the file-size of download was saved incorrectly.
* 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.
2023-03-31 12:00:42 +02:00
Viktor Seifert
6e9bcd7bb1 RED-6497: Changed code to use a different method of getting a file size to have better error reporting 2023-03-31 11:49:05 +02:00