aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-01-09 12:19:18 +0100
committerRobert Jaros <rjaros@finn.pl>2019-01-09 12:19:18 +0100
commitec61850780cac4e84826aca95a14d8010813b13a (patch)
tree78a7c7f4e8ee041255b29093707537a5faf27218 /kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft
parentd74b2813ac456ce3a69ba2afc2f8409f30c92cda (diff)
downloadkvision-ec61850780cac4e84826aca95a14d8010813b13a.tar.gz
kvision-ec61850780cac4e84826aca95a14d8010813b13a.tar.bz2
kvision-ec61850780cac4e84826aca95a14d8010813b13a.zip
Dependencies upgrade.
Diffstat (limited to 'kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft')
-rw-r--r--kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt6
-rw-r--r--kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt1
2 files changed, 2 insertions, 5 deletions
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
@@ -49,11 +50,6 @@ actual open class KVServer(init: KVServer.() -> Unit) : Kooby() {
}
/**
- * A server request.
- */
-actual typealias Request = org.jooby.Request
-
-/**
* A user profile.
*/
actual typealias Profile = CommonProfile
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