Commit cc211f4b authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Update service depenency to 2.0.0

parent 7e51aabe
......@@ -35,7 +35,7 @@ dependencies {
// https://mvnrepository.com/artifact/org.elasticsearch.client/elasticsearch-rest-high-level-client
//compile group: 'org.elasticsearch.client', name: 'elasticsearch-rest-high-level-client', version: '7.1.0'
implementation 'org.memobase:memobase-service-utilities:1.12.3'
implementation 'org.memobase:memobase-service-utilities:2.0.0'
// Logging Framework
implementation "org.apache.logging.log4j:log4j-api:${log4jV}"
......
......@@ -18,6 +18,7 @@
package org.memobase
import ch.memobase.settings.SettingsLoader
import org.apache.jena.rdf.model.Model
import org.apache.kafka.streams.StreamsBuilder
import org.apache.kafka.streams.Topology
......@@ -25,7 +26,6 @@ import org.apache.logging.log4j.LogManager
import org.memobase.model.Input
import org.memobase.model.Institution
import org.memobase.model.RecordSet
import org.memobase.settings.SettingsLoader
class KafkaTopology(private val settings: SettingsLoader) {
private val log = LogManager.getLogger("DrupalSyncProcessor")
......
......@@ -18,6 +18,13 @@
package org.memobase
import ch.memobase.rdf.MB
import ch.memobase.rdf.NS
import ch.memobase.rdf.RDA
import ch.memobase.rdf.RDF
import ch.memobase.rdf.RICO
import ch.memobase.rdf.SCHEMA
import ch.memobase.rdf.WD
import java.util.Properties
import org.apache.jena.rdf.model.Literal
import org.apache.jena.rdf.model.Model
......@@ -28,13 +35,6 @@ import org.apache.logging.log4j.LogManager
import org.memobase.model.Address
import org.memobase.model.Institution
import org.memobase.model.RecordSet
import org.memobase.rdf.NS
import org.memobase.rdf.RDA
import org.memobase.rdf.RDF
import org.memobase.rdf.RICO
import org.memobase.rdf.SCHEMA
import org.memobase.rdf.WD
import rdf.MB
class RdfTransformer(properties: Properties) {
private val log = LogManager.getLogger("RdfTransformer")
......
......@@ -18,9 +18,9 @@
package org.memobase
import ch.memobase.settings.SettingsLoader
import org.apache.kafka.streams.KafkaStreams
import org.apache.logging.log4j.LogManager
import org.memobase.settings.SettingsLoader
class Service(file: String = "app.yml") {
private val log = LogManager.getLogger("DrupalSyncService")
......
......@@ -17,6 +17,7 @@
*/
package org.memobase
import ch.memobase.rdf.NS
import java.io.File
import java.io.FileInputStream
import java.io.FileNotFoundException
......@@ -28,7 +29,6 @@ import org.apache.jena.riot.RDFFormat
import org.apache.kafka.streams.KeyValue
import org.apache.logging.log4j.LogManager
import org.memobase.model.IdLabels
import org.memobase.rdf.NS
object Util {
const val languageSourceFilePathPropertyName = "path.languages"
......
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