994 Commits

Author SHA1 Message Date
Corina Olariu
033493aaee RED-9063 - Error 409 when requesting deleted types
- add a check before creating dossier level types on the fly if the dossier template type is not deleted
- add unit test

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-04-25 15:43:18 +03:00
Andrei Isvoran
d5494660bc RED-8823 - fix pmd 2024-04-23 14:01:26 +03:00
Andrei Isvoran
2aff32f33e RED-8894 - Add soft deleted time to type response 2024-04-23 13:45:15 +03:00
Andrei Isvoran
1adf46179e RED-8894 - Add dictionary difference endpoint 2024-04-22 14:57:15 +02:00
Ali Oezyetimoglu
1d47744b30 RED-8480: small fixes and tests 2024-04-17 16:14:35 +02:00
Ali Oezyetimoglu
dcb5c0e03e RED-8480: differenciate between recategorize and legal basis change 2024-04-17 16:14:35 +02:00
Ali Oezyetimoglu
b11c95dd39 RED-8480: differenciate between recategorize and legal basis change 2024-04-17 16:14:35 +02:00
Timo Bejan
6b82815b7a Merge branch 'RED-8966' into 'master'
RED-8966 Improved performance of soft and hard delete files and dossirs, and...

Closes RED-8966

See merge request redactmanager/persistence-service!456
2024-04-17 10:05:21 +02:00
Timo Bejan
fac8a1ac85 RED-8966 Improved performance of soft and hard delete files and dossirs, and undelete - split transaction and vastly improved query performance 2024-04-16 18:25:07 +03:00
Andrei Isvoran
c8244781b4 RED-8768 - Validate redaction value does not contain over 4000 characters 2024-04-16 14:06:40 +02:00
Maverick Studer
92cc2895ad RED-8702: Explore document databases to store entityLog 2024-04-12 12:40:22 +02:00
Maverick Studer
57cb10ba1d RED-8702: Explore document databases to store entityLog 2024-04-11 15:51:58 +02:00
Andrei Isvoran
1c60bc6586 RED-8651 - Evict report templates cache on template upload 2024-04-09 09:37:58 +02:00
Corina Olariu
a37ac83339 Merge branch 'RED-8727-updateRank' into 'master'
RED-8727 - Add rank de-duplication to migration - fp

Closes RED-8727

See merge request redactmanager/persistence-service!431
2024-04-05 14:38:32 +02:00
Kilian Schuettler
5bfeec1b21 RED-7384: migration fixes
* fix test
2024-04-05 13:27:36 +02:00
Corina Olariu
29a274fdb0 RED-8727 - Add rank de-duplication to migration - fp
- add an update rank for type query because the updateType will not cover the update of ranks of system managed types (which is not possible for the user)
- update the tests

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-04-05 13:44:15 +03:00
Maverick Studer
8e8aa645d0 RED-8702: Explore document databases to store entityLog 2024-04-03 13:33:27 +02:00
Andrei Isvoran
3ab607ccbf RED-8776 - Add local redaction when we do a manual change on a non-manual redaction 2024-04-02 08:38:08 +02:00
Ali Oezyetimoglu
6601ee0188 RED-8480: added property value for recategorizations and fixed bugs not updating legal basis and section 2024-03-26 17:42:15 +01:00
Kilian Schüttler
ba8cf68779 reorder-log: re-order the pending entries, such that they appear directly... 2024-03-21 08:44:15 +01:00
Ali Oezyetimoglu
7490402bb7 Merge branch 'RED-8480-B' into 'master'
RED-8480: integrated legal basis  endpoint in recategorize endpoint

Closes RED-8480

See merge request redactmanager/persistence-service!396
2024-03-20 18:24:09 +01:00
Ali Oezyetimoglu
a5e3c0c98a RED-8820: removed property "value" from recategorize 2024-03-20 12:54:23 +01:00
Ali Oezyetimoglu
8a4c754250 RED-8480: adjusted propertyChanges in manual changes 2024-03-19 09:20:21 +01:00
Corina Olariu
b2cf55b5cc RED-8727 - Add rank de-duplication to migration
- add RankDeDuplicationService and RankDeduplicationMigration16 to update the found duplicate ranks
- junit tests added

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-14 12:20:17 +02:00
Ali Oezyetimoglu
3fde378ade RED-8480: integrated legal basis endpoint in recategorize endpoint 2024-03-14 09:58:21 +01:00
Corina Olariu
6654dc9546 RED-7049 - Wrong error code when adding entity with already existing rank - backport
- remove commented coded

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-11 15:51:19 +02:00
Corina Olariu
9eb0e5e8df RED-7049 - Wrong error code when adding entity with already existing rank - backport
- reworked the junit test and renamed it

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-11 15:02:47 +02:00
Corina Olariu
f8645ef50c RED-7049 - Wrong error code when adding entity with already existing rank - backport
- add a check for duplicate ranks before cloning or exporting a dossier template
- added junit tests

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-11 11:01:56 +02:00
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