776 Commits

Author SHA1 Message Date
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
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
Viktor Seifert
dcc83474e6 Pull request #616: RED-6310
Merge in RED/persistence-service from RED-6310 to master

* commit '45bd8e600328ce85c8457525b605da2c16dd70c8':
  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
  RED-6310: Refomatted sql query for readability
2023-03-08 09:32:53 +01:00
deiflaender
ec7ad9a0e8 RED-6254: Store all connection information in master database 2023-03-07 16:51:00 +01:00
Viktor Seifert
40d6961742 RED-6310: Moved code for multithreaded tests to a helper class 2023-03-07 11:36:44 +01:00
Viktor Seifert
fd7f39bc7e RED-6310: Removed not needed code from test 2023-03-07 10:57:33 +01:00
Viktor Seifert
b1d79970c0 RED-6310: Added setup of tenant id to fix the service test 2023-03-07 10:53:47 +01:00
Viktor Seifert
ef36f5c10f RED-6310: Added tests to check if concurrent access to notification-preferences works 2023-03-06 18:58:07 +01:00
Viktor Seifert
63741b08d6 RED-5481: Split jdbc-url field into multiple fields
Replaced the single jdbc-url field with multiple fields for each url part.  This makes it possible to use just a part of the db-connection.  We need the schema for multitenancy.
2023-03-06 11:55:14 +01:00
devplant
c735a5d0ef RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit test
2023-03-01 15:57:18 +02:00
devplant
9b5c6b876e RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit failure
2023-03-01 14:59:51 +02:00
devplant
119c5aeb33 RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit test failure
2023-03-01 14:51:41 +02:00
devplant
ec002c399b RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit test
2023-03-01 14:47:18 +02:00
devplant
dc1ccebcbe RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit tests from 4 to 5
2023-03-01 14:38:44 +02:00
Ali Oezyetimoglu
19c87fa6bc RED-5256: refactored checks and added findAllById for dossiers 2023-02-17 15:12:54 +01:00