Rename sbt akka modules
Co-authored-by: Sean Glover <sean@seanglover.com>
This commit is contained in:
parent
b92b749946
commit
24c03cde19
2930 changed files with 1466 additions and 1462 deletions
2
.github/autolabeler.yml
vendored
2
.github/autolabeler.yml
vendored
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
dependency-change: "/project/Dependencies.scala"
|
||||
|
||||
't:stream': ["/akka-stream", "/akka-stream-testkit", "/akka-stream-tests", "/akka-stream-tests-tck", "/akka-stream-typed"]
|
||||
't:stream': ["/stream", "/stream-testkit", "/stream-tests", "/stream-tests-tck", "/stream-typed"]
|
||||
|
|
|
|||
14
.github/workflows/nightly-builds.yml
vendored
14
.github/workflows/nightly-builds.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
- name: Enable jvm-opts
|
||||
run: cp .jvmopts-ci .jvmopts
|
||||
|
||||
- name: sbt akka-cluster-metrics/test
|
||||
- name: sbt cluster-metrics/test
|
||||
run: |-
|
||||
sbt \
|
||||
-Djava.security.egd=file:/dev/./urandom \
|
||||
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
-Dmultinode.Xmx256M \
|
||||
-Dmultinode.Xlog:gc \
|
||||
-Dmultinode.XX:+AlwaysActAsServerClassMachine \
|
||||
clean akka-cluster-metrics/test
|
||||
clean cluster-metrics/test
|
||||
|
||||
# comment out test report until an apache or GitHub published action (action-surefire-report) can be found or added allowlist from INFRA
|
||||
# - name: Test Reports
|
||||
|
|
@ -80,9 +80,9 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
command:
|
||||
- akka-cluster/test akka-distributed-data/test akka-cluster-tools/test akka-cluster-metrics/test
|
||||
- akka-cluster-sharding/test
|
||||
- akka-cluster-typed/test akka-cluster-sharding-typed/test
|
||||
- cluster/test distributed-data/test cluster-tools/test cluster-metrics/test
|
||||
- cluster-sharding/test
|
||||
- cluster-typed/test cluster-sharding-typed/test
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
|
@ -240,8 +240,8 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
command:
|
||||
- akka-remote/test akka-remote-tests/test
|
||||
- akka-cluster/test akka-cluster-typed/test
|
||||
- remote/test remote-tests/test
|
||||
- cluster/test cluster-typed/test
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
|
|
|||
22
.github/workflows/scala3-build.yml
vendored
22
.github/workflows/scala3-build.yml
vendored
|
|
@ -19,17 +19,17 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
command:
|
||||
- akka-testkit/test akka-actor-tests/test
|
||||
- akka-actor-testkit-typed/test akka-actor-typed-tests/test
|
||||
- akka-bench-jmh/test
|
||||
- akka-cluster/test akka-cluster-tools/test akka-cluster-typed/test akka-distributed-data/test akka-cluster-metrics/test akka-cluster-sharding/test akka-cluster-sharding-typed/test
|
||||
- akka-discovery/test akka-coordination/test
|
||||
- akka-persistence/test akka-persistence-shared/test akka-persistence-query/test akka-persistence-typed/test akka-persistence-testkit/test akka-persistence-tck/test akka-persistence-typed-tests/test
|
||||
- akka-pki/test akka-slf4j/test
|
||||
- akka-serialization-jackson/test
|
||||
- akka-stream/test akka-stream-testkit/test akka-stream-tests/test akka-stream-typed/test
|
||||
- akka-stream-tests-tck/test
|
||||
- akka-remote/test akka-remote-tests/test akka-protobuf/test akka-protobuf-v3/test
|
||||
- testkit/test actor-tests/test
|
||||
- actor-testkit-typed/test actor-typed-tests/test
|
||||
- bench-jmh/test
|
||||
- cluster/test cluster-tools/test cluster-typed/test distributed-data/test cluster-metrics/test cluster-sharding/test cluster-sharding-typed/test
|
||||
- discovery/test coordination/test
|
||||
- persistence/test persistence-shared/test persistence-query/test persistence-typed/test persistence-testkit/test persistence-tck/test persistence-typed-tests/test
|
||||
- pki/test slf4j/test
|
||||
- serialization-jackson/test
|
||||
- stream/test stream-testkit/test stream-tests/test stream-typed/test
|
||||
- stream-tests-tck/test
|
||||
- remote/test remote-tests/test protobuf/test protobuf-v3/test
|
||||
fail-fast: true
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
|||
22
.github/workflows/scala3-compile.yml
vendored
22
.github/workflows/scala3-compile.yml
vendored
|
|
@ -16,17 +16,17 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
command:
|
||||
- akka-testkit/Test/compile akka-actor-tests/Test/compile
|
||||
- akka-actor-testkit-typed/Test/compile akka-actor-typed-tests/Test/compile
|
||||
- akka-bench-jmh/Test/compile
|
||||
- akka-cluster/Test/compile akka-cluster-tools/Test/compile akka-cluster-typed/Test/compile akka-distributed-data/Test/compile akka-cluster-metrics/Test/compile akka-cluster-sharding/Test/compile akka-cluster-sharding-typed/Test/compile
|
||||
- akka-discovery/Test/compile akka-coordination/Test/compile
|
||||
- akka-persistence/Test/compile akka-persistence-shared/Test/compile akka-persistence-query/Test/compile akka-persistence-typed/Test/compile akka-persistence-testkit/Test/compile akka-persistence-tck/Test/compile akka-persistence-typed-tests/Test/compile
|
||||
- akka-pki/Test/compile akka-slf4j/Test/compile
|
||||
- akka-serialization-jackson/Test/compile
|
||||
- akka-stream/Test/compile akka-stream-testkit/Test/compile akka-stream-tests/Test/compile akka-stream-typed/Test/compile
|
||||
- akka-stream-tests-tck/Test/compile
|
||||
- akka-remote/Test/compile akka-remote-tests/Test/compile akka-protobuf/Test/compile akka-protobuf-v3/Test/compile
|
||||
- testkit/Test/compile actor-tests/Test/compile
|
||||
- actor-testkit-typed/Test/compile actor-typed-tests/Test/compile
|
||||
- bench-jmh/Test/compile
|
||||
- cluster/Test/compile cluster-tools/Test/compile cluster-typed/Test/compile distributed-data/Test/compile cluster-metrics/Test/compile cluster-sharding/Test/compile cluster-sharding-typed/Test/compile
|
||||
- discovery/Test/compile coordination/Test/compile
|
||||
- persistence/Test/compile persistence-shared/Test/compile persistence-query/Test/compile persistence-typed/Test/compile persistence-testkit/Test/compile persistence-tck/Test/compile persistence-typed-tests/Test/compile
|
||||
- pki/Test/compile slf4j/Test/compile
|
||||
- serialization-jackson/Test/compile
|
||||
- stream/Test/compile stream-testkit/Test/compile stream-tests/Test/compile stream-typed/Test/compile
|
||||
- stream-tests-tck/Test/compile
|
||||
- remote/Test/compile remote-tests/Test/compile protobuf/Test/compile protobuf-v3/Test/compile
|
||||
fail-fast: true
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
|||
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -48,7 +48,7 @@ activemq-data
|
|||
docs/_build/
|
||||
docs/exts/
|
||||
docs/rst_preprocessed/
|
||||
akka-osgi/src/main/resources/*.conf
|
||||
osgi/src/main/resources/*.conf
|
||||
akka.sublime-project
|
||||
akka.sublime-workspace
|
||||
akka.tmproj
|
||||
|
|
@ -64,7 +64,7 @@ metals.sbt
|
|||
mongoDB/
|
||||
multiverse.log
|
||||
out
|
||||
project/akka-build.properties
|
||||
project/pekko-build.properties
|
||||
project/boot/*
|
||||
project/plugins/project
|
||||
redis/
|
||||
|
|
|
|||
|
|
@ -217,8 +217,8 @@ The Pekko build includes a special task called `validatePullRequest`, which inve
|
|||
(uncommitted changes) in your local working directory and figures out which projects are impacted by those changes,
|
||||
then running tests only on those projects.
|
||||
|
||||
For example, changing something in `akka-actor` would cause tests to be run in all projects which depend on it
|
||||
(e.g. `akka-actor-tests`, `akka-stream`, `docs` etc.).
|
||||
For example, changing something in `actor` would cause tests to be run in all projects which depend on it
|
||||
(e.g. `actor-tests`, `stream`, `docs` etc.).
|
||||
|
||||
To use the task, simply type `validatePullRequest`, and the output should include entries like shown below:
|
||||
|
||||
|
|
@ -258,7 +258,7 @@ PR fails due to binary compatibility issues, you may see an error like this:
|
|||
In such situations it's good to consult with a core team member whether the violation can be safely ignored or if it would indeed
|
||||
break binary compatibility. If the violation can be ignored add exclude statements from the mima output to
|
||||
a new file named `<module>/src/main/mima-filters/<last-version>.backwards.excludes/<pr-or-issue>-<issue-number>-<description>.excludes`,
|
||||
e.g. `akka-actor/src/main/mima-filters/2.6.0.backwards.excludes/pr-12345-rename-internal-classes.excludes`. Make sure to add a comment
|
||||
e.g. `actor/src/main/mima-filters/2.6.0.backwards.excludes/pr-12345-rename-internal-classes.excludes`. Make sure to add a comment
|
||||
in the file that describes briefly why the incompatibility can be ignored.
|
||||
|
||||
Situations when it may be acceptable to ignore a MiMa issued warning include:
|
||||
|
|
@ -424,8 +424,8 @@ For first time contributors, the workflow will be run after an approval from a c
|
|||
|
||||
To speed up PR validation times the Akka build contains a special sbt task called `validatePullRequest`,
|
||||
which is smart enough to figure out which projects should be built if a PR only has changes in some parts of the project.
|
||||
For example, if your PR only touches `akka-persistence`, no `akka-remote` tests need to be run, however the task
|
||||
will validate all projects that depend on `akka-persistence` (including samples).
|
||||
For example, if your PR only touches `persistence`, no `remote` tests need to be run, however the task
|
||||
will validate all projects that depend on `persistence` (including samples).
|
||||
Also, tests tagged as `PerformanceTest`, `TimingTest`, `LongRunningTest`, and all multi-node tests are excluded from PR validation.
|
||||
|
||||
You can exclude the same kind of tests in your local build by starting sbt with:
|
||||
|
|
@ -494,7 +494,7 @@ There are a number of ways timeouts can be defined in Pekko tests. The following
|
|||
|
||||
Special care should be given to `expectNoMessage` calls, which indeed will wait for the entire timeout before continuing. Therefore a shorter timeout should be used in those, for example `200.millis` or `300.millis`. Prefer the method without timeout parameter, which will use the configured `expect-no-message-default` timeout.
|
||||
|
||||
You can read up on `remaining` and friends in [TestKit.scala](https://github.com/apache/incubator-pekko/blob/main/akka-testkit/src/main/scala/akka/testkit/TestKit.scala).
|
||||
You can read up on `remaining` and friends in [TestKit.scala](https://github.com/apache/incubator-pekko/blob/main/testkit/src/main/scala/org/apache/pekko/testkit/TestKit.scala).
|
||||
|
||||
### Contributing modules
|
||||
|
||||
|
|
|
|||
4
LICENSE
4
LICENSE
|
|
@ -207,6 +207,6 @@ Licenses for dependency projects can be found here:
|
|||
|
||||
---------------
|
||||
|
||||
akka-protobuf contains the sources of Google protobuf 2.5.0 runtime support,
|
||||
moved into the source package `akka.protobuf` so as to avoid version conflicts.
|
||||
pekko-protobuf contains the sources of Google protobuf 2.5.0 runtime support,
|
||||
moved into the source package `org.apache.pekko.protobuf` so as to avoid version conflicts.
|
||||
For license information see COPYING.protobuf
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue