Logs 3
This commit is contained in:
parent
a53d11d7d9
commit
23799a9b71
@ -137,6 +137,7 @@ public class AnalyzeService {
|
|||||||
return analyze(analyzeRequest);
|
return analyze(analyzeRequest);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.info("Dictionary Version from redacrionLog {}, dossierDictionaryVersion {}", redactionLog.getDictionaryVersion(), redactionLog.getDossierDictionaryVersion());
|
||||||
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());
|
||||||
|
|
||||||
long sectionsToReanalyseStartTime = System.currentTimeMillis();
|
long sectionsToReanalyseStartTime = System.currentTimeMillis();
|
||||||
|
|||||||
@ -61,6 +61,7 @@ public class DictionaryService {
|
|||||||
dictionaryModels.forEach(dictionaryModel -> {
|
dictionaryModels.forEach(dictionaryModel -> {
|
||||||
dictionaryModel.getEntries().forEach(dictionaryEntry -> {
|
dictionaryModel.getEntries().forEach(dictionaryEntry -> {
|
||||||
if (dictionaryEntry.getVersion() > fromVersion.getDossierTemplateVersion()) {
|
if (dictionaryEntry.getVersion() > fromVersion.getDossierTemplateVersion()) {
|
||||||
|
log.info("Added {} because version dictionaryEntry.getVersion() {} > fromVersion.getDossierTemplateVersion() {}",dictionaryEntry.getValue(), dictionaryEntry.getVersion(),fromVersion.getDossierTemplateVersion());
|
||||||
newValues.add(new DictionaryIncrementValue(dictionaryEntry.getValue(), dictionaryModel.isCaseInsensitive()));
|
newValues.add(new DictionaryIncrementValue(dictionaryEntry.getValue(), dictionaryModel.isCaseInsensitive()));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -71,6 +72,8 @@ public class DictionaryService {
|
|||||||
dictionaryModels.forEach(dictionaryModel -> {
|
dictionaryModels.forEach(dictionaryModel -> {
|
||||||
dictionaryModel.getEntries().forEach(dictionaryEntry -> {
|
dictionaryModel.getEntries().forEach(dictionaryEntry -> {
|
||||||
if (dictionaryEntry.getVersion() > fromVersion.getDossierVersion()) {
|
if (dictionaryEntry.getVersion() > fromVersion.getDossierVersion()) {
|
||||||
|
log.info("Added {} because version dictionaryEntry.getVersion() {} > fromVersion.getDossierVersion() {}",dictionaryEntry.getValue(), dictionaryEntry.getVersion(),fromVersion.getDossierVersion());
|
||||||
|
|
||||||
newValues.add(new DictionaryIncrementValue(dictionaryEntry.getValue(), dictionaryModel.isCaseInsensitive()));
|
newValues.add(new DictionaryIncrementValue(dictionaryEntry.getValue(), dictionaryModel.isCaseInsensitive()));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user