966 Commits

Author SHA1 Message Date
Maverick Studer
f5f33978ed Merge branch 'RED-7700' into 'master'
RED-7700: Safe rule execution

Closes RED-7700

See merge request redactmanager/persistence-service!378
2024-03-08 15:06:14 +01:00
Maverick Studer
d845b4cef2 RED-7700: Safe rule execution 2024-03-08 15:06:14 +01:00
Kilian Schüttler
82ed6b0b05 Merge branch 'RED-7384' into 'master'
RED-7384: migration fixes forward port

Closes RED-7384

See merge request redactmanager/persistence-service!379
2024-03-08 14:22:54 +01:00
Kilian Schüttler
c2110cd965 RED-7384: migration fixes forward port 2024-03-08 14:22:54 +01:00
Timo Bejan
dff30d5f7d Merge branch 'clari-30' into 'master'
Updated integration of OCR service

See merge request redactmanager/persistence-service!380
2024-03-08 14:16:50 +01:00
Timo Bejan
042f3a079c Updated integration of OCR service 2024-03-08 15:06:03 +02:00
Timo Bejan
81b66236f9 Merge branch 'clari-30' into 'master'
CLARI-30 - reworked OCR service integration to work via queue only, depercated...

See merge request redactmanager/persistence-service!372
2024-03-05 14:11:12 +01:00
Timo Bejan
47a9bc0343 Retry ocr 2024-03-05 10:48:45 +02:00
Corina Olariu
98f743052d RED-7049 - Wrong error code when adding entity with already existing rank
- update junit so the rank of the types differs

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-04 11:00:51 +02:00
Corina Olariu
4d107b2475 RED-7049 - Wrong error code when adding entity with already existing rank
- correct the query to get the type with same rank.
- changed to get the list of types instead of a one result for the case with several types with the same rank
- added junit tests

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-04 10:30:54 +02:00
Kilian Schuettler
4aa5b0ee34 reformat 2024-02-28 14:57:21 +01:00
Kilian Schuettler
b196544131 RED-8615: Revert and change the current behaviour of manualChanges 2024-02-28 09:32:45 +01:00
Corina Olariu
ea3d47f435 Merge branch 'RED-8589' into 'master'
RED-8589 - Add "MANUAL" engine to all annotations that has entries in manualChanges

Closes RED-8589

See merge request redactmanager/persistence-service!361
2024-02-23 10:50:18 +01:00
Corina Olariu
6375cedaee Merge branch 'RED-7886-dryrun' into 'master'
RED-7886 - Endpoint for rule validation

Closes RED-7886

See merge request redactmanager/persistence-service!360
2024-02-23 10:21:53 +01:00
Corina Olariu
17667d067d RED-8589 - Add "MANUAL" engine to all annotations that has entries in manualChanges
- add Engine.Manual for manual changes in the entity log entries in case the analysis is stopped

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-23 09:10:35 +02:00
Ali Oezyetimoglu
d5244846a9 RED-8480: removed Nonnull annotation for legal basis when recategorizing; changed to empty String, if null is passed 2024-02-21 15:03:37 +01:00
Corina Olariu
4091f21076 RED-7886 - Endpoint for rule validation
- add dry-run parameter, based on this save the rules or not and include warnings in the responses.
- added junit tests

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-21 15:40:10 +02:00
Corina Olariu
574f05b800 Merge branch 'RED-5716' into 'master'
RED-5716 - Deprecate old prepare endpoints

Closes RED-5716

See merge request redactmanager/persistence-service!356
2024-02-20 07:54:05 +01:00
Andrei Isvoran
50d25ead38 RED-8494 - Don't allow creation of File Attributes with empty label 2024-02-19 17:33:44 +01:00
Andrei Isvoran
4eb9240bf7 RED-6940 - Sanitize /r in dictionary entries 2024-02-19 15:06:30 +01:00
Corina Olariu
318d15f758 RED-5716 - Deprecate old prepare endpoints
- deprecate the old endpoint, update test unit with new endpoint

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-19 15:39:36 +02:00
Ali Oezyetimoglu
caba58ec19 Merge branch 'RED-8480-2' into 'master'
Resolve RED-8480 "2"

Closes RED-8480

