Skip to content
Snippets Groups Projects
Commit f75dd66b authored by Simon Ehrenstein's avatar Simon Ehrenstein
Browse files

Merge in order to add logging

parents 26279652 b7bb0e54
No related branches found
No related tags found
4 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus,!78Resolve "Implement Quarkus/Kotlin protype"
...@@ -20,9 +20,9 @@ dependencies { ...@@ -20,9 +20,9 @@ dependencies {
testImplementation 'io.quarkus:quarkus-junit5' testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured' testImplementation 'io.rest-assured:rest-assured'
implementation 'org.slf4j:slf4j-simple:1.7.29'
implementation 'io.github.microutils:kotlin-logging:1.12.0'
implementation 'io.fabric8:kubernetes-client:5.0.0-alpha-2' implementation 'io.fabric8:kubernetes-client:5.0.0-alpha-2'
//implementation 'com.fkorotkov:kubernetes-dsl:2.8.1'
compile group: 'org.apache.kafka', name: 'kafka-clients', version: '2.7.0' compile group: 'org.apache.kafka', name: 'kafka-clients', version: '2.7.0'
compile group: 'org.apache.zookeeper', name: 'zookeeper', version: '3.6.2' compile group: 'org.apache.zookeeper', name: 'zookeeper', version: '3.6.2'
} }
......
package theodolite package theodolite
import io.quarkus.runtime.annotations.QuarkusMain import io.quarkus.runtime.annotations.QuarkusMain
import theodolite.execution.TheodoliteExecutor import theodolite.execution.TheodoliteExecutor
import mu.KotlinLogging
private val logger = KotlinLogging.logger {}
@QuarkusMain @QuarkusMain
object Main { object Main {
...@@ -9,5 +11,6 @@ object Main { ...@@ -9,5 +11,6 @@ object Main {
fun main(args: Array<String>) { fun main(args: Array<String>) {
val theodolite = TheodoliteExecutor() val theodolite = TheodoliteExecutor()
theodolite.run() theodolite.run()
logger.info("Application started")
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment