789 Commits

Author SHA1 Message Date
Timo Bejan
534efa138d Pull request #673: RED-3800 fix permissions
Merge in RED/persistence-service from RED-3800-fix-permissions to master

* commit '4b941397df3d4de38923569ac983f0c35d9276dd':
  RED-3800 - sync custom permissions and KC users based on CRON and do it more often
2023-04-24 09:18:34 +02:00
Timo Bejan
4b941397df RED-3800 - sync custom permissions and KC users based on CRON and do it more often 2023-04-21 12:44:09 +03:00
Viktor Seifert
f4c53c722e RED-6467: Remove debug config and add some debugging output 2023-04-19 17:31:16 +02:00
Viktor Seifert
fd03adefd6 RED-6467: Added config to see more information about transactions in the logs 2023-04-19 12:35:05 +02:00
Viktor Seifert
9295725adc RED-6467: Expanded dossier-template import (integration) test to use the client, to test the complete code flow 2023-04-18 15:58:21 +02:00
Viktor Seifert
225bdd5500 RED-6467: Upgrade test db version to the same version as in production 2023-04-18 12:00:47 +02:00
Viktor Seifert
c4648fa9fb RED-6467: Implemented undeletion of dictionary entries by running a native query in chunks.
This avoids a limitation in the JDBC driver.
2023-04-13 15:34:07 +02: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 2023-04-11 16:14:19 +02:00
Viktor Seifert
45d23e3ff4 Merge branch 'master' into RED-6501 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
2023-04-05 11:22:49 +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
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
2023-04-04 14:43:20 +03:00
deiflaender
1d759c8e30 RED-4515: Reimplemented datasource cache 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
devplant
de8d1178e7 RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants
- update junit test
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
0decb33035 RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants
- add unique constraints to tenants table
2023-03-31 16:19:42 +03:00
deiflaender
904de033a0 RED-6224: Fixed non working redis config for user cache 2023-03-31 13:01:26 +02:00
Viktor Seifert
78758a2a41 RED-6497: Moved test to the same package as the class being tested 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
Viktor Seifert
8ef9a285b3 RED-6497: Removed alternate file size check because it offers less error reporting capabilities 2023-03-31 11:48:32 +02:00
deiflaender
41d5d0e29e RED-4515: Set default client id for swagger-ui back to swagger-ui-client 2023-03-31 09:32:09 +02:00
deiflaender
c536e129c3 RED-4644: Simplified user creation in AbstractPersistenceServerServiceTest 2023-03-28 09:25:40 +02:00
deiflaender
6201c042f0 RED-6503: Do not override ocred pages on ocr successful, fixed unittest 2023-03-28 09:12:45 +02:00
deiflaender
44ec59c992 RED-4644: Enabled to create default users at createTenant 2023-03-27 13:16:21 +02:00
deiflaender
a20ed3a6af RED-4515: Fixed wrong setting of resource 2023-03-24 18:09:36 +01:00
deiflaender
8a0591d4b9 RED-4515: Create schema on createTenant 2023-03-24 15:26:09 +01:00
deiflaender
94aa4287ba RED-4515: Rename master realm client to redaction as this make configuration much easier 2023-03-24 13:18:56 +01:00
deiflaender
09291ea39d RED-4515: Fixed kc config 2023-03-24 09:17:02 +01:00
Timo Bejan
336a34a55e RED-4515 - kc createRealm 2023-03-23 17:29:13 +02:00
Timo Bejan
883ecf6461 RED-4515 - kc createRealm 2023-03-23 17:24:34 +02:00
Timo Bejan
91efd63311 RED-4515 - kc createRealm 2023-03-23 17:24:34 +02:00
deiflaender
e69a988e39 RED-4515: Create realm on create tenant 2023-03-23 17:24:34 +02:00
Timo Bejan
f476693409 Pull request #634: RED-4515 - Swagger multitenancy
Merge in RED/persistence-service from RED-4515-swagger to master

* commit '8561bca4ba0948c822c304057eb8ddbc82ed8fd0':
  RED-4515 - Swagger multitenancy
  RED-4515 - Swagger multitenancy
2023-03-22 13:09:38 +01:00
Timo Bejan
0c1afb6e58 RED-4515 - Swagger multitenancy 2023-03-22 13:19:06 +02:00
devplant
274e82f799 RED-6216- Allow add-to-dict for expressions consisting of less than 2 characters
- update junit test
2023-03-21 15:24:03 +02:00
devplant
c0b01d202b RED-6216- Allow add-to-dict for expressions consisting of less than 2 characters
- remove limitation of at least 2 characters for expression
- add to stopwords all ascii printable characters (lower case)
2023-03-21 15:02:11 +02:00
deiflaender
d392c1dae7 RED-6224: Enabled multitenancy for user cache 2023-03-21 12:28:36 +01:00
deiflaender
ef859f527d RED-4515: Removed workarounds that set default tenant if no tenant is available 2023-03-16 12:07:09 +01:00
Viktor Seifert
ac5406291a RED-6310: Fixed and cleaned up test after the merge from release 3.6 2023-03-14 16:17:23 +01:00
Viktor Seifert
1e2388dcae RED-6310: Updated test for download preparation test to execute all preparation steps.
Previously the last step was not executed.
2023-03-14 14:07:19 +01:00
Timo Bejan
5291820052 RED-6162 - swagger fix 2023-03-13 17:16:03 +02:00
deiflaender
eb2580e842 RED-4645: Multitenancy for storage 2023-03-10 15:16:03 +01:00
Timo Bejan
273563076b RED-5255 - ported to merged version 2023-03-10 13:24:39 +02:00
Timo Bejan
c58c9012bf RED-6162 - fixed swagger url 2023-03-10 12:57:18 +02:00
Timo Bejan
2126073c59 RED-6162 - test fixes 2023-03-10 10:56:58 +02:00
Timo Bejan
47e0e16fd9 RED-6162 - redis test container 2023-03-10 10:47:41 +02:00
Timo Bejan
72b0a3d933 RED-6162 2023-03-10 08:58:51 +02:00