Commit graph

20053 commits

Author SHA1 Message Date
Hawstein
6777e7f7d9 +doc #20466 example snippet for akka http java dsl: ParameterDirectives (#20823) 2016-06-23 23:29:01 +02:00
Patrik Nordwall
b6a94e1758 fix bug in SystemMessageAcker, #20709 (#20792)
* sequence numbers must, of course, be tracked by
  origin system
* add unit test for SystemMessageAcker stage
* enable ArteryRemoteRoundRobinSpec
2016-06-23 16:36:55 +02:00
Konrad Malawski
e818887bb2 +art #20455 HeavyHitters, CountMinSketch => ActorRef Compression
* +art #20455 HeavyHitters and CountMinSketch prepared for Compression

* +art #20455 compression tables and integration specs
2016-06-23 11:58:54 +02:00
Martynas Mickevičius
2836e990cb Merge pull request #20805 from 2m/wip-sigar-loader-extract-dir-2m
#20804 add a note for unique per instance extract directory
2016-06-23 10:14:01 +03:00
kbrowder
d6eebd22ef +htt #20815 Add expectNext(d: FiniteDuration) and requestNext(d: FiniteDuration) (#20819)
* Add expectNext(d: FiniteDuration) and requestNext(d: FiniteDuration) for issue 20815

