Commit graph

23052 commits

Author SHA1 Message Date
Johan Andrén
be7790c7b9 No cross-scala-versions for root 2019-02-25 17:28:26 +01:00
Johan Andrén
a8291f323f Typed only on Scala 2.12
* Typed modules not compiled on 2.11
* Dependent modules also not on 2.11:
  * docs
  * akka-bench-jmh split into a separate one for typed

Still doesn't work because something with sbt
2019-02-21 15:47:09 +01:00
Johan Andrén
9fc3251a03 Update test and sample usages of ActorRef.? to .ask 2019-02-21 13:55:14 +01:00
Johan Andrén
bf10f8620a Non symbolic ask 2019-02-21 13:55:14 +01:00
Patrik Nordwall
96b72c2b7b
Merge pull request #26405 from akka/wip-26230-patriknw
harden ClusterShardingPersistenceSpec by using onPostStop, #26230
2019-02-20 15:22:00 +01:00
Patrik Nordwall
abfb4497e7 harden ClusterShardingPersistenceSpec by using onPostStop, #26230 2019-02-20 11:23:42 +01:00
Patrik Nordwall
d82115988b add onPostStop and onPreRestart hooks to EventSourcedBehavior, #26404 2019-02-18 16:55:54 +01:00
Patrik Nordwall
21bc3ebba1
Merge pull request #26398 from akka/wip-more-with-reply-patriknw
fix more with reply types in persistence-typed examples
2019-02-18 10:33:22 +01:00
Patrik Nordwall
537641c2a8 move ccompat mima filter to right excludes file, #26350 2019-02-18 09:36:14 +01:00
Patrik Nordwall
88ee18c3f7 fix more with reply types in persistence-typed examples 2019-02-18 08:45:01 +01:00
Luc Bourlier
f85e0e7c62 Adds log operator to Source/FlowWithContext (#26386) 2019-02-17 20:00:02 +00:00
Patrik Nordwall
d3836aecfb Command handler builder for EventSourcedBehaviorWithEnforcedReplies, #25482 (#26272)
* It uses ReplyEffect instead of Effect
* Unfortunatley the solution is a copy of the CommandHandler builder with
  a few mechanical changes to the types and names.
* I tried to separate interface and implementation and use a shared implementation,
  but it didn't work out because methods with such function parameters which only differ in
  their type parameters can't be overloaded.
2019-02-17 19:54:32 +00:00
Dale Wijnand
1442a2428c Redefine the Factory type alias in ccompat (#26350) 2019-02-17 19:50:46 +00:00
Seth Tisue
fc23f03031 upgrade to latest ScalaTest (#26387)
stuff moved to a new package. you wouldn't expect that in a point
release, but they put type aliases in place so Scala users wouldn't
notice. but the change is visible to Java code.

the upgrade is not strictly necessary, but it would be convenient
for the Scala 2.13 community build to have this merged, so I don't
have to maintain these changes in our Akka fork
2019-02-17 19:45:39 +00:00
Patrik Nordwall
fe073f08ee
Merge pull request #26394 from akka/wip-26382-unsorted-patriknw
second fix 2.13 compilation error, SortedSet, #26382
2019-02-16 20:05:04 +01:00
Patrik Nordwall
07568cb217 second fix 2.13 compilation error, SortedSet, #26382 2019-02-16 16:25:35 +01:00
Helena Edelson
7b5e69ded3 Create one SBT general task to run locally before pushing a PR #26157 (#26388)
* Create one SBT general task to run locally before pushing a PR #26157.

* Allow tab completion with same prefix

* Added allTyped command
2019-02-15 19:44:03 +01:00
Patrik Nordwall
1389d696bf
Merge pull request #26391 from akka/wip-26382-patriknw
fix 2.13 compilation error, SortedSet, #26382
2019-02-15 17:50:56 +01:00
Patrik Nordwall
d636245133 add Scala 2.13.0-M5 to travis build 2019-02-15 13:28:43 +01:00
Patrik Nordwall
a5209919d4 fix 2.13 compilation error, SortedSet, #26382 2019-02-15 13:26:10 +01:00
Patrik Nordwall
603ed4dcd8
Merge pull request #26379 from jrudolph/jr/26030-fix-jdk-11-error
Fix test expectation for JDK 11, refs #26030
2019-02-14 15:19:51 +01:00
Johannes Rudolph
bb8c47595f
Merge pull request #26378 from chbatey/really-fix-async-dns
Kill/Stop container if still running from previous
2019-02-14 15:18:41 +01:00
Johannes Rudolph
314636c55e
Fix test expectation for JDK 11, refs #26030
In later JDKs the error message was slightly changed.
2019-02-14 11:03:10 +01:00
Christopher Batey
53d3e80c40 Kill/Stop container if still running from previous 2019-02-14 09:40:15 +00:00
Patrik Nordwall
6e7bbd0784
Merge pull request #26374 from chbatey/mima2521
Update mima version to 2.5.21
2019-02-14 10:34:40 +01:00
Christopher Batey
08870e61af Update mima version to 2.5.21 2019-02-13 13:53:30 +00:00
Tomek Kopczynski
532a9bc604 Trivial typo fix in Streams docs (#26359) 2019-02-13 13:58:25 +01:00
Patrik Nordwall
998ed608fe
Merge pull request #26369 from akka/wip-26368-ActorLoggingSpec-patriknw
Fix ActorLoggingSpec for Scala 2.11, #26368
2019-02-13 12:14:14 +01:00
Christopher Batey
baf74a4fe6
Remote remoting deployment from artery docs (#26342)
* Remote deployment is not recommended and the section is duplicated
from classic remoting
* Move what's new lower down in prep for it becoming the main remoting
page but link to it for users are migration
2019-02-13 07:57:34 +00:00
Patrik Nordwall
57cff2e551 Fix ActorLoggingSpec for Scala 2.11, #26368
* no point in spending time on trying to make the detectLoggerClassFromStack
  smarter for 2.11 since 2.11 will be dropped in Akka 2.6 and perhaps even
  earlier than that for Typed
2019-02-12 17:06:40 +01:00
Helena Edelson
6d25b38e56
Fix new compiler warning, before adding automated fix of all new. (#26357) 2019-02-12 07:21:05 -08:00
Patrik Nordwall
4ee21f21aa
Merge pull request #26366 from chbatey/issue-26203
Clean up old docker containers at start of a docker test
2019-02-12 16:16:42 +01:00
Patrik Nordwall
e0a3fb28c9
Merge pull request #26346 from akka/wip-26326-FunctionRef-deadlock-patriknw
Fix deadlock in FunctionRef, #26326
2019-02-12 15:56:28 +01:00
Johan Andrén
8fabb73f2b Make the AbstractBehavior builder mutable (#26309)
* Make the AbstractBehavior builder mutable #26260

* Use mutable builder style in first sample, mention that fluent is an option

* A bit of rework of the Java builders:

 * onAnyMessage added
 * use the japi SAMs throughout in the APIs
 * avoid wrapping the japi functions in Scala functions for the most common cases
 * more Java test coverage

* Not just any exception

* Works on 2.11 as well as 2.12
2019-02-12 15:38:35 +01:00
Patrik Nordwall
ddada9a8e1
Stop singleton and shards when self MemberDowned, #26336 (#26339)
* Stop singleton when self MemberDowned, #26336
  * It's safer to stop singleton instance early in case of downing.
  * Instead of waiting for MemberRemoved and trying to hand over.
* Stop ShardRegion when self MemberDowned, #26336
* Upper bound when waiting for seen in shutdownSelfWhenDown, #26336
2019-02-12 15:05:33 +01:00
Patrik Nordwall
aca5d94b1c reduce scope of synchronized in FunctionRef, #26326 2019-02-12 15:03:49 +01:00
Arnaud Burlet
93ce2b8696 Test to ensure a coordinated shutdown is successful when a stream involving StreamRefs is running 2019-02-12 15:03:49 +01:00
Christopher Batey
9029ae77ac Clean up old docker containers at start of a docker test
Fixes #26203
2019-02-12 08:16:07 +00:00
László van den Hoek
8e2d378228 fix typo: excpetion -> exception (#26352) 2019-02-11 16:25:05 +00:00
Patrik Nordwall
f0b976d557 fix wrong log level of cluster debug logging (#26351) 2019-02-11 16:24:08 +00:00
Johan Andrén
84e8e41193
Logger class for typed actors #25677
* Walk stack to figure out logger class
* User API for getting a customized logger
* API to set logger class, use in receptionists, auto-good-class for EventSourcedBehavior
2019-02-11 17:18:17 +01:00
Patrik Nordwall
0c2ad78042 fix format of verbose logging of cluster events (#26363) 2019-02-11 14:37:39 +01:00
Johan Andrén
df089016fa
Extract the layouts of the running streams as an AST (#25831) 2019-02-11 13:35:38 +01:00
Johan Andrén
1b98ae8601
Cover the unsafe string access optimizations with direct tests (#26343)
Follow up on #26286 so that we notice quicker if new JDKs change internal representation
2019-02-11 13:34:44 +01:00
Arnout Engelen
b0b0865e4c Fix race condition in StreamConverters.asOutputStream() (#26136)
Fixes #25983
2019-02-07 17:00:38 +01:00
Martynas Mickevičius
d6ae3f1da9 Add asJava/asScala to RunnableGraph #26245 2019-02-07 15:41:49 +01:00
Johan Andrén
98a5f24835
Subtypes of state in typed persistence runThen Java API #25737 2019-02-07 15:09:35 +01:00
Johannes Rudolph
1b9b562696
Merge pull request #26297 from kajebiii/patch-1
move "#start-stop"'s start line
2019-02-07 14:53:35 +01:00
Johannes Rudolph
3f929427ef build: detect adoptopenjdk java homes (#26337)
The Ubuntu PPA for adoptopenjdk does not strictly follow the Ubuntu Java
naming correctly which can fail the akka build if no other JDK is installed.

rpardini/adoptopenjdk-deb-installer
2019-02-07 13:39:41 +01:00
Patrik Nordwall
b3ec17871a
Merge pull request #26315 from thjaeckle/bugfix/26286
Make copyUSAsciiStrToBytes more robust w.r.t. JDK for Java9+ #26286
2019-02-07 10:58:15 +01:00