Unverified Commit af4e65cb authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

set status ignore instead of warning in case of missing digobj


Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent 039217e6
......@@ -82,7 +82,7 @@ class KafkaTopology(private val settings: SettingsLoader) {
createRecord(
value,
key,
ReportStatus.warning,
ReportStatus.ignore,
generalFailureMessage = "No digital object resource present in model."
)
} else {
......@@ -113,7 +113,7 @@ class KafkaTopology(private val settings: SettingsLoader) {
}
.branch(
Predicate { _, value -> value.third.status == ReportStatus.fatal },
Predicate { _, value -> value.third.status == ReportStatus.warning },
Predicate { _, value -> value.third.status == ReportStatus.ignore },
Predicate { _, _ -> true }
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment