Commit graph

34 commits

Author SHA1 Message Date
Alexander Golubev
dec87c2e56 =str #18002 FlowTest#mustBeAbleToRecover timing issue 2015-08-16 00:04:04 -04:00
Alexander Golubev
630343e483 +str #16394 recover operation 2015-07-15 10:34:56 +02:00
Alexander Golubev
6f9438a2b0 +str #17226 add dropWhile and takeWhile 2015-06-16 17:55:50 -04:00
Konrad Malawski
5e8ff792a0 +str #16885 add splitAfter
Implementation is shared with splitWhen - see Split / SplitWhere
Allows for easy addition of splitWhen(x => Decision) if we'd like to
Resolves #16885
2015-05-28 17:32:16 +02:00
Endre Sándor Varga
30e4a57ee0 +str #17464: mapConcat accepts immutable.Iterable 2015-05-21 14:28:09 +02:00
Roland Kuhn
5eb62f0a81 move boilerplate FunctionN into akka.japi.function package
This is a temporary solution until the classes are added to akka-actor.
2015-04-24 14:35:41 +02:00
Roland Kuhn
354a8e3a41 !str #17277 remove akka.stream.javadsl.japi.WithVariance
sadly we forgot to also move the boilerplate-generated FunctionN and
ProcedureN into akka-actor, so they are still in
akka.stream.javadsl.japi.
2015-04-24 11:05:11 +02:00
Patrik Nordwall
b69988c190 !str #16937 Remove section, in favor of via and separate flow 2015-04-10 17:34:29 +02:00
Mathias
85c0571620 !str #17039 change default materialization placeholder type from Unit to Any 2015-04-10 15:10:42 +02:00
Roland Kuhn
4c623fade7 !str #17090 add AsyncStage 2015-04-10 09:00:36 +02:00
Endre Sándor Varga
a7af773e2c !str #16168: Expose materialized value in the graph as a "source" 2015-04-07 12:51:18 +02:00
Endre Sándor Varga
8d77fa8b29 !str #16902: Unify stream internal representation
also =str #16912: Fix StreamTcpSpec flakiness
2015-02-26 10:06:56 +01:00
Konrad Malawski
39038597b2 !str #16563 terminal operations start with run*; runFold runForeach 2015-01-26 15:39:36 +01:00
Konrad 'ktoso' Malawski
bc5f3aaa90 +str #16464 generalised zipWith for up to 22 params
- removing deprecarted marker from japi, people will have to use it
  currently
2014-12-22 10:47:08 +01:00
Patrik Nordwall
7034c60eb3 !str #16400 Add Java API for StreamTcp
* move io.StreamTcp to scaladsl.StreamTcp
* add javadsl.StreamTcp that delegates to scaladsl implementation
* move impl
* add java test
2014-12-18 12:40:41 +01:00
Viktor Klang
2bd1230ca9 +str - adds ZipWith and makes Zip use that to create tuples/pairs 2014-12-03 21:30:17 +01:00
Björn Antonsson
91d29cbb3a =str #16259 Added more red-face testing of the stream Java DSL 2014-12-03 10:33:21 +01:00
Martynas Mickevicius
64feb041be =str #15152 operation transformations 2014-12-01 20:07:55 +02:00
Patrik Nordwall
a82f266367 !str #15236 Replace Transformer with Stage
* replace all existing Transformer with Stage (PushPullStage)
* use Flow[ByteString, ByteString] as encoder/decoder transformer in http
* use the IteratorInterpreter for strict if possible
* emit then become
* emit then finish
* termination emits
* FlowTransformerSpec
* rework types to work with Java API
* rename and move things
* add scaladoc
2014-11-21 11:41:34 +01:00
Viktor Klang
db4e5c4a29 =str - Various Flow and FlowMaterializer improvements
- Switches from using size-of-1/2 Vectors to using Lists
  - Fixes an issue where processorForNode wouldn't use the dispatcher form the settings
  - Adds a dedicated Collect fusion op
  - Adds various simplifications to ActorBasedFlowMaterializer
  - Adds FIXMEs where appropriate
  - Switches `grouped` to use a VectorBuilder
  - Adds support for `scan`
  - ActorBasedFlowMaterializer now uses Iterator instead of head+tail decomp on Seqs
  - Identity and Completed Transformers are now cached
  - Adds dedicated AstNodes for all combinators
  - Adds a hook-in point for fusion in `ActorBasedFlowMaterializer`
  - Adds support for `Operate` an AstNode with a function that create a fusing.Op
  - Adds experimental and slow optimizer as a PoC
  - Adds verification that Ast.Fused does not exist in optimizer input