* add some comments on requestNext
2016-06-22 21:27:09 +02:00
Michał Płachta
00c5f49c7a Replace PushStage-based Log with GraphStage (part of #19834) (#20788)
* Replace PushStage-based Log with GraphStage (part of #19834)

* Remove LogLogic and FilterLogic toStrings
2016-06-22 16:36:18 +02:00
Martynas Mickevičius
672a10a7ea #20804 add a note for unique per instance extract directory
If extract directory for sigar loader is shared, first instance
JVM crashes when the second one is started.
2016-06-22 16:30:40 +03:00
Martynas Mickevičius
e39255cef0 Merge pull request #20809 from 2m/wip-#20808-restart-node-2m
#20808 clarify docs on the quarantined node restart
2016-06-22 16:27:45 +03:00
gosubpl
4b89fcd643 +doc #20466 akka http java dsl example snippets timeout directives (#20812)
* #20466 added checks to the TimeoutDirectivesExampleSpec

* #20466 added missing Java directive wrapper, added Java test, added some comments to Scala spec

* #20466 test minor fixes (typos, comments, unused code)

* #20466 replaced placeholders with proper snippets in Java docs

* #20466 added proper withRequestTimeout example to JavaTestServer

* #20466 comment - clarifies the request-timeout = infinite case

* #20466 post-review changes (#20812)
2016-06-22 01:55:28 +02:00
Fabian Gutierrez
ee77273fac akka http javadsl - add path directive tests (#20813)
* akka http javadsl - add debugging directive test

* fixes line breaks

* add additional examples on PathDirectives

* link documentation to test examples

* include example on redirectToNoTrailingSlashIfPresent and redirectToTrailingSlashIfMissing

* include example on redirectToNoTrailingSlashIfPresent and redirectToTrailingSlashIfMissing
2016-06-22 01:13:27 +02:00
Patryk Jażdżewski
7259fcc534 +htc #20272 HttpMessageParser swallows IllegalHeaderException (#20783)
Catch clause in HttpMessageParser.parseBytes will intercept IllegalHeaderException being thrown and translate them into proper errors.
2016-06-21 16:30:25 +02:00
Johan Andrén
277e7124e0 Improve map stage diagrams (#20551)
* =doc Add clarity for GraphStage image with map transformation

* Clarified that the function is applied in the map graph stage diagrams

* Make application of f more visible
2016-06-21 16:28:46 +02:00
Martynas Mickevicius
2de90adc02 #20808 clarify docs on the quarantined node restart 2016-06-20 13:10:43 +02:00
Felix Satyaputra
4d9268214d +rem Support serialization of scala Some and None (#20801) 2016-06-19 17:55:10 +02:00
Hawstein
cc22ed4560 +doc example snippet for akka http java dsl: SecurityDirectives (#20717) 2016-06-19 02:06:19 +02:00
Chris Birchall
f246c56087 +doc Add more imports to the stream quick start guides for Java and Scala (#20797)
* Add more imports to the stream quick start guides.

This makes it easier for people to execute the code samples while they
read through the guide.

* Change line endings to be consistent with other files

For some reason these 2 files had CR+LF line endings.
2016-06-18 11:15:17 +02:00
Patrik Nordwall
d0adc01a7c Merge pull request #20752 from johanandren/wip-20714-port-remoting-spec-to-artery-johanandren
[WIP] Port RemotingSpec parts to artery
2016-06-16 13:24:40 +02:00
Patrik Nordwall
3478c06042 Merge pull request #20784 from akka/wip-remove-files-patriknw
delete embedded media files on shutdown, #20779
2016-06-14 22:19:47 +02:00
Patrik Nordwall
7ca0d53310 delete embedded media files on shutdown, #20779 2016-06-14 17:22:28 +02:00
Patrik Nordwall
a9cb8ab4b5 Merge pull request #20762 from jypma/java_base
Allow Java API to create actor publishers with stash
2016-06-14 14:28:27 +02:00
Konrad Malawski
5899658416 =str #20214 remove debug println in TLSActor (#20769) 2016-06-13 18:36:40 +02:00
Richard S. Imaoka
f0e9de4e56 Fix CircuitBreaker Open state's remainingTimeout() method (#20029) 2016-06-13 23:14:45 +09:00
Konrad Malawski
374a852553 =htc #20683 added more docs, documented expected double-run behaviour (#20765) 2016-06-13 14:11:09 +02:00
Jan Ypma
bf746431e0 Allow Java API to create actor publishers with stash 2016-06-13 10:16:32 +02:00
Patrik Nordwall
e83fe04f61 Merge pull request #20713 from akka/wip-port-more-tests-patriknw
port remaining remote multi-node tests to Artery
2016-06-12 18:09:48 +02:00
Patrik Nordwall
bdfbffcde5 port remaining remote multi-node tests to Artery 2016-06-12 17:17:18 +02:00
Denis Rosca
071b64809f Warning for actors with value class arguments
Update documentation to specify that value class arguments are not
supported for Prop creation using the recommended classOf[] approach.

Issue: #20735, #16444
2016-06-10 22:00:44 +03:00
Johan Andrén
19ce671156 Remote actor selection test cleaned up, but still not passing 2016-06-10 16:59:44 +02:00
Johan Andrén
c8eadd7d08 Porting RemotingSpec to artery #20714 2016-06-10 16:27:06 +02:00
Patrik Nordwall
415a1cc7f9 Merge pull request #20766 from akka/wip-20625-cpu-level-patriknw
make cpu vs latency configurable, #20625
2016-06-10 16:09:03 +02:00
Patrik Nordwall
3eceb241e1 make cpu vs latency configurable, #20625
* the actual default values will be measured and tuned later
2016-06-10 16:08:10 +02:00
Patrik Nordwall
39f6a9dcf3 Merge pull request #20759 from akka/wip-20715-remote-deployment-patriknw
make remote deployment work with Artery, #20715
2016-06-10 16:07:17 +02:00
Patrik Nordwall
5c234940c6 make remote deployment work with Artery, #20715
There were two related problems with remote deployment when
using Artery.

* DaemonMsgCreate is not a SystemMessage, but must be sent over the control stream because
  remote deployment process depends on message ordering for DaemonMsgCreate and Watch messages.
  It must also be sent over the ordinary message stream so that it arrives (and creates the
  destination) before the first ordinary message arrives.
* The first point solves the creation of the remote deployed actor but it's not enough.
  Resolve of the recipient actor ref may still happen before the actor is created. This
  is solved by retrying the resolve for the first message of a remote deployed actor.
2016-06-10 15:15:57 +02:00
Johan Andrén
d6c048f59a A simpler ActorRefProvider config #20649 (#20767)
* Provide shorter aliases for the ActorRefProviders #20649
* Use the new actorefprovider aliases throughout code and docs
* Cleaner alias replacement logic
2016-06-10 15:04:13 +02:00
Patrik Nordwall
3f72e7dad1 Merge pull request #20754 from akka/wip-review-old-patriknw
system messages to deadLetters
2016-06-10 15:01:07 +02:00
miaoqian
a7451fd888 =str ActorPublisher mustn't to signal onSubscribe on the given subscriber more than once. (#20733) 2016-06-10 13:46:59 +02:00
Patrik Nordwall
7ce6dffabf send dropped system messages to deadLetters
* publish remote lifecycle event for quarantined
2016-06-10 13:21:17 +02:00
Patrik Nordwall
7a1a316e8a reduce allocations with specialized ImmutableLongMap (#20750)
* reduce allocations with specialized ImmutableLongMap

* backed by arrays, allocation free lookups with binary search
* use it for UID -> Association Map
* pass Association in InboundEnvelope to reduce to only
  one lookup per incoming message
* use ImmutableLongMap instead of the QuarantinedUIDSet
2016-06-10 13:04:23 +02:00
Bernard Leach
95cfbda030 =htc migrate BodyPartRenderer to GraphStage #20288 2016-06-10 08:21:53 +02:00
Piotr Krzemiński
9ffdf81507 +htc #20683 discardEntityBytes() combinator for draining entity stream (#20707) 2016-06-10 00:00:27 +02:00
Michal Sitko
b7fdcb06c4 +doc add depenedency note to docs #20732 (#20761) 2016-06-09 16:02:27 +02:00
Hawstein
efb18c95b1 example snippet for akka http java dsl: FileAndResourceDirectives (#20758) 2016-06-09 15:34:25 +02:00
Johan Andrén
16cde39de8 Better recovery timeout for persistent actors #20738 2016-06-09 14:58:32 +02:00
Robert Budźko
e40a2b21c4 +doc #20521 Enrich docs and tests regarding empty strings used in matchers (#20719) 2016-06-08 15:20:21 +02:00
Patrik Nordwall
3c2e31ea41 Merge pull request #20445 from kkasravi/issue_20414_kkasravi
fixes #20414 Allow different ActorMaterializer subtypes
2016-06-08 10:12:25 +02:00
kwyczesany
7fdd5983a3 +htp #19756: Add extractData and extractRequestEntity directives. (#20730)
* 19756: Add extractData and extractRequestEntity directives.

remove unnecessary import

* #19756: add documentation to extractDataBytes and extractRequestEntity directives
2016-06-07 21:02:38 +02:00
Piotr Krzemiński
735060da20 +doc updated Sphinx install guide (#20743)
* updated path to texlive basic 2016
 * added few missing packages
2016-06-07 20:53:22 +02:00
Patrik Nordwall
00764487d9 Merge pull request #20720 from akka/wip-optimize-allocations-patriknw
reduce allocations in Artery
2016-06-07 19:00:26 +02:00
Patrik Nordwall
64a61d5a4c object pool for InboundEnvelope 2016-06-07 18:58:59 +02:00
Patrik Nordwall
2e0986254c improve the test somewhat 2016-06-07 18:58:59 +02:00