RED-8702: Explore document databases to store entityLog
* removed observed
This commit is contained in:
parent
280ac027c1
commit
04fec15490
@ -28,7 +28,6 @@ import com.knecon.fforesight.service.layoutparser.internal.api.data.redaction.Do
|
||||
import com.knecon.fforesight.tenantcommons.TenantContext;
|
||||
|
||||
import io.micrometer.core.annotation.Timed;
|
||||
import io.micrometer.observation.annotation.Observed;
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.SneakyThrows;
|
||||
@ -80,7 +79,6 @@ public class RedactionStorageService {
|
||||
|
||||
|
||||
@SneakyThrows
|
||||
@Observed(name = "FileManagementStorageService", contextualName = "save-entity-log")
|
||||
public void saveEntityLog(String dossierId, String fileId, EntityLog entityLog) {
|
||||
|
||||
entityLogMongoService.saveEntityLog(dossierId, fileId, entityLog);
|
||||
@ -141,7 +139,6 @@ public class RedactionStorageService {
|
||||
|
||||
|
||||
@Timed("redactmanager_getRedactionLog")
|
||||
@Observed(name = "FileManagementStorageService", contextualName = "get-entity-log")
|
||||
public EntityLog getEntityLog(String dossierId, String fileId) {
|
||||
|
||||
try {
|
||||
@ -212,7 +209,6 @@ public class RedactionStorageService {
|
||||
}
|
||||
|
||||
|
||||
@Observed(name = "FileManagementStorageService", contextualName = "entity-log-exists")
|
||||
public boolean entityLogExists(String dossierId, String fileId) {
|
||||
|
||||
return entityLogMongoService.entityLogDocumentExists(dossierId, fileId);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user