2014-11-17 17:45:48 +01:00
Martynas Mickevičius
7bf97c768b Merge pull request #16196 from spray/w/15922-FileAndResourceDirectives
+htp #15922 import FileAndResourceDirectives from spray
2014-11-12 14:36:45 +02:00
Konrad 'ktoso' Malawski
0f4abb687f =str #16272 splitWhen should drop reference when done with substream
The completeSubstreamOutput is used to not early complete the stream,
where as invalidating would shutdown the stream too early (and elements
wouldn't be emitted as expected).
2014-11-12 11:59:06 +01:00
Johannes Rudolph
4631e052f2 +str add akka.stream.materializer.file-io-dispatcher setting 2014-11-12 08:19:00 +01:00
Patrik Nordwall
65269274b1 !str #16235 Rename Sink.future to Sink.head 2014-11-07 08:07:17 +01:00
Konrad 'ktoso' Malawski
15abdaeb15 +str #15086 substream publishers now have subscription-timeouts 2014-11-06 15:30:50 +01:00
Konrad 'ktoso' Malawski
122daaa88d =str typos in returned types in javadsl
sadly a reflection based spec cannot easily test this
2014-10-30 16:32:08 +01:00
Patrik Nordwall
7c0c618791 !str #16039 Remove old scaladsl, rename scaladsl2
* and impl2, testkit2
* keeping io2 for now
2014-10-28 14:20:19 +01:00
Konrad 'ktoso' Malawski
92810e39bc +str #16114 better consistency specs and missing methods added - javadsl 2014-10-27 11:44:42 +01:00
Konrad 'ktoso' Malawski
fd8a158d89 +str #16077 implement Zip/Unzip/Concat for javadsl, while reusing all impl 2014-10-23 10:50:27 +02:00
Konrad 'ktoso' Malawski
9dd3685a2a =str #16103 Flattened javadsl class structure - no adapters, no ops 2014-10-22 01:09:43 +02:00
Björn Antonsson
0f61909ea7 !str #16102 Fold Tap/Drain into Source/Sink
* Fold Tap/Drain into Source/Sink
* Create Source/Sink helpers to create all Sources/Sinks
* Make concrete Source/Sink implementations private[scaladsl2]
2014-10-17 14:05:50 +02:00
Konrad 'ktoso' Malawski
3a4c7404c7 +str #15736 Initial version of JavaDSL for akka-streams (NOT complete)
Missing features are:
+ be able to use all junctions from Java
* re-think akka.stream.javadsl.japi (because variance)
+ better docs
+ enable all tests
+ Partial flow graph as well as GraphFlow tests
+ enabled more FlowTest tests
+ fixed naming of internal classes (no Java in class names)
+ added converters for UndefinedSink/Source
2014-10-10 17:04:18 +02:00
Konrad 'ktoso' Malawski
ec3cecb896 =pro #15178 enable junit tests in akka-streams again
The junit-interface is treating "anything it cannot understand" as a
globbing pattern, thus when it didn't understand ScalaTest options, it
used them for globbing, and of course none of our junit tests matched
the "-oDF" pattern for example.

Debugged this with Stefan and we've opened an issue to improve the
integration in this respect:
https://github.com/sbt/junit-interface/issues/60

Resolves #15178
2014-10-08 15:31:51 +02:00
Björn Antonsson
a902d079b0 +pro #15406 Split up stream into testkit, tests and tck 2014-09-16 10:16:38 +02:00
Renamed from akka-stream/src/test/java/akka/stream/javadsl/FlowTest.java (Browse further)