RED-8702: Explore document databases to store entityLog

This commit is contained in:
maverickstuder 2024-03-28 09:22:01 +01:00
parent dade37bf42
commit 53d3f37aa1
2 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,8 @@ public class AnalyzeService {
EntityLog entityLog = entityLogChanges.getEntityLog(); EntityLog entityLog = entityLogChanges.getEntityLog();
//hotfix for tests (todo 8702) // hotfix for tests : analysis numbers should be incremented in every follow-up request,
// then querying if the entity log exists would not be necessary
if (entityLog.getAnalysisNumber() <= 0 && !redactionStorageService.entityLogExists(analyzeRequest.getDossierId(), analyzeRequest.getFileId())) { if (entityLog.getAnalysisNumber() <= 0 && !redactionStorageService.entityLogExists(analyzeRequest.getDossierId(), analyzeRequest.getFileId())) {
redactionStorageService.insertEntityLog(analyzeRequest.getDossierId(), analyzeRequest.getFileId(), entityLog); redactionStorageService.insertEntityLog(analyzeRequest.getDossierId(), analyzeRequest.getFileId(), entityLog);

View File

@ -583,7 +583,6 @@ public abstract class AbstractRedactionIntegrationTest {
} }
// todo: 8702 check if this is the way
@BeforeEach @BeforeEach
protected void mockProvideMongoDBConnection() { protected void mockProvideMongoDBConnection() {