Commit graph

226 commits

Author SHA1 Message Date
lolski
21381d5710 =str #19293 fix issues in Sink.seq + minor doc fixes + use Sink.seq and limit in tests where appropriate
* Sink.seq (Scala DSL) now returns immutable.Seq rather than Seq
* Sink.seq will not silently truncate when incoming elements is > Int.MAX_VALUE
* minor doc fixes
* replacing various grouped(n) / Sink.head with limit(n) / Sink.seq in various tests
* fix inconsistent indentation in RequestParserSpec
2016-02-12 01:36:21 +08:00
Konrad Malawski
5a18d43435 +doc #19429 initial merge of docs-dev and docs 2016-01-14 00:31:03 +01:00
Tal Pressman
a44d78e3d0 =htc #19361 Rewrite Duplicator/Duplicator2 to use GraphStage instead of StatefulStage 2016-01-11 14:29:25 +02:00
Konrad Malawski
e5b2695c5e =doc make missing snippets errors again 2015-12-23 18:41:35 +01:00
Konrad Malawski
ff152b816d =doc,htc #19252 fix docs where occasionally broken 2015-12-23 18:30:34 +01:00
Roland Kuhn
939319e84d #19235 document fusing 2015-12-22 22:27:59 +01:00
Konrad Malawski
f83bb19496 Merge pull request #19247 from 2beaucoup/handle-rejection-sample
=doc add custom ValidationRejection handling to samples
2015-12-21 16:29:59 +01:00
2beaucoup
565b480b2e =doc add custom ValidationRejection handling to samples 2015-12-21 15:34:35 +01:00
Johan Andrén
9961495fad +str #19032 Docs for graph stage and Java API
Including fix for #19205
2015-12-18 22:29:06 +01:00
Roland Kuhn
dcfa56e547 Merge remote-tracking branch 'pr/19097' into release-2.3-dev 2015-12-18 12:22:02 +01:00
Johan Andrén
09a79f45e4 !str #19129 New homes for file and java.io stream factories 2015-12-17 14:41:02 +01:00
Martynas Mickevičius
e6e476d82a =str #19128 #19127 rename Source/Sink factory apply overloads 2015-12-17 11:48:30 +02:00
Konrad Malawski
d7b45e0fc3 Merge pull request #19187 from 2beaucoup/generic-csv-form-fields
!htp #19185 generic CSV form field unmarshallers
2015-12-16 16:08:40 +01:00
2beaucoup
4e86bf0cd6 !htp #19185 generic CSV form field unmarshallers 2015-12-16 13:52:06 +01:00
Endre Sándor Varga
b478d70964 !str #19137: Rename inlet and outlet to in and out on Flow/Source/SinkShape 2015-12-15 16:49:52 +01:00
Roland Kuhn
0f74a0e02b Merge pull request #19118 from Softwire/wip-18567-unmarshallers-for-csv-number-sequences
!htp #18567 Added unmarshallers for CSV integer sequences
2015-12-13 17:48:27 +01:00
Viktor Klang
33a9257a3b =str&http - 19142 - Renames all occurrences of mat with materializer
(When referring to a Materializer)
2015-12-11 14:45:24 +01:00
Roland Kuhn
1500d1f36d !str #19005 make groupBy et al return a SubFlow
A SubFlow (or SubSource) is not a Graph, it is an unfinished builder
that accepts transformations. This allows us to capture the substreams’
transformations before materializing the flow, which will be very
helpful in fully fusing all operators.

Another change is that groupBy now requires a maxSubstreams parameter in
order to bound its resource usage. In exchange the matching merge can be
unbounded. This trades silent deadlock for explicit stream failure.

This commit also changes all uses of Predef.identity to use `conforms`
and removes the HTTP impl.util.identityFunc.
2015-12-10 12:27:16 +01:00
Catalin Ursachi
62afd94a47 !htp #18567 Added unmarshallers for CSV integer sequences 2015-12-07 17:49:22 +00:00
Mathias
899b92faf2 !htp #19034 refactor content negotiation, upgrade to new MediaType / ContentType model 2015-12-04 13:32:01 +01:00
Roland Kuhn
f00da4daac !str #19037 rename FlowGraph to GraphDSL 2015-12-01 18:30:07 +01:00
drewhk
b4fc3c11d8 Merge pull request #19026 from drewhk/wip-document-graphstage-drewhk
+str, doc: Documentation for GraphStage
2015-11-27 15:46:33 +01:00
Endre Sándor Varga
7acdda1d1f +str, doc: Documentation for GraphStage 2015-11-27 14:21:48 +01:00
Mathias
8fc02dd799 +htp add selectPreferredLanguage directive incl. docs 2015-11-27 12:52:53 +01:00
Johan Andrén
3c0877d964 +htt 16841 uploadedFile directive
Two new directives for accepting file uploads through multipart forms:

