Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
with:
jvm: temurin:1.11

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Code style check and binary-compatibility check
run: sbt "verifyCodeStyle; mimaReportBinaryIssues"

Expand Down Expand Up @@ -73,6 +76,9 @@ jobs:
with:
jvm: temurin:1.11

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Compile all code with fatal warnings for Java 11, Scala 2.13 and Scala 3
run: sbt "clean ; +compile; +Test/compile; +akka-projection-integration/Test/compile"

Expand Down Expand Up @@ -110,6 +116,9 @@ jobs:
with:
jvm: temurin:1.11

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Gather version
# some cleanup of the sbt output to get the version sbt will use when publishing below
run: |-
Expand Down Expand Up @@ -228,6 +237,11 @@ jobs:
with:
jvm: temurin:1.11

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main
with:
maven-mirror-control: 'NO_MIRROR'

- name: Restore published artifacts
# https://github.com/actions/cache/releases
# v4.3.0
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
with:
jvm: temurin:1.11

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: FOSSA policy check
run: |-
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests-cassandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
with:
jvm: ${{ matrix.jvmName }}

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Run all integration tests with default Scala and Java ${{ matrix.jdkVersion }}
run: sbt "akka-projection-cassandra-integration/test" ${{ matrix.extraOpts }} -Dakka.warn-on-no-license-key=false
env: # Disable Ryuk resource reaper since we always spin up fresh VMs
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests-dynamodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
with:
jvm: ${{ matrix.jvmName }}

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Start DynamoDB
run: |-
docker compose -f docker-files/docker-compose-dynamodb.yml up --wait
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests-grpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
with:
jvm: ${{ matrix.jvmName }}

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Run all integration tests with default Scala and Java ${{ matrix.jdkVersion }}
run: sbt "akka-projection-grpc-integration/test" ${{ matrix.extraOpts }} -Dakka.warn-on-no-license-key=false
env: # Disable Ryuk resource reaper since we always spin up fresh VMs
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests-jdbc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ jobs:
with:
jvm: ${{ matrix.jvmName }}

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Run all integration tests with default Scala and Java ${{ matrix.jdkVersion }}
run: sbt "akka-projection-jdbc-integration/test" ${{ matrix.extraOpts }} -Dakka.warn-on-no-license-key=false
env: # Disable Ryuk resource reaper since we always spin up fresh VMs
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests-kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ jobs:
with:
jvm: ${{ matrix.jvmName }}

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Run all integration tests with default Scala and Java ${{ matrix.jdkVersion }}
run: sbt "akka-projection-kafka-integration/test" ${{ matrix.extraOpts }} -Dakka.warn-on-no-license-key=false
env: # Disable Ryuk resource reaper since we always spin up fresh VMs
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests-r2dbc-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
with:
jvm: ${{ matrix.jvmName }}

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Start DB
run: |-
docker compose -f docker-files/docker-compose-sqlserver.yml up --wait
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/integration-tests-r2dbc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
with:
jvm: ${{ matrix.jvmName }}

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Start DB
run: |-
docker compose -f docker-files/docker-compose-postgres.yml up --wait
Expand Down Expand Up @@ -93,6 +96,9 @@ jobs:
with:
jvm: ${{ matrix.jvmName }}

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Start DB
run: |-
docker compose -f docker-files/docker-compose-yugabyte.yml up -d
Expand Down Expand Up @@ -142,6 +148,9 @@ jobs:
with:
jvm: ${{ matrix.jvmName }}

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Run integration tests with with Scala and Java ${{ matrix.jdkVersion }}
run: |-
sbt -Dconfig.resource=application-h2.conf akka-projection-r2dbc-integration/test
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests-slick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ jobs:
with:
jvm: ${{ matrix.jvmName }}

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Run all integration tests with default Scala and Java ${{ matrix.jdkVersion }}
run: sbt "akka-projection-slick-integration/test" ${{ matrix.extraOpts }} -Dakka.warn-on-no-license-key=false
env: # Disable Ryuk resource reaper since we always spin up fresh VMs
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/link-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
jvm: temurin:1.17.0.5
apps: cs

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Create all API docs for artifacts/website and all reference docs
run: sbt "unidoc; docs/paradox; akka-distributed-cluster-docs/paradox; akka-edge-docs/paradox"

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/native-image-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
with:
jvm: graalvm-community:21.0.2

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Gather version
# some cleanup of the sbt output to get the version sbt will use when publishing below
run: |-
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
with:
jvm: temurin:1.11.0.17

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Publish artifacts for all Scala versions
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
Expand Down Expand Up @@ -73,6 +76,9 @@ jobs:
with:
jvm: temurin:1.17

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Publish
run: |-
scripts/prepare-downloads.sh
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
with:
jvm: ${{ matrix.jvmName }}

- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main

