RED-6098: removed logs for debugging
This commit is contained in:
parent
6746a93378
commit
29c57a02b1
@ -29,9 +29,7 @@ import com.iqser.red.storage.commons.exception.StorageObjectDoesNotExist;
|
||||
|
||||
import io.micrometer.core.annotation.Timed;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Slf4j
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
public class RedactionLogConverterService {
|
||||
@ -88,16 +86,9 @@ public class RedactionLogConverterService {
|
||||
|
||||
List<ReportRedactionEntry> reportEntries = new ArrayList<>();
|
||||
|
||||
// try {
|
||||
// var dossier = dossierClient.getDossierById(dossierId, false, false);
|
||||
// } catch (NullPointerException e) {
|
||||
// throw new
|
||||
// }
|
||||
var allTypes = dictionaryClient.getAllTypesForDossierTemplate(dossierClient.getDossierById(dossierId, false, false).getDossierTemplateId(), false);
|
||||
log.info("AAAA: {}", allTypes);
|
||||
|
||||
redactionLog.getRedactionLogEntry().forEach(entry -> {
|
||||
log.info("BBBB: {}, {}", entry.getType(), allTypes);
|
||||
var isSkipped = !entry.isRedacted() && !entry.isHint() && !isHintType(allTypes, entry.getType());
|
||||
if (entry.isRedacted() || isSkipped) {
|
||||
|
||||
@ -223,8 +214,6 @@ public class RedactionLogConverterService {
|
||||
|
||||
var matchingTypes = getMatchingTypes(types, type);
|
||||
Optional<Type> foundType = matchingTypes.stream().findFirst();
|
||||
log.info("CCCC: {}, {}", foundType, matchingTypes);
|
||||
log.info("DDDD: {}", foundType.map(Type::isHint).orElse(false));
|
||||
return foundType.map(Type::isHint).orElse(false);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user