RED-6009 - Document Tree Structure
* improved logging for performance monitoring
This commit is contained in:
parent
1a6e678b00
commit
2f63627b60
@ -160,11 +160,16 @@ public class AnalyzeService {
|
||||
}
|
||||
|
||||
List<EntityRecognitionEntity> nerEntities = getEntityRecognitionEntities(analyzeRequest, documentGraph);
|
||||
log.info("Found {} Entity Recognition Service Entities", nerEntities.size());
|
||||
KieContainer kieContainer = droolsExecutionService.updateRules(analyzeRequest.getDossierTemplateId());
|
||||
log.info("Rules updated");
|
||||
Dictionary dictionary = dictionaryService.getDeepCopyDictionary(analyzeRequest.getDossierTemplateId(), analyzeRequest.getDossierId());
|
||||
log.info("Dictionary updated");
|
||||
|
||||
sectionsToReAnalyse.forEach(node -> entityRedactionService.addDictionaryEntities(dictionary, node));
|
||||
log.info("Dictionary search finished");
|
||||
Set<FileAttribute> addedFileAttributes = entityRedactionService.addRuleEntities(dictionary, documentGraph, sectionsToReAnalyse, kieContainer, analyzeRequest, nerEntities);
|
||||
log.info("Rule execution finished");
|
||||
|
||||
List<RedactionLogEntry> newRedactionLogEntries = redactionLogCreatorService.createRedactionLog(documentGraph, analyzeRequest.getDossierTemplateId());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user