mirror of
https://github.com/arcan1s/ffxivbis.git
synced 2025-04-24 17:27:17 +00:00
fix sending response on ask
This commit is contained in:
parent
d42e90608f
commit
5111656e66
@ -1,20 +1,33 @@
|
||||
val AkkaVersion = "2.6.10"
|
||||
val AkkaHttpVersion = "10.2.1"
|
||||
val SlickVersion = "3.3.3"
|
||||
|
||||
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3"
|
||||
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.9.2"
|
||||
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-http" % "10.2.1"
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json" % "10.2.1"
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-actor-typed" % "2.6.10"
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.6.10"
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-http" % AkkaHttpVersion
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json" % AkkaHttpVersion
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-actor-typed" % AkkaVersion
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % AkkaVersion
|
||||
libraryDependencies += "com.github.swagger-akka-http" %% "swagger-akka-http" % "2.3.0"
|
||||
libraryDependencies += "javax.ws.rs" % "javax.ws.rs-api" % "2.1.1"
|
||||
|
||||
libraryDependencies += "io.spray" %% "spray-json" % "1.3.6"
|
||||
libraryDependencies += "com.lihaoyi" %% "scalatags" % "0.9.2"
|
||||
|
||||
libraryDependencies += "com.typesafe.slick" %% "slick" % "3.3.3"
|
||||
libraryDependencies += "com.typesafe.slick" %% "slick-hikaricp" % "3.3.3"
|
||||
libraryDependencies += "com.typesafe.slick" %% "slick" % SlickVersion
|
||||
libraryDependencies += "com.typesafe.slick" %% "slick-hikaricp" % SlickVersion
|
||||
libraryDependencies += "org.flywaydb" % "flyway-core" % "6.0.6"
|
||||
libraryDependencies += "org.xerial" % "sqlite-jdbc" % "3.32.3.2"
|
||||
libraryDependencies += "org.postgresql" % "postgresql" % "42.2.18"
|
||||
|
||||
libraryDependencies += "org.mindrot" % "jbcrypt" % "0.3m"
|
||||
|
||||
|
||||
// testing
|
||||
libraryDependencies += "org.scalactic" %% "scalactic" % "3.1.4" % "test"
|
||||
libraryDependencies += "org.scalatest" %% "scalatest" % "3.1.4" % "test"
|
||||
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-actor-testkit-typed" % AkkaVersion % "test"
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-stream-testkit" % AkkaVersion % "test"
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-http-testkit" % AkkaHttpVersion % "test"
|
||||
|
@ -19,7 +19,7 @@ trait DatabasePartyHandler { this: Database =>
|
||||
|
||||
def partyHandler: DatabaseMessage.Handler = {
|
||||
case AddPlayer(player, client) =>
|
||||
profile.insertPlayer(player).foreach(_ => client ! _)
|
||||
profile.insertPlayer(player).foreach(_ => client ! ())
|
||||
Behaviors.same
|
||||
|
||||
case GetParty(partyId, client) =>
|
||||
|
7
test.sbt
7
test.sbt
@ -1,7 +0,0 @@
|
||||
libraryDependencies += "org.scalactic" %% "scalactic" % "3.1.4" % "test"
|
||||
libraryDependencies += "org.scalatest" %% "scalatest" % "3.1.4" % "test"
|
||||
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-testkit" % "2.6.10" % "test"
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-actor-testkit-typed" % "2.6.10" % "test"
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-stream-testkit" % "2.6.10" % "test"
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-http-testkit" % "10.2.1" % "test"
|
Loading…
Reference in New Issue
Block a user