Pull request #138: added versions to analyze result
Merge in RED/redaction-service from improved-redaction-performance to master * commit '93d75e2f1c9f692989b69d2c20df7073f6db45c7': added versions to analyze result
This commit is contained in:
commit
8429e262ea
@ -17,6 +17,8 @@ public class AnalyzeResult {
|
|||||||
private boolean hasRedactions;
|
private boolean hasRedactions;
|
||||||
private boolean hasImages;
|
private boolean hasImages;
|
||||||
private boolean hasUpdates;
|
private boolean hasUpdates;
|
||||||
|
private long dictionaryVersion;
|
||||||
|
private long rulesVersion;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -36,6 +36,9 @@ public class AnalyzeResponseService {
|
|||||||
.hasRedactions(hasRedactions)
|
.hasRedactions(hasRedactions)
|
||||||
.hasRequests(hasRequests)
|
.hasRequests(hasRequests)
|
||||||
.hasImages(hasImages)
|
.hasImages(hasImages)
|
||||||
.hasUpdates(hasUpdates).build();
|
.hasUpdates(hasUpdates)
|
||||||
|
.rulesVersion(redactionLog.getRulesVersion())
|
||||||
|
.dictionaryVersion(redactionLog.getDictionaryVersion())
|
||||||
|
.build();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user