Second log
This commit is contained in:
parent
8086b95eb1
commit
9af432768d
@ -133,6 +133,8 @@ public class AnalyzeService {
|
|||||||
|
|
||||||
DictionaryIncrement dictionaryIncrement = dictionaryService.getDictionaryIncrements(analyzeRequest.getDossierTemplateId(), new DictionaryVersion(redactionLog.getDictionaryVersion(), redactionLog.getDossierDictionaryVersion()), analyzeRequest.getDossierId());
|
DictionaryIncrement dictionaryIncrement = dictionaryService.getDictionaryIncrements(analyzeRequest.getDossierTemplateId(), new DictionaryVersion(redactionLog.getDictionaryVersion(), redactionLog.getDossierDictionaryVersion()), analyzeRequest.getDossierId());
|
||||||
|
|
||||||
|
log.info("DictionaryIncremet: {}", dictionaryIncrement.getValues().stream().map(v -> v.getValue()).collect(Collectors.toList()));
|
||||||
|
|
||||||
Set<Integer> sectionsToReanalyse = !analyzeRequest.getSectionsToReanalyse()
|
Set<Integer> sectionsToReanalyse = !analyzeRequest.getSectionsToReanalyse()
|
||||||
.isEmpty() ? analyzeRequest.getSectionsToReanalyse() : findSectionsToReanalyse(dictionaryIncrement, redactionLog, text, analyzeRequest);
|
.isEmpty() ? analyzeRequest.getSectionsToReanalyse() : findSectionsToReanalyse(dictionaryIncrement, redactionLog, text, analyzeRequest);
|
||||||
|
|
||||||
|
|||||||
@ -137,8 +137,6 @@ public class DictionaryService {
|
|||||||
|
|
||||||
private Set<DictionaryEntry> convertEntries(String typeId, Long fromVersion) {
|
private Set<DictionaryEntry> convertEntries(String typeId, Long fromVersion) {
|
||||||
|
|
||||||
log.info("TypeId: {} From version is {}", typeId, fromVersion);
|
|
||||||
|
|
||||||
var type = dictionaryClient.getDictionaryForType(typeId, fromVersion);
|
var type = dictionaryClient.getDictionaryForType(typeId, fromVersion);
|
||||||
|
|
||||||
Set<DictionaryEntry> entries = new HashSet<>(type
|
Set<DictionaryEntry> entries = new HashSet<>(type
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user