commit dbf8b99035555c3103730430ed51ecebfc0bc33d
parent 7e5f0ec03acd95dc7772fdee18ccf9b66a3b5fd9
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Tue, 10 Dec 2019 22:00:44 +0100
fix nexus exposed import
Diffstat:
3 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/nexus/build.gradle b/nexus/build.gradle
@@ -26,7 +26,7 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "io.ktor:ktor-gson:1.1.5"
implementation group: 'io.ktor', name: 'ktor-gson', version: '0.9.0'
- implementation "org.jetbrains.exposed:exposed:0.17.3"
+ implementation "org.jetbrains.exposed:exposed:0.17.6"
implementation "io.ktor:ktor-server-netty:1.2.4"
implementation "ch.qos.logback:logback-classic:1.2.3"
implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
diff --git a/nexus/src/main/kotlin/DB.kt b/nexus/src/main/kotlin/DB.kt
@@ -1,11 +1,8 @@
package tech.libeufin.nexus
-import org.jetbrains.exposed.dao.EntityID
-import org.jetbrains.exposed.dao.IntEntity
-import org.jetbrains.exposed.dao.IntEntityClass
-import org.jetbrains.exposed.dao.IntIdTable
-import org.jetbrains.exposed.sql.Database
-import org.jetbrains.exposed.sql.SchemaUtils
+import org.jetbrains.exposed.dao.*
+import org.jetbrains.exposed.sql.*
+import org.jetbrains.exposed.sql.transactions.TransactionManager
import org.jetbrains.exposed.sql.transactions.transaction
object EbicsSubscribersTable : IntIdTable() {
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -207,7 +207,7 @@ fun main() {
}
}
routing {
-
+
post("/{id}/history") {
LOGGER.debug("/history fired up")