Commit graph

21382 commits

Author SHA1 Message Date
Johan Andrén
c31f6b862f cluster apis for typed, #21226
* Cluster management (join, leave, etc)
* Cluster membership subscriptions (MemberUp, MemberRemoved, etc)
* New SelfUp and SelfRemoved events
* change signature of awaitAssert to return the value (not binary compatible)
* Cluster singleton api
2017-09-21 17:58:29 +02:00
Patrik Nordwall
94f0492873 Merge pull request #23647 from akka/wip-typed-ddata-patriknw
Distributed Data API for Akka Typed
2017-09-21 13:14:13 +02:00
Konrad `ktoso` Malawski
0020e27f76 Add Code of Conduct, inspired by Play Framework's (#23673)
* Add Code of Conduct, inspired by Play framework's

* Update CODE_OF_CONDUCT.md

* Update CODE_OF_CONDUCT.md

* We also invite people not from companies
2017-09-21 19:23:19 +09:00
Kyle Song
280fcc9f37 =doc Remove duplicated 'to be's. issue #23646 (#23671) 2017-09-21 10:20:07 +09:00
Arnout Engelen
699a11144e Avoid side effect in ActorGraphInterpreter#toString #23656 2017-09-20 14:27:29 +02:00
Konrad `ktoso` Malawski
349a5f749a =jdk9,str JDK9 ready classes, in special directories (#23650)
* =jdk9,str JDK9 ready classes, in special directories

* =str,jdk9 prepare for releasing using JDK9 (needs sbt 1.0+ though)

* =str,jdk9 passing TCK spec touching some JDK9 types internally

* make sure to include linting options
2017-09-20 21:06:49 +09:00
Patrik Nordwall
6d78e30e1c DistributedData extension 2017-09-20 13:49:36 +02:00
Patrik Nordwall
8b2bde1396 convenience for ask 2017-09-20 13:20:39 +02:00
Patrik Nordwall
9eb8d3f853 add remaining commands 2017-09-20 13:20:39 +02:00
Patrik Nordwall
eee449ccb3 incorporate feedback 2017-09-20 13:20:39 +02:00
Patrik Nordwall
20fce37665 Subscribe 2017-09-20 13:20:39 +02:00
Patrik Nordwall
9496b59289 first stab at javadsl for Typed ddata 2017-09-20 13:20:39 +02:00
Patrik Nordwall
341d4e5ba9 WIP ddata api for Akka Typed 2017-09-20 13:20:39 +02:00
Changwon Choe
9bd6ca4c8b Fixed a typo in a toc in the guide (#23660) 2017-09-20 13:02:30 +02:00
Patrik Nordwall
d0067b30dc Merge pull request #23612 from akka/wip-typed-remote-patriknw
Remoting for Akka Typed, #21225
2017-09-20 12:24:13 +02:00
Johan Andrén
925cc163f7 First test for Akka Typed remoting, #21225 2017-09-20 10:57:24 +02:00
Arnout Engelen
62620b3ac2 Disambiguate 'position' and 'limit' calls (#23659) 2017-09-20 10:36:12 +02:00
Konrad `ktoso` Malawski
9965fc592b =act small compilation fixes for JDK9 (#23658) 2017-09-20 16:24:29 +09:00
Johannes Rudolph
3307b3522c =str hide deprecated lazy vals behind def in FanInShape et al (#23655)
To avoid genjavadoc issue https://github.com/typesafehub/genjavadoc/issues/85.
2017-09-19 15:38:12 +02:00
Patrik Nordwall
5f059d18b5 Add AbstractPersistentActorWithTimers, #23652 (#23653) 2017-09-19 13:04:09 +02:00
Arnout Engelen
e13e26aaab Disable min-nr-of-members for ClusterSingletonProxySpec #23619, #23627 2017-09-19 09:20:52 +02:00
Arnout Engelen
062db0904e Nicer way to determine snip.akka.base_dir (#23648)
Making it consistent with akka-http
2017-09-19 10:40:47 +09:00
Johannes Rudolph
839442a118 Further stream shape cleanups (#23633)
* =str move non-boilerplaty shapes out of templates

This will improve code navigation for those classes.

 - FanInShape, FanInShape1N, UniformFanInShape
 - FanOutShape, UniformFanOutShape

* =str deprecate FanInShape1N

It was not tested, used or documented anywhere. With one input of type T0,
n inputs of type T1 and one output of type O, it is also arguably not
particularly generic to warrant its inclusion.

* !str remove unnecessary copyFromPorts implementation in Fan{In,Out}Shape

Strictly speaking this is a binary incompatible change. It would only affect
users that explicitly called `copyFromPorts` (but for what reason?).

* =str #23636 fix deprecation message not to use backticks

Backticks break genjavadoc / unidoc.

Fixes #23636.
2017-09-18 15:38:46 +02:00
Nadav Wiener
54d408b1c5 deprecate Source.combine instance method #22452 2017-09-18 08:48:57 +02:00
Sebastian Harko
a1fc508026 fix typo (#23630) 2017-09-15 18:40:52 +09:00
Szymon Chojnacki
aaf1867e0e =doc Make ActorSystem name in tutorial_1 consistent with documentation (#23629) (#23635) 2017-09-13 18:45:11 +02:00
Patrik Nordwall
120e248e6f Merge pull request #23626 from akka/wip-21732-rewrite-filesource-with-java-nio-patriknw
=str 21732 rewrite file souce with NIO and GraphStagу
2017-09-12 16:30:48 +02:00
László van den Hoek
63d9ec1c87 More consistency between UniformFanInShape and UniformFanOutShape (#23321)
* add+use UniformFanOutShape#outSeq for consistency

UniformFanInShape has inSeq, whereas UniformFanOutShape has outArray.
There's probably no good reason for this discrepancy.

* 2.5.3 is gold, deprecation would start in 2.5.4

* specialize in/outlets where possible

* review comments, binary compatibility

* optimize imports

* use Array copy internally

* give FanInShape1N the deprecation treatment

also, s/T\d/I\d/g

* delete ignored file

* process additional review comments

* make inArray fully private everywhere

* add benchmark heavy on the use of FanInShape.in()

* benchmark says: do not use Array for most n

* add JavaDoc to un-final'ed defs to not override

* change deprecated val to def; do not use it

* process patriknw's review comments
2017-09-12 16:14:20 +02:00
Alexander Golubev
000ed93576 =str 21732 rewrite file souce with NIO and GraphStagу
add MiMa excludes and additional test

add benchmark and move eclusions to 2.5.4

add future completion on stream termination
2017-09-12 14:54:41 +02:00
Guido Medina
e57cab6c85 =rem Relax Aeron CNC version check but log a warning. (#23572) 2017-09-12 11:16:10 +02:00
Martynas Mickevičius
feb333f394 =doc,release Baptising the release server (#23606)
* Baptising the release server

* Update release (#23624)
2017-09-12 11:13:25 +02:00
Patrik Nordwall
d58d6ee5bf test Scala version in a Scala 2.13 friendly manner (#23620)
for the Scala 2.13 community build
2017-09-12 10:48:15 +02:00
Kamil Kafara
da1e960c08 =tes Update documentation for testkit fishForSpecificMessage #23608 (#23609) 2017-09-11 18:30:14 +02:00
Arnout Engelen
170a7504eb =tes #23528 Hand out temporary loopback addresses from a larger pool (#23530)
* Hand out temporary loopback addresses from a larger pool

Might have prevented https://github.com/akka/akka/issues/23528

* Detect if binding on other loopback addresses works

Works for Linux, not for OSX

* Avoid hard-coding 'localhost' in more places

When the address is ignored and only a port is requested,
find a free port on 'localhost'
2017-09-11 18:10:11 +02:00
Guido Medina
b628fb2523 =pro Update dependencies and plugins to latest. (#23591) 2017-09-11 17:48:46 +02:00
Patrik Nordwall
fa4ce6bbe7 new actor benchmark (#23489)
* and array based mailbox in bench project
2017-09-11 16:57:57 +02:00
Konrad `ktoso` Malawski
207b43a139 =doc #23487 add missing scala snippet in testing doc (#23488)
* =doc #23487 add missing scala snippet in testing doc

* Update TestkitDocSpec.scala

* me file

* Update testing.md
2017-09-11 16:50:04 +02:00
Patrik Nordwall
510bf9e13d Merge pull request #23509 from agolubev/23480-fix-fail-future-case-in-QueueSourceSpec
23480 fix fail future case in queue source spec
2017-09-11 16:43:47 +02:00
Patrik Nordwall
4f8856f108 Merge pull request #23551 from akka/wip-23502-join-timeout-patriknw
Add timeout to abort joining of seed nodes, #23502
2017-09-11 16:41:35 +02:00
Konrad `ktoso` Malawski
721e486fdb +str #23392 AbstractGraphStageWithMaterializedValue for Java users (#23394)
(no need to use Tuple2, can be Pair)
2017-09-11 16:35:35 +02:00
Patrik Nordwall
5cf698a2f6 Add timeout to abort joining of seed nodes, #23502 2017-09-11 15:56:25 +02:00
Sebastian Harko
e6da282f7f =doc Some documentation fixes (#23616)
* fixes some small issues with the documentation

* add syntax highlighting to jvm multi testing code in docs
2017-09-11 14:21:13 +02:00
Johan Andrén
ddf3e8e150 =str #23536 Complete and fail ByteStringParser eagerly (#23594)
* Complete and fail ByteStringParser eagerly #23536

* Check that the buffer is empty first
2017-09-11 14:19:46 +02:00
Konrad `ktoso` Malawski
a40826e1cb =str #22881 test also resume case for throwing mid-stream mapAsync (#22915)
* =str #22880 fix mapAsync racy failure handling

* =str #22881 test also resume case for throwing mid-stream mapAsync

* address review feedback, the handle calls must be exactly like that
2017-09-11 14:17:13 +02:00
Johan Andrén
8344443d55 Materialized value injected per materialization #23577 2017-09-08 15:45:45 +02:00
Patrik Nordwall
fd11b94b1f Remoting for Akka Typed, #21225
* seems like it will just work when using the adapters, since
  it will simply delegate to the untyped RemoteActorRef
* ActorRefResolver was added for upporting erialization of typed ActorRef
* The ActorRef itself is not serializable with Java serialization,
  and we shouldn't do that
2017-09-08 10:21:29 +02:00
Martynas Mickevičius
28ab1405cc Merge pull request #23601 from akka/updateWhitesource
Update whitesource plugin (and MiMa)
2017-09-07 11:03:34 +03:00
Martynas Mickevičius
1d95e3146e Merge pull request #23605 from sebastianharko/FixMavenGradle
Docs: add more gradle deps
2017-09-07 10:56:44 +03:00
sebastian.harko
053b79e85a add more gradle deps 2017-09-06 23:22:30 +02:00
Arnout Engelen
e90a6fc3c1 Update whitesource plugin (and MiMa)
Update of MiMa was needed because of
https://github.com/typesafehub/sbt-whitesource/issues/20
2017-09-05 13:49:23 +02:00