-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add MySQL implementation * Fix code style
- Loading branch information
1 parent
df901fa
commit 98710d8
Showing
4 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...n/src/test/scala/akka/persistence/jdbc/integration/MySQLDurableStateStorePluginSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package akka.persistence.jdbc.integration | ||
|
||
import com.typesafe.config.ConfigFactory | ||
import slick.jdbc.MySQLProfile | ||
import akka.persistence.jdbc.state.scaladsl.DurableStateStorePluginSpec | ||
|
||
class MySQLDurableStateStorePluginSpec | ||
extends DurableStateStorePluginSpec(ConfigFactory.load("mysql-shared-db-application.conf"), MySQLProfile) {} |
12 changes: 12 additions & 0 deletions
12
.../scala/akka/persistence/jdbc/integration/MySQLScalaJdbcDurableStateChangesByTagTest.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package akka.persistence.jdbc.integration | ||
|
||
import com.typesafe.config.ConfigFactory | ||
import akka.actor.ActorSystem | ||
import akka.persistence.jdbc.state.scaladsl.JdbcDurableStateSpec | ||
import akka.persistence.jdbc.testkit.internal.Mysql | ||
|
||
class MySQLScalaJdbcDurableStateStoreQueryTest | ||
extends JdbcDurableStateSpec(ConfigFactory.load("mysql-shared-db-application.conf"), MySQL) { | ||
implicit lazy val system: ActorSystem = | ||
ActorSystem("JdbcDurableStateSpec", config.withFallback(customSerializers)) | ||
} |