858 Commits

Author SHA1 Message Date
deiflaender
3ae67b77e4 hotfix: load test-containers docker images from docker-dev.knecon.com/tests/ 2023-08-17 15:15:24 +02:00
Andrei Isvoran
02af9810df RED-6864 - Optimization of Upload and Download for Large Files in Azure Blob... 2023-08-16 21:05:40 +02:00
Ali Oezyetimoglu
a58d4d38cf RED-7241: refactored some code and deleted dead code 2023-08-11 12:06:23 +02:00
Ali Oezyetimoglu
7bb42d5131 RED-7241: added many log files to debug strange behaviour 2023-08-11 12:06:23 +02:00
Ali Oezyetimoglu
cd945eea82 RED-7241: fixed logic to adapt resize endpoints;
removed unused and deprecated methods
2023-08-11 12:06:23 +02:00
Ali Oezyetimoglu
8701d24f96 RED-7241: adapted resize endpoints for multi-level dictionaries and added Junit tests and did some refactoring 2023-08-11 12:06:23 +02:00
Corina Olariu
2bcee8ccc2 RED-6864 - Optimization of Upload and Download for Large Files in Azure Blob Storage and AWS S3/MinIO
- update to the new version for storage-commons
- replace getObject from storageService with downloadTo
- update tests
2023-08-08 18:59:00 +03:00
Kilian Schuettler
e794a8effd add application type 2023-08-01 10:45:26 +02:00
Kilian Schuettler
4105563036 RED-6725: deprecate FileType.TEXT, fix tests 2023-08-01 10:45:26 +02:00
Kilian Schuettler
c9254532d7 RED-6725: fix test mock 2023-08-01 10:45:26 +02:00
Kilian Schuettler
4977090070 RED-6725: integrate layoutparsing service
* updated layout parser version
* added layout parsing type
2023-08-01 10:45:26 +02:00
Kilian Schuettler
12703c6eda RED-6725: integrate layoutparsing service 2023-08-01 10:45:26 +02:00
Andrei Isvoran
bb799a15b3 RED-6992 - Add removeWatermark flag for dossier template 2023-07-31 14:27:54 +03:00
Andrei Isvoran
d515014468 RED-6992 - Add ocrByDefault flag for dossier template 2023-07-27 17:38:30 +03:00
Corina Olariu
8860e9d040 RED-7034 - Check for dossierDictionaryOnly flag when add to template dict is requested
- update junit tests
2023-07-07 12:42:29 +03:00
Corina Olariu
69566a2614 RED-7034 - Check for dossierDictionaryOnly flag when add to template dict is requested
- before adding / deleting entries to a dossier template dictionary check if the flag dossierDictionaryOnly is set true
- the same check is needed in case of manual redactions ; adding, removing
- add junit tests
2023-07-07 09:54:09 +03:00
Timo Bejan
a2f7a2d85b RED-7094 - extracted liquibase code 2023-07-06 12:30:15 +03:00
Corina Olariu
e38c09d4a2 RED-7026_RED-6743_RED-6734- Simplified redaction flow
- filter the merged dictionary so the deleted entries are not present
- sorting the entries in the merged endpoint
- check before creating a dossier level type if the dossier and dossier template are matching
- add and update junit tests
2023-06-30 15:47:52 +03:00
Timo Bejan
003cefbefc Springdoc fixes 2023-06-29 09:25:55 +03:00
Timo Bejan
e763750efa Resolve RED-6686 "2" 2023-06-27 22:50:16 +02:00
Timo Bejan
dc6a004365 RED-6686 Extract Tenant and user-management code into a separate service. 2023-06-26 22:44:52 +02:00
Corina Olariu
2f96962351 Merge branch 'RED-6912-ignorecase' into 'master'
RED-6912- Entries not sorted correctly in the dossier dictionary

Closes RED-6912

See merge request redactmanager/persistence-service!28
2023-06-26 12:39:43 +02:00
Corina Olariu
c23d3572b8 Merge branch 'RED-6734-update' into 'master'
RED-6734 - Get merged dossier and template dictionaries

Closes RED-6734

