516 Commits

Author SHA1 Message Date
Kilian Schuettler
4ae0a7e646 DM-285: add fileName to component endpoint 2023-10-13 11:01:10 +02:00
Yannik Hampe
f048efd42c Merge branch 'RED-7653' into 'master'
RED-7653: removed unnecessary test file, updated database-tenants-commons...

Closes RED-7653

See merge request redactmanager/persistence-service!167
2023-10-09 14:48:15 +02:00
Corina Olariu
97ab8a0783 RED-7185 - RM-46 - Error message when adjusting the Justification
- check for null for dossier template's name
- update junit test
2023-10-09 12:01:25 +03:00
yhampe
1a92b3db26 RED-7653: added cases for importing escaped and unescaped rule files 2023-10-09 09:28:13 +02:00
yhampe
02d87d7c14 fixed errors on windows because of not closed input stream
removed FileSystemBackedStorageService.java and started using import from storage-commons
2023-10-06 11:44:02 +02:00
Andrei Isvoran
d3f3817ea1 RED-7676 - Copy ocrByDefault and removeWatermark flags when cloning dossier template 2023-10-02 12:32:39 +03:00
Kilian Schuettler
3c9d247432 DM-285: Change component log
* apply overrides in ComponentLogService
* added a test for manual type change
* include overrides in getComponentLog
2023-09-22 14:16:03 +02:00
Kilian Schuettler
55153d0a09 RED-6835: clean incoming strings 2023-09-21 14:55:21 +02:00
deiflaender
ad9ef6351f RED-7578: Implemented logic of components endpoint for api v2 2023-09-15 10:36:13 +02:00
deiflaender
cb269b8e86 RED-7578: Fixed order of endpoints, set swagger endpoint to /api, fixed not used Error codes in spec 2023-09-14 14:11:40 +02:00
Kilian Schuettler
31890e6434 DM-285: update component rules version with AnalyzeResult 2023-09-13 14:46:11 +02:00
Kilian Schuettler
e2c7238c67 DM-285: make RuleFileType.ENTITY default 2023-09-12 15:41:45 +02:00
Kilian Schuettler
2e142f12e9 DM-285: fully deprecated RedactionLog, added component rule file
* return 404, when component rule file hasn't been created yet* deprecate RSSResponse
* enter clean redaction-service version
2023-09-11 15:27:06 +02:00
Kilian Schuettler
1e53942178 DM-285: fully deprecated RedactionLog, added component rule file
* return 404, when component rule file hasn't been created yet* deprecate RSSResponse
2023-09-11 13:46:46 +02:00
Kilian Schuettler
b4527e4bfe DM-285: fully deprecated RedactionLog, added component rule file 2023-09-11 13:35:02 +02:00
Andrei Isvoran
edd0c747cf RED-7572 - Change privateKey to base64EncodedPrivateKey for DigitalSignature... 2023-09-08 13:47:24 +02:00
deiflaender
c4d8f16c2e DM-410: Added endpoint to set that a timeout was detected during rule execution 2023-09-07 10:54:25 +02:00
Kilian Schuettler
5302e09b4d RED-7317: rename image-recategorization to recategorization 2023-09-01 15:50:12 +02:00
Kilian Schuettler
d40ef63116 RED-7317: Endpoint to change entity types of dict-based annotations
* fix tests
2023-08-30 15:46:49 +02:00
Kilian Schuettler
d25b8c3934 RED-7317: Endpoint to change entity types of dict-based annotations
* fixed tests
2023-08-30 15:28:35 +02:00
Kilian Schuettler
ea5f79d67c RED-7317: Endpoint to change entity types of dict-based annotations
* added undo functionality
* fixed tests
* added recategorize with dictionary tests
2023-08-30 15:28:34 +02:00
Kilian Schuettler
aab2971d6e RED-7317: Endpoint to change entity types of dict-based annotations
* major refactor of manual redaction service
2023-08-30 15:28:20 +02:00
Kilian Schuettler
0b173ec930 RED-7317: Keep user-edited paragraph/location when recategorizing entity
* refactor of ManualRedactionService, still WIP
2023-08-30 15:28:17 +02:00
deiflaender
8c7435f8b4 RED-7508: Fixed undelete of false positive entries at manual redaction at false positive to all dossiers 2023-08-30 12:26:06 +02:00
Corina Olariu
698fcbe2b7 RED-6860 - Transaction timeout while preparing download
- add getObject for the download of archives
2023-08-28 18:29:56 +03:00
Kilian Schuettler
8b1d26e4e5 RED-7493: fix tests 2023-08-22 15:43:33 +02:00
Kilian Schuettler
1ac0a184b7 RED-7493: provide error messages in upload endpoint 2023-08-22 15:08:45 +02:00
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
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
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