Commit graph

24030 commits

Author SHA1 Message Date
Johannes Rudolph
650068aa45
Convert 2.5.x MiMa excludes to subdirectory style
Using this script:

```sh

set -ex

FILE=$1
DIR=`dirname $FILE`
TMP_FILE=$DIR/_existing.excludes
FINAL_FILE=$DIR/2.5.x.backwards.excludes/_existing.excludes

mv $FILE $TMP_FILE
mkdir $DIR/2.5.x.backwards.excludes
(echo "# This file contains all excludes added before changing to the subdirectory style" && cat $TMP_FILE) > $FINAL_FILE
rm $TMP_FILE
git add $FINAL_FILE
```
2019-10-01 13:59:56 +02:00
Helena Edelson
ba67d6205c A few more removals of use of typed, where makes sense, #24717 (#27819)
Remaining ones I think are still needed still
2019-10-01 13:55:08 +02:00
Arnout Engelen
8fd4fa2c1f Update sbt to 1.3.2 (#26935)
* Don't set a MaxMetaspaceSize for sbt
* Update mima as well
2019-10-01 13:49:02 +02:00
Patrik Nordwall
61ad10c7ee
Merge pull request #27829 from johanandren/wip-26975-replicatorpruningspec-fail
Try to get root cause of timeout in ReplicatorPruningSpec
2019-10-01 13:37:28 +02:00
Patrik Nordwall
5182884207
Merge pull request #27833 from akka/scmInfo
Make scm section consistent with previous releases
2019-10-01 13:34:20 +02:00
Scala Steward
6b17a7a15f Update scalafmt-core to 2.1.0 (#27831)
* Update scalafmt-core to 2.1.0

* scalafmt
2019-10-01 12:24:51 +02:00
Patrik Nordwall
b10a83ad9b Same logic for onRecoveryFailure in ReplayingSnapshot as ReplayingEvents, #27526 (#27530) 2019-10-01 12:24:36 +02:00
Johan Andrén
f6ebff6e27 EventsourcedBehaviorRetentionSpec race fix (#27532)
* Not working for mysterious reasons

* Fix for #27507 race in test

Logging at debug to try if there is a race when testing on Jenkins

Also, fail fast if expecting a signal from a TestProbe (never happens)
Some minor logging improvements for event sourced behavior as well.

* Don't send batches of events when snapshot and event deletion is enabled

When events are deleted the event sourced actor switches to running until it gets
an ack back from the journal about deleting events, then it deletes snapshots if that
is enabled. This means events and snapshotting could happen inbetween making the
ordering of SnapshotComplete and DeleteSnapshotsComplete signals non deterministic.
2019-10-01 12:23:13 +02:00
CloudCalvin
e0192470ec Fix typo (#26927) 2019-10-01 12:08:27 +02:00
Arnout Engelen
973d913878
Make scm section consistent with previous releases
Follow-up on #27817
2019-10-01 10:11:15 +02:00
Patrik Nordwall
24afac6629 Define ScmInfo (#27817)
* it was previously added by sbt-git, but we removed that plugin
2019-10-01 09:01:33 +02:00
Patrik Nordwall
71e1978d64
Merge pull request #27830 from ignasi35/dont-leak-testkit-as-dependency
Remove unnecessary dependency
2019-10-01 07:50:37 +02:00
Ignasi Marimon-Clos
861034de38 Remove unnecessary dependency 2019-09-30 19:03:22 +02:00
Johan Andrén
2503b13138 Try to get root cause of timeout in ReplciatorPruningSpec #26957 2019-09-30 18:18:28 +02:00
Arnout Engelen
3b17c01c68
Update to Scala 2.12.10 (#27734) 2019-09-30 16:22:13 +02:00
Enno
9b8c72fadd Docs: Akka Discovery links to Akka Management (#27824) 2019-09-30 15:54:33 +02:00
Helena Edelson
8e9ba9e0e7
Add HTML meta page descriptions for the most important landing pages (#27818) 2019-09-30 06:38:26 -07:00
Arnout Engelen
f30b40ca8d
Make running mima in PrValidation optional (default enabled) (#27812)
So we can run it on travis but skip it on jenkins.
2019-09-30 12:40:22 +02:00
Patrik Nordwall
f97e31d087
Merge pull request #27822 from akka/wip-doc-singleton-patriknw
doc: duplicate singleton lease section
2019-09-30 10:38:18 +02:00
Patrik Nordwall
c5187441bb
Merge pull request #27820 from akka/wip-24717-doc-link-patriknw
more cross-links to Classic docs, #24717
2019-09-30 10:37:47 +02:00
Patrik Nordwall
5acb33adb5 doc: duplicate singleton lease section 2019-09-29 21:09:20 +02:00
Patrik Nordwall
3051928c9d more cross-links to Classic docs, #24717 2019-09-29 19:48:14 +02:00
Matthias Kurz
04ac08e5cc Fix Travis: Update AdoptOpenJDK (#27815) 2019-09-29 15:02:23 +02:00
Patrik Nordwall
91db18b564 ActorContext as constructor parameter in AbstractBehavior, #27689 (#27806)
* ActorContext as constructor parameter in AbstractBehavior, #27689

* additional test

* additional doc clarification

* another rebase
2019-09-27 11:17:37 +02:00
Johan Andrén
0719de035b
General concepts docs ported to typed (#27765) 2019-09-27 09:50:34 +02:00
Helena Edelson
ea74f905ea Cluster Singleton - General Typed docs cleanup after all API changes #24717 (#27801) 2019-09-27 09:18:15 +02:00
Patrik Nordwall
a7c43cf573
Config to exclude class prefix from serialize-messages, #24273 (#27517)
* Config to exclude class prefix from serialize-messages, #24273

* Adding no-serialization-verification-needed-class-prefix, with "akka." included
  by default
* This is important now when we disable Java serialization by default.
  There will be many complaints about Akka internal classes that are not marked with
  NoSerializationVerificationNeeded, and we can't really sprinkle that everywhere.
* Not removing NoSerializationVerificationNeeded usage in Akka classes because that
  may break bin compat, even though it's needed any more.

* fix DisabledJavaSerializerWarningSpec
2019-09-26 22:51:12 +02:00
Johan Andrén
4f9a4b5403 System materializer guardian (#27723)
* Eager creation of system materializer on system startup #26850

* System level materializers always spawned under a specific system actor #26850

* No need for RepointableActorRef logic anymore

* MiMa filter

* Make the creation timeout higher
2019-09-26 22:49:33 +02:00
Patrik Nordwall
1a90e715f5
Cleanup persistence docs, #24717 (#27779) 2019-09-26 22:48:12 +02:00
Helena Edelson
94cc028986 Distributed Data: General Typed docs cleanup after all API changes (#27783) 2019-09-26 17:14:08 +02:00
Helena Edelson
8e4adf8a52
Adding select scala steward ignores to not receive auto-PR updates on a few dependencies (#27787) 2019-09-26 16:50:02 +02:00
Johan Andrén
37a76aa9a0
BlockingIODispatcher actually not needed #27632 2019-09-26 15:52:18 +02:00
Patrik Nordwall
119e832a0c
Merge pull request #27725 from akka/wip-remove-EventSourcedEntity-patriknw
Remove EventSourcedEntity, #27724
2019-09-26 15:03:35 +02:00
Patrik Nordwall
85e52eddd0
Merge pull request #27797 from johanandren/wip-japi-lambda-followup
Some follow up on the japi lambda changes
2019-09-26 14:47:55 +02:00
Johan Andrén
2409add7ea LogCapture in more tests (#27660)
* LogCapturing for ClassicSupervisingTypedSpec

* LogCapturing for AdapterSpec

* Spelling in AdapterSpec

* LogCapturing for JoinConfigIncompatibilitySpec and JoinConfigCompatibilitySpec

Also: updates to test to actually verify what they say they verify

* Review feedback fixes

* No depend on AkkaSpec.config
2019-09-26 14:43:06 +02:00
Helena Edelson
e8e7ac020f
Cross link also from Typed doc pages to Classic (#27784) 2019-09-26 14:36:02 +02:00
Patrik Nordwall
a1949cabdf update to Jackson 2.9.10 (#27796) 2019-09-26 14:29:59 +02:00
Johan Andrén
08a6fff66b Typed actorsystem clarifications (#27771)
* Link to 2.6 api docs instead of 2.5

* User guardian clarifications

* Runaway quotes caught and dealt with

* Undo weird paradox file format
2019-09-26 12:18:47 +02:00
Patrik Nordwall
d4d44a4813
Merge pull request #27762 from akka/wip-24717-doc-ser-patriknw
doc: Cleanup serialization.md, #24717
2019-09-26 12:01:22 +02:00
Patrik Nordwall
ae32f1431a
Merge pull request #27701 from akka/wip-occurence0-patriknw
wait for async excess events when occurrences 0
2019-09-26 12:00:38 +02:00
Johan Andrén
2bacd43dc9 Some follow up on the japi lambda changes 2019-09-26 12:00:19 +02:00
Patrik Nordwall
1b3a75b3f8 Remove EventSourcedEntity, #27724
Move utils to construct PersistenceId

* Move from EntityTypeKey to PersistenceId
* Thereby no persistence dependencies in sharding
* Reference documentation PersistenceId and how to use with Sharding
* Add EntityTypeKey to EntityContext to make it "complete"
* One consequence of adding EntityTypeKey to EntityContext is that
  now requires additional message type parameter and then type inference
  for `init` (Entity) breaks down. Solved by using two parameter lists in
  Entity.apply, which is pretty nice anyway since the second parameter is
  a function.
* as bonus the dependency can be removed
2019-09-26 11:59:00 +02:00
Johan Andrén
e74831d78b Use japi lambdas where it makes sense (#27790)
* Use akka.japi.function types for adapter lambdas

The Java lambda types does not allow for throwing exceptions but
because of how we run the adapter lambdas in-actor that is fine, so
use our own akka.japi.function types to allow for that.

* Use akka.japi.function types for lambdas where it makes sense
2019-09-26 11:07:56 +02:00
Scala Steward
bd7a264b2f Update protobuf-java to 3.9.2 (#27778) 2019-09-26 09:55:15 +01:00
Renato Cavalcanti
2bab0d8dcd Remove ExpectingReply (#27781)
* remove ExpectingReply

* call method instead of private field

* re-format comments

* formatting

* remove obsolete comment

* remove replyTo()

* remove getters in commands, use immutable fields instead

* Added migration note
2019-09-26 09:45:47 +01:00
Patrik Nordwall
b94f3c3bcc
Merge pull request #27707 from akka/wip-26187-finally-patriknw
Final removal of ActorPublisher and ActorSubscriber, #26187
2019-09-24 13:31:25 +02:00
Scala Steward
fc3ac63ed4 Update sbt-whitesource to 0.1.17 (#27676) 2019-09-23 10:47:41 +02:00
Helena Edelson
f3f2ffd7fb
Cluster Sharding: General Typed docs cleanup after all API changes (#27764) 2019-09-20 07:56:22 -07:00
Patrik Nordwall
f18d8af484 doc: Cleanup serialization.md, #24717 2019-09-19 17:53:02 +02:00
Helena Edelson
20238d975f
New base cluster sharding multi-node/jvm test to cleanup and tighten testing (#27740) 2019-09-19 08:14:48 -07:00