`uploadedFile` which allows for very simple upload into a temporary file
`fileUpload` which allows to simply work with the stream of bytes of an upload
2015-11-24 16:21:25 +01:00
Konrad Malawski
05ab43f824 =doc,htc better example docs on mapping error response to empty JSON body 2015-11-24 12:02:20 +01:00
Johan Andrén
af2bc368a2 =doc #18968 Document auth options for Java DSL 2015-11-19 17:55:50 +01:00
Konrad Malawski
8a33c22e8f =doc fixup due to validation having run before we merged in the rename 2015-11-18 16:20:38 +01:00
Konrad Malawski
00a7ecd1f0 Merge pull request #18893 from johanandren/wip-18471-metadata-plus-file-upload-johanandren
=doc WIP #18471 examples for file uploads
2015-11-18 14:33:10 +01:00
Konrad Malawski
a394e833bf Merge pull request #18924 from 2beaucoup/improve-tcp-doc
Show where connections are coming from in stream-io.rst
2015-11-18 12:01:12 +01:00
Viktor Klang
8780ba28a4 !str - Moving the InputStream and OutputStream utilities into Source and Sink 2015-11-18 09:13:57 +01:00
Viktor Klang
20c996fe41 !str - 18916 - Source.file and Sink.file
* Removes `Synchronous` from the names and descriptions of File I/O as it leaks impl details
* Removes the factries for FileSource and FileSink and puts them in Source and Sink respectively
2015-11-17 09:50:10 +01:00
Johan Andrén
cd3a9ccf85 =doc 18471 Document file uploads 2015-11-16 14:17:56 +01:00
2beaucoup
6ba1e481d3 =doc show where connections are coming from in stream-io.rst 2015-11-13 14:50:24 +01:00
drewhk
2f1ef278a5 Merge pull request #18847 from ktoso/wip-migration-rawquery-ktoso
=doc #18715 migration guide for Query in Akka HTTP
2015-11-04 14:20:59 +01:00
Konrad Malawski
b8575ec666 =doc #18715 migration guide for Query in Akka HTTP 2015-11-04 13:35:03 +01:00
Viktor Klang
6cfa4df800 !str - Switches Sink.publisher to use a boolean to indicate fanout rather than a number of allowed subscribers 2015-11-04 12:29:23 +01:00
Viktor Klang
f839a1f85d !str - 18808 - Removes Sink.fanoutPublisher and makes Sink.publisher specify number of subscribers
Sink.publisher now takes a max number of Subscribers and
the elasticity between concurrent Subscribers.
2015-11-04 12:29:07 +01:00
Martynas Mickevičius
ee5ec72552 =str #15707 name unnamed modules
* give name attribute to TickSource and nested modules
* reflow module toString output
* give toString to flow
2015-11-04 13:01:05 +02:00
drewhk
757aafb112 Merge pull request #18838 from akka/wip-flatConcat-√
!str - replaces flattenConcat with flatMapConcat
2015-11-04 10:58:11 +01:00
2beaucoup
8f75c97e47 !htp #18479 defer parsing of query key-value-pairs 2015-11-03 23:19:44 +01:00
Viktor Klang
50c6f2267c !str - replaces flattenConcat with flatMapConcat 2015-11-03 22:17:28 +01:00
Endre Sándor Varga
100fc83a3d +doc 18737: Code snippets for migration guide (Scala) 2015-11-03 13:57:55 +01:00
Endre Sándor Varga
8e62c0d9d7 +str 18735: Added keepalive inject and initial delay ops
Also, improved documentation of timeout operations
Added missing Java DSL smoke tests
2015-11-03 10:49:43 +01:00
Roland Kuhn
556012b7ee !str,htc replace and remove OneBoundedInterpreter
main work by @drewhk with contributions from @2m and @rkuhn

This work uncovered many well-hidden bugs in existing Stages, in
particular StatefulStage. These were hidden by the behavior of
OneBoundedInterpreter that normally behaves more orderly than it
guarantees in general, especially with respect to the timeliness of
delivery of upstream termination signals; the bugs were then that
internal state was not flushed when onComplete arrived “too early”.
2015-11-01 14:53:52 +01:00
Alexander Golubev
8ea52a6bb4 +str #17338 add OutputStreamSource and InputStreamSink 2015-10-28 11:22:32 -04:00
Johan Andrén
1ce023ebc0 =htp #16962 docs for creating custom directives
Mostly ported from the spray docs
2015-10-26 14:53:25 -07:00
Roland Kuhn
0c78cca7ed !str #18674 remove FlowGraph.Builder.add(Sink|Source) 2015-10-26 12:31:17 +01:00
Viktor Klang
f29d7affbd !str #18692 javadsl.FlowGraph.Builder.add()
* also make factories more consistent by only offering
  FlowGraph.create()
* also remove secondary (edge-based) FlowGraph.Builder DSL
* also improve naming for conversions from Graph to
  Source/Flow/BidiFlow/Sink
2015-10-22 19:10:00 +02:00
Roland Kuhn
dc07fd250c !str make Inlet/Outlet invariant and add Java variance
This necessitates the removal of method overloading in the Java Graph
DSL: the to() and via() methods were not otherwise resolved correctly by
javac, leading to incomprehensible error messages. The new approach is
to offer just one way of doing things which is a bit more verbose but
should be easier to read and learn. In this vein auto-importing while
using the DSL is also gone for Java—not sure about Scala yet.
2015-10-21 17:48:54 +02:00