See merge request redactmanager/persistence-service!25
2023-06-26 12:16:43 +02:00
Corina Olariu
df2739713a RED-6912- Entries not sorted correctly in the dossier dictionary
- update the sorting to be case-insensitive
- update junit tests
2023-06-26 10:27:27 +03:00
Corina Olariu
c4d22dfc85 RED-6734 - Get merged dossier and template dictionaries
- update the endpoint to get the merged dictionaries for the given type, dossier template and dossier
- update junit tests
2023-06-23 16:25:33 +03:00
Corina Olariu
f77a6bbf05 RED-6631 - RED_USER and RED_MANAGER-Role must not delete dossier templates
- check that only admin users can delete the dossier template
- add junit tests
2023-06-23 16:02:04 +03:00
deiflaender
80cfa68431 RED-6543: Fixed file attribute scheduling race condition 2023-06-23 13:02:47 +02:00
Corina Olariu
43aa2fba7c RED-6912 - Entries not sorted correctly in the dossier dictionary
- sort entries and falsePositives and falseRecommendations in endpoint getDictionaryForType
- add junit tests
2023-06-21 13:57:37 +03:00
deiflaender
742d29c76a RED-6543: Fixed findings in license report 2023-06-21 09:37:15 +02:00
Corina Olariu
004fe8d0d2 RED-6734 - Get merged dossier and template dictionaries
- add endpoint for the merged dictionaries
- use DictionaryEntry from commons service
- add junit tests
2023-06-20 11:28:55 +03:00
Corina Olariu
afb22f4f52 Merge branch 'master' of ssh://git.knecon.com:22222/redactmanager/persistence-service into RED-6855 2023-06-19 10:31:46 +03:00
deiflaender
6380c3a3e0 RED-6916: Removed creation of dossier_redaction Dossier Dictionary at creat dossier 2023-06-16 12:32:20 +02:00
Corina Olariu
106a27ab9a Merge branch 'master' of ssh://git.knecon.com:22222/redactmanager/persistence-service into RED-6855 2023-06-16 11:12:35 +03:00
Corina Olariu
145f1d6200 RED-6855 - Setting for default dossier template manipulation for user actions
- add flag applyDictionaryUpdatesToAllDossiersByDefault to dossier template
2023-06-16 09:46:37 +03:00
deiflaender
699a451f29 RED-6543: Changed license report to new storage logic 2023-06-15 16:48:55 +02:00
Dominique Eifländer
a11c22112c Merge branch 'RED-6485_RED-6743' into 'master'
RED-6485 - Dossier-only entity setting in the dossier template, RED-6743 -...

Closes RED-6485

See merge request redactmanager/persistence-service!2
2023-06-14 10:44:08 +02:00
Corina Olariu
7d15f30ca7 RED-6072 - As Operation I want to see why files are in an ERROR state
- add timestamp to file error info
- reset error info when file is overwritten
2023-06-13 14:13:53 +03:00
Corina Olariu
a8d4c91733 RED-6485 - Dossier-only entity setting in the dossier template, RED-6743 - Create dossier dictionaries on-the-fly
- when getting DictionaryForType, create dossier level dictionary if it does not exists
2023-06-13 13:32:05 +03:00
Corina Olariu
c6cca6a2d3 RED-6485 - Dossier-only entity setting in the dossier template, RED-6743 - Create dossier dictionaries on-the-fly
- update junit tests
2023-06-12 09:51:01 +03:00
Corina Olariu
7029c3d7c4 RED-6485 - Dossier-only entity setting in the dossier template, RED-6743 - Create dossier dictionaries on-the-fly
- remove dossierId from the endpoints of creating, updating and deleting type.
- when a type is updated / deleted all dossier levels will be updated/deleted
- when adding / deleting entries check for dossier level types and create them if needed
- update junit tests
2023-06-09 20:28:39 +03:00
deiflaender
7beee690f5 RED-6798, RED-6751, RED-6545: Enabled to add delete entries, changed permissions for manual redactions, implemented logic for addToAllDossiers 2023-06-06 13:42:47 +02:00
Corina Olariu
a6894496b0 Pull request #701: RED-6485 - Dossier-only entity setting in the dossier template
Merge in RED/persistence-service from RED-6485 to master

* commit 'b9e6e63c2ff3b33319511760ec974e96f72b4658':
  RED-6485 - Dossier-only entity setting in the dossier template - add to flag to type entity to indicate if it is dossier dictionary only - prevent update of that flag - return the added information to dictionary and type result - update junit tests
2023-06-01 09:49:09 +02:00
devplant
b9e6e63c2f RED-6485 - Dossier-only entity setting in the dossier template
- add to flag to type entity to indicate if it is dossier dictionary only
- prevent update of that flag
- return the added information to dictionary and type result
- update junit tests
2023-05-31 18:37:14 +03:00
devplant
0592dd183f RED-6770 - Cannot overwrite dossierTemplate by import
- save the existing dossier template after the updated information
- update junit test
2023-05-31 13:16:59 +03:00
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