Commit graph

346 commits

Author SHA1 Message Date
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00
Konrad `ktoso` Malawski
067b569f85 Merge branch 'master' into wip-query-2.5 2017-01-03 17:04:48 +01:00
Konrad Malawski
b036b555e4 =peq remove bridge from old APIs in PersistenceQuery 2016-12-15 13:00:26 +01:00
Konrad Malawski
2ab8ab2840 =21423 remove deprecated PersistentView 2016-12-15 12:31:20 +01:00
Konrad Malawski
abaa8f394e =peq #21724 #19174 unify naming of query methods 2016-12-14 14:07:56 +01:00
Oleg Poleshuk
c50ecf3287 +doc Documented how CompletionStages execute #20513 (#21845)
* Documented how CompletionStages execute #20513

* Fixed the failing test: tests are not necessarily run from "main" thread.

* Addressed pull request comment #20513

* Addressed more PR comments #20513
2016-12-12 21:46:37 +01:00
Richard Imaoka
3df22baf3a Fix incorrect materialized types = Unit in stream documentation (#21938)
* Fix incorrect materialized types = Unit in stream documentation (Fixes #21937)

*  Correct Int, which should be Integer in Java

* Replace BoxedUnit in stream doc
2016-12-06 15:52:54 +01:00
Patrik Nordwall
ea84b4bfdd add LoadSnapshotFailed in snapshot protocol, #21842
* treat snapshot load failure in same way as other recovery failures
* if load of snapshot fails the persistent actor will be stopped, since
  we can't assume that a consistent state would be recovered just by
  replaying all events, since events may have been  deleted
* additional recovery docs
* improve log message
2016-11-18 10:51:35 +01:00
Olli Helenius
658b46e1cc Move (de)compression helpers to akka-stream module #21395 (#21409)
* Move (de)compression helpers to akka-stream #21395

* Move compression and decompression -related classes from
  akka-http-experimental to akka-stream
* Add Compression helper object with functions to create
  decompressing Flows
* Add a short cookbook entry

* =str move compression impl classes into their own directory (and change visibility)

* =str also expose gzip/deflate compression flows

* Fix formatting of plural ByteStrings in cookbook

* =str #21395 make compressor call Deflater.end in postStop to release resources

Also simplified the creation of the flow given a compressor.

* =str #21395 decompressors call Inflater.end in postStop to release resources

* =str #21395 smallish Scaladoc fixes
2016-11-17 22:42:37 +01:00
Patrik Nordwall
9c087d115e fix AgentDocTest (#21814) 2016-11-11 12:05:19 -08:00
Patrik Nordwall
4dd969c0ae remove template pattern in howto docs (#21808) 2016-11-09 20:13:19 +01:00
Patrik Nordwall
4f013a3d1e avoid infinite blocking in TcpConnectionSpec #21375
* use socket timeout
* additional cleanup of socket utils
2016-11-09 17:36:04 +01:00
Konrad Malawski
0127d4f424 +str #18793 StageLogging that allows logger access in stages (#21696)
* +str #18793 StageLogging that allows logger access in stages
Also, non ActorMaterializers can opt-into providing a logger here.

* +str #18794 add javadsl for StageLogging

* fix missing test method on compile only class
2016-10-28 16:05:56 +02:00
Johan Andrén
33ece118a8 New EventEnvelope including Offset rather than Long #21722 2016-10-27 15:32:10 +02:00
Patrik Nordwall
aa8c253d14 improve streams actor integration docs, #21698 (#21700)
* mapAsync + ask should be the first choice
* add missing Source.queue
* prefer actorRefWithAck
* move ActorPublisher and ActorSubscriber to the end
  with additional warning
* fix wrong doc of SourceQueue offer
* and add missing java api
2016-10-26 10:24:51 +02:00
Wojciech Grajewski
7eb4afc475 Adding create() to ReceiveBuilder to promote a builder-like syntax #18894 2016-10-23 22:35:18 +02:00
Konrad Malawski
a6a5556a8f Remove Akka-HTTP sources from akka/akka, moving to akka/akka-http! (#21690) 2016-10-18 15:17:17 +02:00
Richard Imaoka
375c032604 eventsByTag and currentEventsByTag to use Offset (#21615)
* EventsByTagQuery2 and CurrentEventsByTagQuery2 to keep binary compatibility
2016-10-17 16:45:27 +02:00
Martynas Mickevičius
1e85e1720c #17717 handle OnComplete in ActorSubscriber doc samples 2016-10-17 11:07:40 +02:00
Patrik Nordwall
7af814d3df java docs for Artery, #21209
* and a few other things
* fixed some remaining akka.tcp
2016-09-30 19:11:21 +02:00
Konrad Malawski
e7ed0a2e6b +doc document ByteBufferSerializer for Artery #21601 2016-09-30 16:16:49 +02:00
Hawstein
b9a05aff96 add java api for websocket testkit #21184
And additionally adds unit test for WebSocketDirectives #20466
2016-09-02 13:28:49 +02:00
Jan Ypma
09f2d83e69 +tes #21198 Allow TestActor/TestKit/TestProbe to create child actors
This is useful in at least two scenarios:
- Unit testing actors that communicate to their parent directly
- Testing re-creating (typically persistent) actors with the same name
2016-09-01 11:38:07 +02:00
drewhk
4821fb158e #20904: Increase timeouts in TestKitDoc tests, use Sink.seq (#21260) 2016-08-31 17:20:05 +01:00
Endre Sándor Varga
bc358f3188 20890 Added MergeHub and BroadcastHub 2016-08-24 11:43:24 +02:00
Endre Sándor Varga
5e830323f6 Updating to ScalaTest 3.0.0 and ScalaCheck 1.13.2 2016-08-22 11:13:49 +02:00
Hawstein
3e2bdb55a3 add extractActorSystem directive (#21097) 2016-08-16 14:59:05 +02:00
Hawstein
07c6332a22 !htc use correct rejection in http javadsl (#21179) 2016-08-15 17:32:01 +02:00
Shivansh Srivastava
25e4586aa0 [#21090] Added the improved code for loggingResponsetime and added the link in the docs (#21118)
* [#21090] Added the improved code for loggingResponsetime and added the link in the docs

* [#21090] Added javadocs for logRequestResponseTime

* [#21090] Removed the compilation error caused by the missing imports

* [#21090] Removed the compilation error caused by type

* [#21090] Improved the identation of the code

* [#21090] Improved the identation of the code

* [#21090] Removed the empty line

* [#21090] Refactored the documentation with clear explanations
2016-08-05 16:16:14 +02:00
Konrad Malawski
9cc32c3aba +htp #18837 completely rewrite EntityStreamingSupport
added CSV examples
updated docs
EntityStreamingSupport is now an entry point, to all streaming things
both read and write side use it
it's easy to extend as well
2016-08-02 15:27:21 +02:00
Konrad Malawski
c76ec2ac15 +htp #18837 more docs and final cleanups, complete java docs 2016-08-02 15:27:21 +02:00
Konrad Malawski
24454f7f09 +htp #18837 JSON framing and framed entity streaming directives 2016-08-02 15:27:21 +02:00
Endre Sándor Varga
083bfb6692 Fixed bug in Chunker, exposed by interpreter changes 2016-08-01 16:09:50 +02:00
Johan Andrén
74243a28f8 Additional JavaDSL package structure and docs #20945 2016-07-29 16:42:40 +02:00
Hawstein
3cfb6f9d91 align package structure in http javadsl 2016-07-29 16:42:28 +02:00
Richard S. Imaoka
15c77e3392 Document HTTP custom method (#20508) 2016-07-26 12:33:45 +02:00
Stefano Bonetti
fb1905870c =doc graphstage sink example (#20955) (#21030) 2016-07-26 12:20:08 +02:00
Hawstein
867131f626 +doc add unit tests for extractDataBytes and extractRequestEntity directives (#21022) 2016-07-26 12:02:04 +02:00
Johan Andrén
27efafecfc =htp #21009 Correct type of response in logging directive samples (#21010)
* Correct type of response in logging directive samples #21009

* Updates to signatures in the docs as well
2016-07-22 13:12:33 +02:00
Hawstein
6fb2d176a1 +htp #20881 add toStrictEntity and extractStrictEntity directive (#20953) 2016-07-22 11:33:30 +02:00
Alexandre Tamborrino
c8dfa2458d Fix snippet example in stream-rate doc #21006
Fix #section-buffer by replacing .withAttributes by .addAttributes to avoid overwriting the .async option.

* Update StreamBuffersRateDocTest.java

Fix #section-buffer by replacing .withAttributes by .addAttributes to avoid overwriting the .async option.
2016-07-21 17:35:13 +02:00
Konrad Malawski
60fb163331 +doc #20192 explain need of draining entities in server/client HTTP (#20852)
* +doc #20192 explain need of draining entities in server/client HTTP

* missing javadsl for Connection header

* Update HttpClientExampleDocTest.java
2016-07-08 14:47:29 +02:00
gosubpl
1756541dcb =doc #20885 small fix and clarification for Java stream-graphs example (#20894)
* #20885 small fix and clarification for Java stream-graphs example

* #20885 GraphDSLDocTest comment wording improved
2016-07-08 11:15:52 +02:00
Konrad Malawski
54ecf32d2b =htp #20915 fix too small timing issue in DirectivesSpec (#20916)
* =htp #20915 fix too small timing issue in DirectivesSpec

* applying scalariform reformatting that keeps popping up
2016-07-08 10:33:32 +02:00
gosubpl
b6f6438e96 doc #20466 Java range-directives examples added (#20892)
* #20466 Java range-directives examples added

* #20466 post-review changes
2016-07-06 23:23:45 +02:00
gosubpl
06aaa273f1 doc #20466 akka http java dsl examples - file upload directives (#20859)
* #20466 file upload - first example test done

* #20466 second test from FileUploadDirectivesExample passing in Java

* #20466 FileUploadDirectives examples file rename plus docs

*  #20466 post-review changes - adding better JAVA Multipart API

* #20466 Multipart Java conversions fix and added spec for the Java side of the model
2016-07-05 10:26:27 +02:00
Michal Sitko
72f8544efd +htp #18929 add withSizeLimit directive (#20760)
withSizeLimit and withoutSizeLimit directives added
2016-06-28 12:14:44 +02:00
Hawstein
6777e7f7d9 +doc #20466 example snippet for akka http java dsl: ParameterDirectives (#20823) 2016-06-23 23:29:01 +02: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