See merge request redactmanager/persistence-service!354
2024-02-16 12:57:57 +01:00
Ali Oezyetimoglu
e8c3d3dc65 RED-8480: small fixes 2024-02-16 11:49:03 +01:00
Yannik Hampe
57b046d821 Merge branch 'RED-8481' into 'master'
RED-8481: Use visual layout parsing to detect signatures

Closes RED-8481

See merge request redactmanager/persistence-service!351
2024-02-16 08:46:36 +01:00
Ali Oezyetimoglu
e681651420 RED-8480: added some checks and tests 2024-02-15 22:19:51 +01:00
maverickstuder
51f28963ff RED-8432: Return 400 if invalid date for file attributes is set 2024-02-12 09:14:49 +01:00
yhampe
3664f6800a RED-8481: Use visual layout parsing to detect signatures
integrated service
2024-02-12 09:12:59 +01:00
Andrei Isvoran
34c7e51ae8 RED-7086 - Deprecate hard-delete files and add new endpoint with POST request 2024-02-09 15:32:31 +01:00
Maverick Studer
97cc851de1 RED-8432: Return 400 if invalid input for attributes is given 2024-02-07 14:01:06 +01:00
maverickstuder
6b665066f3 RED-7368: Placeholder not updated after update/rename file/dossier attribute 2024-02-06 15:31:59 +01:00
Andrei Isvoran
bda907d283 RED-8428 - Keep RESIZE for backwards compatibility for documine. RESIZE will... 2024-02-05 14:05:20 +01:00
Andrei Isvoran
85c4f77828 RED-8428 - Add RESIZE_LOCALLY and RESIZE_IN_DICTIONARY in ManualRedactionType to differentiate between the two operations 2024-02-05 09:20:18 +01:00
Dominique Eifländer
2b019542bd RED-8171: Traces do not stop at @Async 2024-02-02 13:14:12 +01:00
Andrei Isvoran
06570a33e8 RED-8242 - Set AREA entry type for unprocessed rectangle redactions 2024-01-11 15:27:18 +01:00
Dominique Eifländer
cf4a650fb5 RED-8174: Fixed transaction handling for notification preferences 2024-01-09 10:38:09 +01:00
Timo Bejan
d0571a436c Fixed transitive dependencies and concurrent download issue RED-8175 2024-01-08 10:20:10 +02:00
Andrei Isvoran
4deadfec0b RED-8114 - Allow editing of unprocessed manual changes 2023-12-21 09:45:13 +01:00
Kilian Schüttler
1ea65a256c RED-7834: fix migration issues 2023-12-20 12:28:46 +01:00
Dominique Eifländer
f568cf2eec RED-8034: Always load entityLog from persistence-service because excluded pages are calculated there 2023-12-19 16:34:09 +01:00
Andrei Isvoran
f71976e595 RED-8043 - Refactor entity log merge & don't send surrounding analysis request for dictionary adds 2023-12-19 16:06:39 +01:00
Dominique Eifländer
995ff6b725 RED-8034: Exclude entries from entitylog for exluded pages without analyse 2023-12-19 13:40:32 +01:00
Andrei Isvoran
8c854900cc RED-8043 - Refactor EntityLog merge mechanism 2023-12-14 15:06:32 +01:00
Dominique Eifländer
36e76b0273 RED-5223: Added tracing for scheduled analysis, and add fileId on upload to trace 2023-12-14 11:28:14 +01:00
Dominique Eifländer
56db92bf39 RED-5223: Use tracing-commons from fforesight 2023-12-13 14:50:37 +01:00
Dominique Eifländer
9e3191dabd RED-5223: Fixed not working tracing when comes from queue, upgraded ocr service 2023-12-12 15:05:18 +01:00
Kilian Schüttler
87f841d9dd RED-7834: fix migration issues 2023-12-11 15:46:32 +01:00
Dominique Eifländer
c1540943a4 RED-1137: Enabled tracing, enabled traceId/spanId in Json logging, send custom attributes for namespace and version 2023-12-08 13:40:11 +01:00
Timo Bejan
f8157e4448 Merge branch 'RED-6661' into 'master'
Por change for local dev

Closes RED-6661

See merge request redactmanager/persistence-service!255
2023-12-07 00:24:42 +01:00
Timo Bejan
05db55adca Por change for local dev 2023-12-07 01:13:45 +02:00
Andrei Isvoran
170cc61000 RED-7715 - Modify log4j config to enable switching between console and json based on env var 2023-12-06 09:30:37 +01:00