Commit 32c7a769 authored by Günter Hipler's avatar Günter Hipler
Browse files

changed main class

parent 75235498
......@@ -13,7 +13,7 @@ lazy val root = (project in file("."))
.settings(
name := "rico2edm",
assemblyJarName in assembly := "app.jar",
mainClass in assembly := Some("ch.memobase.App"),
mainClass in assembly := Some("ch.memobase.Main"),
test in assembly := {},
assemblyMergeStrategy in assembly := {
case "log4j.properties" => MergeStrategy.first
......
......@@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: pp-rico2edmtransfromer-container
image: cr.gitlab.switch.ch/memoriav/memobase-2020/services/postprocessing/rico-edm-transformer:latest
image: cr.gitlab.switch.ch/memoriav/memobase-2020/services/postprocessing/rico-edm-transformer:0.2.1
imagePullPolicy: Always
command: [ "java" ]
args: [ "-Xmx128m", "-Xmx256m", "-jar", "/app/app.jar" ]
......
......@@ -28,7 +28,7 @@ import org.memobase.settings.SettingsLoader
import scala.jdk.CollectionConverters._
import scala.util.{Failure, Success, Try}
object App extends Logging {
object Main extends Logging {
val topology = new KafkaTopology
private val settings = new SettingsLoader(
......
Supports Markdown
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