Commit graph

177 commits

Author SHA1 Message Date
Roland Ferenczy
144875a665 #18948 add eagerComplete parameter to FlowOps.merge 2016-01-11 10:58:01 +01:00
2beaucoup
db353504ab =doc minor fixes in stream quickstart 2016-01-07 14:17:42 +01:00
Konrad Malawski
d64c4a6546 =doc make missing snippets errors again 2015-12-23 18:34:37 +01:00
Konrad Malawski
ff152b816d =doc,htc #19252 fix docs where occasionally broken 2015-12-23 18:30:34 +01:00
Konrad Malawski
2f762c995b =htc #19276 explain draining of entities is needed 2015-12-23 16:26:27 +01:00
Roland Kuhn
939319e84d #19235 document fusing 2015-12-22 22:27:59 +01:00
Konrad Malawski
59a079d1f2 Merge pull request #19219 from ktoso/wip-sslconfig-ktoso
Apply ssl-config and include hostname validation
2015-12-21 14:41:40 +01:00
Roland Kuhn
4f5bba04a9 add fusing to migration guide 2015-12-21 14:26:44 +01:00
Konrad Malawski
d71c55174c =doc explain hostname verification, recommend upgrading 2015-12-21 13:51:39 +01:00
Roland Kuhn
7132e8130c Merge remote-tracking branch 'pr/19106' into release-2.3-dev 2015-12-20 21:14:54 +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
Mathias
902bcbaa10 !htc restructure HttpEntity model on the Java side for consistency in modelling approach 2015-12-17 23:02:07 +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
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
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
Mathias
899b92faf2 !htp #19034 refactor content negotiation, upgrade to new MediaType / ContentType model 2015-12-04 13:32:01 +01:00
Roland Kuhn
073e7058dc !str #15089 add flatMapMerge 2015-12-02 09:01:20 +01:00
Roland Kuhn
f00da4daac !str #19037 rename FlowGraph to GraphDSL 2015-12-01 18:30:07 +01:00
Johan Andrén
457a17db84 =doc #18917 remove old API mentions from the docs 2015-11-30 13:52:01 +01:00
Endre Sándor Varga
99d8773592 +str, doc: Fix small issues in GraphStage docs 2015-11-30 12:18:47 +01:00
Endre Sándor Varga
7acdda1d1f +str, doc: Documentation for GraphStage 2015-11-27 14:21:48 +01:00
Roland Kuhn
401dbdee9c add insecure HTTPS client warning for Java 2015-11-24 10:23:20 +01:00
Konrad Malawski
6a5cc92df7 =doc #18972 fix typo in docs on oauth2 2015-11-20 11:13:34 +01:00
Johan Andrén
af2bc368a2 =doc #18968 Document auth options for Java DSL 2015-11-19 17:55:50 +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
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
drewhk
e2b98da865 Merge pull request #18842 from ktoso/wip-add-of-ktoso
+str #18840 add of method to predefined Shapes, for nicer Java use
2015-11-04 13:56:01 +01:00
Konrad Malawski
b8575ec666 =doc #18715 migration guide for Query in Akka HTTP 2015-11-04 13:35:03 +01:00
Konrad Malawski
d06fe01e4a +str #18840 add of method to predefined Shapes, for nicer Java use 2015-11-04 13:00:32 +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
82e1d3dcec +doc 18737: Code snippets for migration guide (Java) 2015-11-03 16:01:43 +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
19c8e557ba =htp #18661 effectiveUri in Java testkit
Java testkit now uses effectiveUri to behave just like the Scala testkit so that
the host header and path is joined. This allows for test calls that use just a relative
URI.
2015-10-24 13:47:25 +02: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
02810cfa64 !str,htc remove FlexiMerge/Route
- replace all occurrences with equivalent GraphStage implementations

This commit introduces a mini-DSL for GraphStage that allows emitting or
reading multiple elements to/from a port with one statement, installing
stateful handlers on the port to make it work. The emitting side allows
stacked continuations, meaning that while an emit() is ongoing (waiting
for demand) another one can be added to the queue; this allows
convenient formualation of merge-type stages.
2015-10-21 18:52:16 +02:00
Konrad Malawski
cddb1ade40 =htc,doc #18496 make all directive docs have the same style, some
additions
2015-10-12 02:12:26 +02:00
Konrad Malawski
2927568225 +doc,htp #18496 file directives docs 2015-10-12 02:05:29 +02:00
Konrad Malawski
4e7999cf0a +htc,doc #18657,#18665 FormData javadsl and FormField docs 2015-10-08 16:50:21 +02:00
Konrad Malawski
a17604500f =doc,htp #18657 document FormField vals 2015-10-08 13:01:25 +02:00
Konrad Malawski
27eba7ffa3 =doc,htp #18657 document Headers request values 2015-10-08 13:01:25 +02:00