Commit 965e01f3 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Improve logging for creation relation transform.

parent 1d564939
Pipeline #21454 passed with stage
in 2 minutes and 15 seconds
......@@ -48,7 +48,7 @@ class ExtractCreationRelationNameTransform(private val regex: Regex, private val
}
}
} else {
log.warn("Pattern ${regex.pattern} did not match on value $fullValue in person $target.")
log.debug("Pattern '${regex.pattern}' did not match on value $fullValue of Person.")
fullValue
}
Pair(targetValue, value.language)
......
......@@ -97,6 +97,7 @@ class LocalTestRun {
val mappingFile = "/config/localTransforms.yml"
val global = GlobalTransformsLoader("src/test/resources/global/transforms.yml")
val local = LocalTransformsLoader(File(folder + mappingFile).readBytes())
local.parse("test-key")
val transformConfigs = local.get() + global.get()
File(inputFolder)
.walk(FileWalkDirection.TOP_DOWN)
......
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