From ce6ec13b4c7acd2f1e60eb471d960b5e880ddf8e Mon Sep 17 00:00:00 2001 From: Ali Oezyetimoglu Date: Mon, 17 Jun 2024 16:49:08 +0200 Subject: [PATCH] RED-9360: changed "redaction" to "annotation" for manual redactions to make it DM-conform --- .../api/impl/controller/ManualRedactionController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/persistence-service-v1/persistence-service-external-api-impl-v1/src/main/java/com/iqser/red/persistence/service/v1/external/api/impl/controller/ManualRedactionController.java b/persistence-service-v1/persistence-service-external-api-impl-v1/src/main/java/com/iqser/red/persistence/service/v1/external/api/impl/controller/ManualRedactionController.java index 320fc650e..0bd75f712 100644 --- a/persistence-service-v1/persistence-service-external-api-impl-v1/src/main/java/com/iqser/red/persistence/service/v1/external/api/impl/controller/ManualRedactionController.java +++ b/persistence-service-v1/persistence-service-external-api-impl-v1/src/main/java/com/iqser/red/persistence/service/v1/external/api/impl/controller/ManualRedactionController.java @@ -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()));