+per #18190 leveldb impl of EventsByPersistenceId query

* also changed EventsByPersistenceId query type to return
Source[EventEnvelope]
This commit is contained in:
Patrik Nordwall 2015-08-19 11:14:43 +02:00
parent a0bee97f26
commit 009d80dd35
16 changed files with 484 additions and 19 deletions

View file

@ -20,7 +20,7 @@ object Dependencies {
object Compile {
// Compile
// Akka Streams // FIXME: change to project dependency once merged before 2.4.0
// FIXME: change to project dependency once akka-stream merged to master
val akkaStream = "com.typesafe.akka" %% "akka-stream-experimental" % "1.0"
val camelCore = "org.apache.camel" % "camel-core" % "2.13.4" exclude("org.slf4j", "slf4j-api") // ApacheV2
@ -60,6 +60,8 @@ object Dependencies {
val log4j = "log4j" % "log4j" % "1.2.14" % "test" // ApacheV2
val junitIntf = "com.novocode" % "junit-interface" % "0.11" % "test" // MIT
val scalaXml = "org.scala-lang.modules" %% "scala-xml" % "1.0.4" % "test"
// FIXME: change to project dependency once akka-stream merged to master
val akkaStreamTestkit = "com.typesafe.akka" %% "akka-stream-testkit-experimental" % "1.0" % "test"
// metrics, measurements, perf testing
val metrics = "com.codahale.metrics" % "metrics-core" % "3.0.2" % "test" // ApacheV2
@ -112,7 +114,7 @@ object Dependencies {
val persistence = l ++= Seq(protobuf, Provided.levelDB, Provided.levelDBNative, Test.scalatest.value, Test.junit, Test.commonsIo, Test.scalaXml)
val persistenceQuery = l ++= Seq(akkaStream, Test.scalatest.value, Test.junit, Test.commonsIo)
val persistenceQuery = l ++= Seq(akkaStream, Test.scalatest.value, Test.junit, Test.commonsIo, Test.akkaStreamTestkit)
val persistenceTck = l ++= Seq(Test.scalatest.value.copy(configurations = Some("compile")), Test.junit.copy(configurations = Some("compile")))