Pull request #10: RED-824: Do not add recommendations to redaction log
Merge in RED/redaction-report-service from RED-824 to master * commit 'd831f57f86d2f8791f095bdaf9bfd34b569c1a8b': RED-824: Do not add recommendations to redaction log
This commit is contained in:
commit
11efe35be9
@ -17,7 +17,7 @@
|
||||
<dependency>
|
||||
<groupId>com.iqser.red.service</groupId>
|
||||
<artifactId>redaction-service-api-v1</artifactId>
|
||||
<version>1.4.7</version>
|
||||
<version>1.5.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<!-- This dependency contains annotations that are used in specifying REST endpoints. -->
|
||||
|
||||
@ -72,6 +72,10 @@ public class ReportGenerationService {
|
||||
|
||||
if (entry.isRedacted()) {
|
||||
|
||||
if(entry.isRecommendation()){
|
||||
return;
|
||||
}
|
||||
|
||||
if (entry.isManual() && entry.getManualRedactionType()
|
||||
.equals(ManualRedactionType.ADD) && !entry.getStatus().equals(Status.APPROVED)) {
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user