From ec61850780cac4e84826aca95a14d8010813b13a Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 9 Jan 2019 12:19:18 +0100 Subject: Dependencies upgrade. --- .../src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt | 6 +----- .../src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft') diff --git a/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt b/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt index 05681349..d447cf28 100644 --- a/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt +++ b/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt @@ -23,6 +23,7 @@ package pl.treksoft.kvision.remote import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper import org.jooby.Kooby +import org.jooby.Request import org.jooby.json.Jackson import org.pac4j.core.profile.CommonProfile import pl.treksoft.kvision.types.KV_DATE_FORMAT @@ -48,11 +49,6 @@ actual open class KVServer(init: KVServer.() -> Unit) : Kooby() { } } -/** - * A server request. - */ -actual typealias Request = org.jooby.Request - /** * A user profile. */ diff --git a/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt b/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt index 958699f1..63d3b1f3 100644 --- a/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt +++ b/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt @@ -26,6 +26,7 @@ import com.google.inject.Injector import kotlinx.coroutines.CoroutineStart import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.launch +import org.jooby.Request import org.jooby.Response import org.slf4j.Logger import org.slf4j.LoggerFactory -- cgit