RED-2836: Upgraded to new redaction-service api
This commit is contained in:
parent
ee4a9869a2
commit
1f11c1f85c
@ -14,7 +14,7 @@
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<persistence-service.version>1.27.0</persistence-service.version>
|
||||
<persistence-service.version>1.98.0</persistence-service.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
||||
@ -14,8 +14,8 @@
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<persistence-service.version>1.25.0</persistence-service.version>
|
||||
<redaction-service.version>3.68.0</redaction-service.version>
|
||||
<persistence-service.version>1.98.0</persistence-service.version>
|
||||
<redaction-service.version>3.86.0</redaction-service.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
||||
@ -42,6 +42,10 @@ public class RedactionLogConverterService {
|
||||
return;
|
||||
}
|
||||
|
||||
if(entry.isFalsePositive()){
|
||||
return;
|
||||
}
|
||||
|
||||
Set<Integer> pages = new HashSet<>();
|
||||
for (Rectangle position : entry.getPositions()) {
|
||||
|
||||
|
||||
@ -132,7 +132,7 @@ public class ReportGenerationService {
|
||||
|
||||
RedactionLog redactionLog;
|
||||
try {
|
||||
redactionLog = redactionLogClient.getRedactionLog(dossierId, fileId, true);
|
||||
redactionLog = redactionLogClient.getRedactionLog(dossierId, fileId, new ArrayList<>(), true, false);
|
||||
|
||||
//filter DECLINED redactions out, they should not be in reports
|
||||
Iterator<RedactionLogEntry> iter = redactionLog.getRedactionLogEntry().iterator();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user