342 Commits

Author SHA1 Message Date
devplant
1858e462e0 RED-6072 - As Operation I want to see why files are in an ERROR state
- update junit test
2023-05-17 10:10:51 +03:00
devplant
5bf42a6c60 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
2023-05-16 18:55:59 +03:00
Viktor Seifert
6165a5eea1 Merge branch 'master' into RED-6720 2023-05-05 14:49:42 +02:00
devplant
113947d216 RED-6034 - Possible to assign a file to unauthorized users
- update junit test
2023-05-04 10:29:15 +03:00
Viktor Seifert
740b9ba040 RED-6270: Repackaged incorrectly packaged dossier template and created dossier template import test that always runs (it does not have local dependencies) 2023-05-03 13:04:33 +02:00
Viktor Seifert
412b3fb3c8 Merge branch 'master' into RED-6270 2023-05-02 10:15:10 +02:00
Viktor Seifert
2bc2e48768 RED-6270: Changed batch execution to use the batch size provided by the configuration 2023-04-28 16:05:13 +02:00
Viktor Seifert
080014021b RED-6270: Implemented the adding of dictionary entries via batch updates to improve writing speed 2023-04-28 15:33:26 +02:00
devplant
6d9a62178d RED-6034 - Possible to assign a file to unauthorized users
- rework user provider
2023-04-28 15:26:17 +03:00
devplant
d9b589d8eb 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
2023-04-27 13:33:24 +03:00
devplant
afb4075fdc 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
2023-04-25 11:54:20 +03: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
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
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
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
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
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