-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
170 changed files
with
1,231 additions
and
1,203 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import com.lightbend.paradox.apidoc.ApidocPlugin.autoImport.apidocRootPackage | ||
import org.apache.pekko.PekkoParadoxPlugin.autoImport._ | ||
import sbt.Keys._ | ||
|
||
// FIXME remove switching to final Akka version | ||
ThisBuild / resolvers += "Akka Snapshots".at("https://oss.sonatype.org/content/repositories/snapshots/") | ||
ThisBuild / resolvers += "Apache Nexus Snapshots".at("https://repository.apache.org/content/repositories/snapshots/") | ||
|
||
lazy val `akka-persistence-jdbc` = project | ||
lazy val `pekko-persistence-jdbc` = project | ||
.in(file(".")) | ||
.enablePlugins(ScalaUnidocPlugin) | ||
.disablePlugins(MimaPlugin, SitePlugin) | ||
|
@@ -19,7 +20,7 @@ lazy val core = project | |
.settings(Defaults.itSettings) | ||
.settings(MetaInfLicenseNoticeCopy.settings) | ||
.settings( | ||
name := "akka-persistence-jdbc", | ||
name := "pekko-persistence-jdbc", | ||
libraryDependencies ++= Dependencies.Libraries, | ||
mimaReportSignatureProblems := true, | ||
// temporarily disable mima checks | ||
|
@@ -32,50 +33,58 @@ lazy val migrator = project | |
.settings(Defaults.itSettings) | ||
.settings(MetaInfLicenseNoticeCopy.settings) | ||
.settings( | ||
name := "akka-persistence-jdbc-migrator", | ||
name := "pekko-persistence-jdbc-migrator", | ||
libraryDependencies ++= Dependencies.Migration ++ Dependencies.Libraries, | ||
// TODO remove this when ready to publish it | ||
publish / skip := true) | ||
.dependsOn(core % "compile->compile;test->test") | ||
|
||
/* | ||
val themeSettings = Seq( | ||
// allow access to snapshots for pekko-sbt-paradox | ||
resolvers += "Apache Nexus Snapshots".at("https://repository.apache.org/content/repositories/snapshots/"), | ||
pekkoParadoxGithub := "https://github.com/apache/incubator-pekko-persistence-jdbc") | ||
*/ | ||
|
||
lazy val docs = project | ||
.enablePlugins(ProjectAutoPlugin, AkkaParadoxPlugin, ParadoxSitePlugin, PreprocessPlugin, PublishRsyncPlugin) | ||
.enablePlugins(ProjectAutoPlugin, ParadoxPlugin, ParadoxSitePlugin, PreprocessPlugin, PublishRsyncPlugin) | ||
.disablePlugins(MimaPlugin) | ||
.settings(MetaInfLicenseNoticeCopy.settings) | ||
.settings( | ||
name := "Akka Persistence JDBC", | ||
name := "Apache Pekko Persistence JDBC", | ||
publish / skip := true, | ||
makeSite := makeSite.dependsOn(LocalRootProject / ScalaUnidoc / doc).value, | ||
previewPath := (Paradox / siteSubdirName).value, | ||
Preprocess / siteSubdirName := s"api/akka-persistence-jdbc/${if (isSnapshot.value) "snapshot" | ||
Preprocess / siteSubdirName := s"api/pekko-persistence-jdbc/${if (isSnapshot.value) "snapshot" | ||
else version.value}", | ||
Preprocess / sourceDirectory := (LocalRootProject / ScalaUnidoc / unidoc / target).value, | ||
Paradox / siteSubdirName := s"docs/akka-persistence-jdbc/${if (isSnapshot.value) "snapshot" else version.value}", | ||
Paradox / siteSubdirName := s"docs/pekko-persistence-jdbc/${if (isSnapshot.value) "snapshot" else version.value}", | ||
Compile / paradoxProperties ++= Map( | ||
"project.url" -> "https://doc.akka.io/docs/akka-persistence-jdbc/current/", | ||
"github.base_url" -> "https://github.com/akka/akka-persistence-jdbc/", | ||
"canonical.base_url" -> "https://doc.akka.io/docs/akka-persistence-jdbc/current", | ||
"akka.version" -> Dependencies.AkkaVersion, | ||
"project.url" -> "https://pekko.apache.org/docs/pekko-persistence-jdbc/current/", | ||
"github.base_url" -> "https://github.com/apache/incubator-pekko-persistence-jdbc/", | ||
"canonical.base_url" -> "https://pekko.apache.org/docs/pekko-persistence-jdbc/current", | ||
"pekko.version" -> "current", | ||
"slick.version" -> Dependencies.SlickVersion, | ||
"extref.github.base_url" -> s"https://github.com/akka/akka-persistence-jdbc/blob/${if (isSnapshot.value) "master" | ||
"extref.github.base_url" -> s"https://github.com/apache/incubator-pekko-persistence-jdbc/blob/${if (isSnapshot.value) "master" | ||
else "v" + version.value}/%s", | ||
// Slick | ||
"extref.slick.base_url" -> s"https://scala-slick.org/doc/${Dependencies.SlickVersion}/%s", | ||
// Akka | ||
"extref.akka.base_url" -> s"https://doc.akka.io/docs/akka/${Dependencies.AkkaBinaryVersion}/%s", | ||
"scaladoc.akka.base_url" -> s"https://doc.akka.io/api/akka/${Dependencies.AkkaBinaryVersion}/", | ||
"javadoc.akka.base_url" -> s"https://doc.akka.io/japi/akka/${Dependencies.AkkaBinaryVersion}/", | ||
"javadoc.akka.link_style" -> "direct", | ||
// Pekko | ||
"extref.pekko.base_url" -> "https://pekko.apache.org/docs/pekko/current/%s", | ||
"scaladoc.base_url" -> "https://pekko.apache.org/api/pekko-persistence-jdbc/current/", | ||
"scaladoc.pekko.base_url" -> "https://pekko.apache.org/api/pekko/current/", | ||
"javadoc.pekko.base_url" -> "https://pekko.apache.org/japi/pekko/current/", | ||
"javadoc.pekko.link_style" -> "direct", | ||
// Java | ||
"javadoc.base_url" -> "https://docs.oracle.com/javase/8/docs/api/", | ||
// Scala | ||
"scaladoc.scala.base_url" -> s"https://www.scala-lang.org/api/${scalaBinaryVersion.value}.x/", | ||
"scaladoc.akka.persistence.jdbc.base_url" -> s"/${(Preprocess / siteSubdirName).value}/"), | ||
"scaladoc.pekko.persistence.jdbc.base_url" -> s"/${(Preprocess / siteSubdirName).value}/"), | ||
paradoxGroups := Map("Language" -> Seq("Java", "Scala")), | ||
resolvers += Resolver.jcenterRepo, | ||
publishRsyncArtifacts += makeSite.value -> "www/", | ||
publishRsyncHost := "[email protected]", | ||
apidocRootPackage := "akka") | ||
apidocRootPackage := "org.apache.pekko") | ||
|
||
Global / onLoad := (Global / onLoad).value.andThen { s => | ||
val v = version.value | ||
|
4 changes: 2 additions & 2 deletions
4
...c/integration/AllPersistenceIdsTest.scala → ...c/integration/AllPersistenceIdsTest.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
4 changes: 2 additions & 2 deletions
4
...on/CurrentEventsByPersistenceIdTest.scala → ...on/CurrentEventsByPersistenceIdTest.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
4 changes: 2 additions & 2 deletions
4
.../integration/CurrentEventsByTagTest.scala → .../integration/CurrentEventsByTagTest.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
4 changes: 2 additions & 2 deletions
4
...tegration/CurrentPersistenceIdsTest.scala → ...tegration/CurrentPersistenceIdsTest.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
10 changes: 8 additions & 2 deletions
10
...e/jdbc/integration/EventAdapterTest.scala → ...e/jdbc/integration/EventAdapterTest.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
4 changes: 2 additions & 2 deletions
4
...tegration/EventsByPersistenceIdTest.scala → ...tegration/EventsByPersistenceIdTest.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
10 changes: 8 additions & 2 deletions
10
...ce/jdbc/integration/EventsByTagTest.scala → ...ce/jdbc/integration/EventsByTagTest.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
4 changes: 2 additions & 2 deletions
4
...dbc/integration/HardDeleteQueryTest.scala → ...dbc/integration/HardDeleteQueryTest.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
12 changes: 6 additions & 6 deletions
12
...dbc/integration/JdbcJournalPerfSpec.scala → ...dbc/integration/JdbcJournalPerfSpec.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
6 changes: 3 additions & 3 deletions
6
...ce/jdbc/integration/JdbcJournalSpec.scala → ...ce/jdbc/integration/JdbcJournalSpec.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
12 changes: 6 additions & 6 deletions
12
...c/integration/JdbcSnapshotStoreSpec.scala → ...c/integration/JdbcSnapshotStoreSpec.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
4 changes: 2 additions & 2 deletions
4
.../JournalDaoStreamMessagesMemoryTest.scala → .../JournalDaoStreamMessagesMemoryTest.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
4 changes: 2 additions & 2 deletions
4
...ntegration/JournalSequenceActorTest.scala → ...ntegration/JournalSequenceActorTest.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
4 changes: 2 additions & 2 deletions
4
...PostgresDurableStateStorePluginSpec.scala → ...PostgresDurableStateStorePluginSpec.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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package akka.persistence.jdbc.integration | ||
package org.apache.pekko.persistence.jdbc.integration | ||
|
||
import com.typesafe.config.ConfigFactory | ||
import slick.jdbc.PostgresProfile | ||
import akka.persistence.jdbc.state.scaladsl.DurableStateStorePluginSpec | ||
import org.apache.pekko.persistence.jdbc.state.scaladsl.DurableStateStorePluginSpec | ||
|
||
class PostgresDurableStateStorePluginSpec | ||
extends DurableStateStorePluginSpec(ConfigFactory.load("postgres-shared-db-application.conf"), PostgresProfile) {} |
8 changes: 4 additions & 4 deletions
8
...alaJdbcDurableStateChangesByTagTest.scala → ...alaJdbcDurableStateChangesByTagTest.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
12 changes: 6 additions & 6 deletions
12
...n/StoreOnlySerializableMessagesTest.scala → ...n/StoreOnlySerializableMessagesTest.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
Oops, something went wrong.