Commit graph

18 commits

Author SHA1 Message Date
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)