805 Commits

Author SHA1 Message Date
devplant
656b0719ba RED-6770 - Cannot overwrite dossierTemplate by import
- test junit
2023-05-30 09:28:44 +03:00
Corina Olariu
9a44ba7658 Pull request #694: RED-6072
Merge in RED/persistence-service from RED-6072 to master

* commit 'eff8eeaf03f76c12ca700ff4bb4f7688c291fab6':
  RED-6072 - As Operation I want to see why files are in an ERROR state - update junit tests
  RED-6072 - As Operation I want to see why files are in an ERROR state - add @Transactional for the update
  RED-6072 - As Operation I want to see why files are in an ERROR state - update the new endpoints with different path than the original endpoints
  RED-6072 - As Operation I want to see why files are in an ERROR state - set back the initial endpoints for backward compatibility
  RED-6072 - As Operation I want to see why files are in an ERROR state - update junit test
  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-25 09:12:35 +02:00
Viktor Seifert
6a98c9229b RED-6777: Added a test for a dictionary update and delete with a large number of entries 2023-05-22 15:35:01 +02:00
devplant
eff8eeaf03 RED-6072 - As Operation I want to see why files are in an ERROR state
- update junit tests
2023-05-18 10:50:49 +03:00
Viktor Seifert
a8a612de55 RED-6770: Fixed lazy init exception in dossier template import by eagerly fetching the needed collection 2023-05-17 15:37:19 +02:00
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
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