Merge branch 'RED-8480-B' into 'master'
RED-8480: addded property "value" to places with recategorizations Closes RED-8480 See merge request redactmanager/redaction-service!348
This commit is contained in:
commit
72a7761dd8
@ -16,7 +16,7 @@ val layoutParserVersion = "0.96.0"
|
|||||||
val jacksonVersion = "2.15.2"
|
val jacksonVersion = "2.15.2"
|
||||||
val droolsVersion = "9.44.0.Final"
|
val droolsVersion = "9.44.0.Final"
|
||||||
val pdfBoxVersion = "3.0.0"
|
val pdfBoxVersion = "3.0.0"
|
||||||
val persistenceServiceVersion = "2.379.0"
|
val persistenceServiceVersion = "2.380.0"
|
||||||
val springBootStarterVersion = "3.1.5"
|
val springBootStarterVersion = "3.1.5"
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
|
|||||||
@ -206,7 +206,8 @@ public class LegacyRedactionLogMergeService {
|
|||||||
.withManualRedactionType(ManualRedactionType.RECATEGORIZE)
|
.withManualRedactionType(ManualRedactionType.RECATEGORIZE)
|
||||||
.withChange("type", imageRecategorization.getType())
|
.withChange("type", imageRecategorization.getType())
|
||||||
.withChange("section", imageRecategorization.getSection())
|
.withChange("section", imageRecategorization.getSection())
|
||||||
.withChange("legalBasis", imageRecategorization.getLegalBasis()));
|
.withChange("legalBasis", imageRecategorization.getLegalBasis())
|
||||||
|
.withChange("value", imageRecategorization.getValue()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -132,6 +132,7 @@ public class ManualChangeOverwrite {
|
|||||||
recategorized = true;
|
recategorized = true;
|
||||||
type = recategorization.getType();
|
type = recategorization.getType();
|
||||||
section = recategorization.getSection();
|
section = recategorization.getSection();
|
||||||
|
value = recategorization.getValue();
|
||||||
if (recategorization.getLegalBasis() != null && !recategorization.getLegalBasis().isEmpty()) {
|
if (recategorization.getLegalBasis() != null && !recategorization.getLegalBasis().isEmpty()) {
|
||||||
legalBasis = recategorization.getLegalBasis();
|
legalBasis = recategorization.getLegalBasis();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,7 +34,8 @@ public class ManualChangeFactory {
|
|||||||
manualChange.withManualRedactionType(ManualRedactionType.RECATEGORIZE)
|
manualChange.withManualRedactionType(ManualRedactionType.RECATEGORIZE)
|
||||||
.withChange("type", recategorization.getType())
|
.withChange("type", recategorization.getType())
|
||||||
.withChange("section", recategorization.getSection())
|
.withChange("section", recategorization.getSection())
|
||||||
.withChange("legalBasis", recategorization.getLegalBasis());
|
.withChange("legalBasis", recategorization.getLegalBasis())
|
||||||
|
.withChange("value", recategorization.getValue());
|
||||||
} else if (baseAnnotation instanceof IdRemoval manualRemoval) {
|
} else if (baseAnnotation instanceof IdRemoval manualRemoval) {
|
||||||
manualChange.withManualRedactionType(manualRemoval.isRemoveFromDictionary() ? ManualRedactionType.REMOVE_FROM_DICTIONARY : ManualRedactionType.REMOVE);
|
manualChange.withManualRedactionType(manualRemoval.isRemoveFromDictionary() ? ManualRedactionType.REMOVE_FROM_DICTIONARY : ManualRedactionType.REMOVE);
|
||||||
} else if (baseAnnotation instanceof ManualForceRedaction manualForceRedaction) {
|
} else if (baseAnnotation instanceof ManualForceRedaction manualForceRedaction) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user