DM-285: fully deprecated RedactionLog, added component rule file

* add ComponentLogCategory
This commit is contained in:
Kilian Schuettler 2023-09-08 13:17:34 +02:00
parent 8fc94de4b7
commit 91b13c41ce
3 changed files with 23 additions and 3 deletions

View File

@ -16,8 +16,7 @@ import lombok.experimental.FieldDefaults;
public class ComponentLog {
int analysisNumber;
List<ComponentLogEntry> componentLogEntries = new ArrayList<>();
List<ComponentLogCategory> componentLogCategories = new ArrayList<>();
long dictionaryVersion = -1;
long dossierDictionaryVersion = -1;

View File

@ -0,0 +1,20 @@
package com.iqser.red.service.persistence.service.v1.api.shared.model.analysislog.componentlog;
import java.util.List;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldDefaults;
@Data
@AllArgsConstructor
@NoArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
public class ComponentLogCategory {
String category;
List<ComponentLogEntry> componentLogEntries;
}

View File

@ -17,8 +17,9 @@ import lombok.experimental.FieldDefaults;
public class ComponentLogEntry {
String value;
String originalValue;
List<String> originalValue;
String transformation;
String matchedRule;
List<ComponentEntityReference> componentEntityReferences;