-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial implementation of jdbc based DurableStateStore and query
- Loading branch information
Showing
30 changed files
with
1,780 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,6 @@ target | |
.project | ||
.worksheet | ||
.bsp | ||
*.code-workspace | ||
.bloop | ||
.metals |
12 changes: 12 additions & 0 deletions
12
...ala/akka/persistence/jdbc/integration/PostgresScalaJdbcDurableStateChangesByTagTest.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.Postgres | ||
|
||
class PostgresScalaJdbcDurableStateStoreQueryTest | ||
extends JdbcDurableStateSpec(ConfigFactory.load("postgres-shared-db-application.conf"), Postgres) { | ||
implicit lazy val system: ActorSystem = | ||
ActorSystem("JdbcDurableStateSpec", config.withFallback(customSerializers)) | ||
} |
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DROP TABLE IF EXISTS PUBLIC."event_tag"; | ||
DROP TABLE IF EXISTS PUBLIC."event_journal"; | ||
DROP TABLE IF EXISTS PUBLIC."snapshot"; | ||
DROP TABLE IF EXISTS PUBLIC."state"; |
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
1 change: 1 addition & 0 deletions
1
core/src/main/resources/schema/postgres/postgres-drop-schema.sql
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
DROP TABLE IF EXISTS public.event_tag; | ||
DROP TABLE IF EXISTS public.event_journal; | ||
DROP TABLE IF EXISTS public.snapshot; | ||
DROP TABLE IF EXISTS public.state; | ||
|
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
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
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
Oops, something went wrong.