- name: Run tests with default Scala and Java ${{ matrix.jdkVersion }}
run: sbt "test" ${{ matrix.extraOpts }} -Dakka.warn-on-no-license-key=false

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ for [Scala](https://doc.akka.io/libraries/akka-projection/current/?language=scal

The current versions of all Akka libraries are listed on the [Akka Dependencies](https://doc.akka.io/libraries/akka-dependencies/current/) page. Releases of the Akka Projections libraries in this repository are listed on the [GitHub releases](https://github.com/akka/akka-projection/releases) page.

## Build Token

To build locally, you need to fetch a token at https://account.akka.io/token that you have to place into `~/.sbt/1.0/akka-commercial.sbt` file like this:
```
ThisBuild / resolvers += "lightbend-akka".at("your token resolver here")
```

License
-------

Expand Down
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import akka.projections.IntegrationTests
ThisBuild / dynverSeparator := "-"
// append -SNAPSHOT to version when isSnapshot
ThisBuild / dynverSonatypeSnapshots := true
ThisBuild / resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions")
ThisBuild / resolvers ++=
(if (Dependencies.Versions.Akka.endsWith("-SNAPSHOT"))
Seq("Akka library snapshot repository".at("https://repo.akka.io/snapshots/github_actions"))
Expand Down
2 changes: 0 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions")

addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.5")
addSbtPlugin("com.github.sbt" % "sbt-java-formatter" % "0.10.0")
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0")
Expand Down
15 changes: 0 additions & 15 deletions samples/grpc/iot-service-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,6 @@
<version.number>${git.commit.time}-${git.commit.id.abbrev}</version.number>
</properties>

<repositories>
<repository>
<id>akka-repository</id>
<name>Akka library repository</name>
<url>https://repo.akka.io/maven/github_actions</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>akka-repository</id>
<name>Akka library repository</name>
<url>https://repo.akka.io/maven/github_actions</url>
</pluginRepository>
</pluginRepositories>

<dependencies>
<dependency>
<groupId>com.typesafe.akka</groupId>
Expand Down
2 changes: 0 additions & 2 deletions samples/grpc/iot-service-scala/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ organization := "com.lightbend.akka.samples"
organizationHomepage := Some(url("https://akka.io"))
licenses := Seq(("CC0", url("https://creativecommons.org/publicdomain/zero/1.0")))

resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions")

scalaVersion := "2.13.17"

Compile / scalacOptions ++= Seq(
Expand Down
2 changes: 0 additions & 2 deletions samples/grpc/iot-service-scala/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions")

addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "2.5.10")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.13")
Expand Down
15 changes: 0 additions & 15 deletions samples/grpc/local-drone-control-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,6 @@
<version.number>${git.commit.time}-${git.commit.id.abbrev}</version.number>
</properties>

<repositories>
<repository>
<id>akka-repository</id>
<name>Akka library repository</name>
<url>https://repo.akka.io/maven/github_actions</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>akka-repository</id>
<name>Akka library repository</name>
<url>https://repo.akka.io/maven/github_actions</url>
</pluginRepository>
</pluginRepositories>

<dependencies>
<dependency>
<groupId>com.typesafe.akka</groupId>
Expand Down
2 changes: 0 additions & 2 deletions samples/grpc/local-drone-control-scala/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ organization := "com.lightbend.akka.samples"
organizationHomepage := Some(url("https://akka.io"))
licenses := Seq(("CC0", url("https://creativecommons.org/publicdomain/zero/1.0")))

resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions")

scalaVersion := "2.13.17"

Compile / scalacOptions ++= Seq(
Expand Down
2 changes: 0 additions & 2 deletions samples/grpc/local-drone-control-scala/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions")

addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "2.5.10")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.16")
Expand Down
15 changes: 0 additions & 15 deletions samples/grpc/restaurant-drone-deliveries-service-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,6 @@
<version.number>${git.commit.time}-${git.commit.id.abbrev}</version.number>
</properties>

<repositories>
<repository>
<id>akka-repository</id>
<name>Akka library repository</name>
<url>https://repo.akka.io/maven/github_actions</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>akka-repository</id>
<name>Akka library repository</name>
<url>https://repo.akka.io/maven/github_actions</url>
</pluginRepository>
</pluginRepositories>

<dependencies>
<dependency>
<groupId>com.typesafe.akka</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ organization := "com.lightbend.akka.samples"
organizationHomepage := Some(url("https://akka.io"))
licenses := Seq(("CC0", url("https://creativecommons.org/publicdomain/zero/1.0")))

resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions")

scalaVersion := "2.13.17"

Compile / scalacOptions ++= Seq(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions")

addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "2.5.10")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.16")
Expand Down
15 changes: 0 additions & 15 deletions samples/grpc/shopping-analytics-service-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,6 @@
<version.number>${git.commit.time}-${git.commit.id.abbrev}</version.number>
</properties>

<repositories>
<repository>
<id>akka-repository</id>
<name>Akka library repository</name>
<url>https://repo.akka.io/maven/github_actions</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>akka-repository</id>
<name>Akka library repository</name>
<url>https://repo.akka.io/maven/github_actions</url>
</pluginRepository>
</pluginRepositories>

<dependencies>
<dependency>
<groupId>com.typesafe.akka</groupId>
Expand Down
2 changes: 0 additions & 2 deletions samples/grpc/shopping-analytics-service-scala/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ organization := "com.lightbend.akka.samples"
organizationHomepage := Some(url("https://akka.io"))
licenses := Seq(("CC0", url("https://creativecommons.org/publicdomain/zero/1.0")))

resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions")

scalaVersion := "2.13.17"

Compile / scalacOptions ++= Seq(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions")

addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "2.5.10")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.16")
Expand Down
15 changes: 0 additions & 15 deletions samples/grpc/shopping-cart-service-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,6 @@
<version.number>${git.commit.time}-${git.commit.id.abbrev}</version.number>
</properties>

<repositories>
<repository>
<id>akka-repository</id>
<name>Akka library repository</name>
<url>https://repo.akka.io/maven/github_actions</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>akka-repository</id>
<name>Akka library repository</name>
<url>https://repo.akka.io/maven/github_actions</url>
</pluginRepository>
</pluginRepositories>

<dependencies>
<dependency>
<groupId>com.typesafe.akka</groupId>
Expand Down
Loading
Loading