RED-8702: Explore document databases to store entityLog

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

View File

@ -264,7 +264,8 @@ public class AnalyzeService {
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())) {
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
protected void mockProvideMongoDBConnection() {