RED-8702: Explore document databases to store entityLog
This commit is contained in:
parent
dade37bf42
commit
53d3f37aa1
@ -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);
|
||||
|
||||
|
||||
@ -583,7 +583,6 @@ public abstract class AbstractRedactionIntegrationTest {
|
||||
}
|
||||
|
||||
|
||||
// todo: 8702 check if this is the way
|
||||
@BeforeEach
|
||||
protected void mockProvideMongoDBConnection() {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user