Merge branch 'RED-9360' into 'master'

RED-9360: changed "redaction" to "annotation" for manual redactions to make it DM-conform

Closes RED-9360

See merge request redactmanager/persistence-service!548
This commit is contained in:
Ali Oezyetimoglu 2024-06-17 17:00:30 +02:00
commit 81c21b1cbe

View File

@ -177,7 +177,7 @@ public class ManualRedactionController implements ManualRedactionResource {
.userId(KeycloakSecurity.getUserId())
.objectId(fileId)
.category(AuditCategory.DOCUMENT.name())
.message("Manual redaction was added.")
.message("Manual annotation was added.")
.details(Map.of(DOSSIER_ID, dossierId, FILE_ID, fileId, ANNOTATION_ID, response.getAnnotationId()))
.build()));
@ -211,7 +211,7 @@ public class ManualRedactionController implements ManualRedactionResource {
.userId(KeycloakSecurity.getUserId())
.objectId(fileId)
.category(AuditCategory.DOCUMENT.name())
.message("Redaction was manually removed")
.message("Annotation was manually removed")
.details(Map.of(DOSSIER_ID, dossierId, FILE_ID, fileId, ANNOTATION_ID, response.getAnnotationId()))
.build()));
@ -234,7 +234,7 @@ public class ManualRedactionController implements ManualRedactionResource {
.userId(KeycloakSecurity.getUserId())
.objectId(fileId)
.category(AuditCategory.DOCUMENT.name())
.message("Skipped redaction was forced to be redacted")
.message("Skipped annotation was forced to be redacted")
.details(Map.of(DOSSIER_ID, dossierId, FILE_ID, fileId, ANNOTATION_ID, response.getAnnotationId()))
.build()));
@ -310,7 +310,7 @@ public class ManualRedactionController implements ManualRedactionResource {
.userId(KeycloakSecurity.getUserId())
.objectId(fileId)
.category(AuditCategory.DOCUMENT.name())
.message("Skipped redaction was resized to be redacted")
.message("Skipped annotation was resized to be redacted")
.details(Map.of(DOSSIER_ID, dossierId, FILE_ID, fileId, ANNOTATION_ID, response.getAnnotationId()))
.build()));