Commit 83a3c279 authored by Lionel Walter's avatar Lionel Walter

Merge branch 'master' of...

Merge branch 'master' of gitlab.switch.ch:memoriav/memobase-2020/services/import-process/xml-data-transform
parents 33279a36 802d422f
Pipeline #13549 passed with stages
in 5 minutes and 21 seconds
......@@ -39,7 +39,7 @@ dependencies {
implementation "org.apache.kafka:kafka-streams:${kafkaV}"
implementation 'org.memobase:memobase-service-utilities:1.11.1'
implementation 'org.memobase:memobase-service-utilities:1.12.1'
implementation 'ch.memobase:import-process-effects-registry_2.12:0.2.1'
// SFTP Client
// is needed because of a bug.
......
......@@ -81,12 +81,10 @@ class KafkaTopology(private val settings: SettingsLoader) {
.mapValues { value -> sftpClient.open(File(value.path)) }
.map { key, value ->
value.use {
xmlTransformer.applyXSLT(key, value.RemoteFileInputStream())
xmlTransformer.applyXSLT(key, value)
}
}
streamOutput(transformedValue)
return builder
}
......
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