Commit graph

1288 commits

Author SHA1 Message Date
Martynas Mickevičius
9550e34394 #22429 Use Arrays.copy instead of scala builder 2017-03-13 14:52:56 +02:00
Martynas Mickevičius
4bb283b458 #22429 Resize connections array when needed 2017-03-13 09:49:25 +02:00
Patrik Nordwall
3554ad7243 Merge branch 'master' into wip-traversal-oriented-layout-master-patriknw 2017-03-10 18:16:44 +01:00
Patrik Nordwall
8fad451610 Merge pull request #22504 from akka/wip-22436-migration-patriknw
add a note about dispatcher creating async boundary, #22436
2017-03-10 18:12:18 +01:00
Patrik Nordwall
c7a05862c4 workaround for nested attribute issue, #22523 2017-03-10 17:05:33 +01:00
Patrik Nordwall
e337b96ef6 URLEncode the name
* detected by failing FileSinkSpec,
  SubSource(LazySink)
2017-03-10 17:05:33 +01:00
Patrik Nordwall
9f84be6d3e optimize ins and outs of size <= 1
* avoid iterator allocation
2017-03-10 17:05:33 +01:00
Patrik Nordwall
cd41fd14e8 better List creation
* to avoid allocations from varargs and builders
2017-03-10 17:02:02 +01:00
Patrik Nordwall
305347d396 use new Array instead of Array.ofDim
* to avoid allocations of ClassTag and other overhead of ofDim
2017-03-10 17:02:02 +01:00
Patrik Nordwall
f542ce885c optimize actor names 2017-03-10 17:02:01 +01:00
Patrik Nordwall
8156a45818 optimize Attributes 2017-03-10 17:02:01 +01:00
Konrad `ktoso` Malawski
e2a15a2a58 =str use OptionVal in Traversal building 2017-03-10 11:45:26 +01:00
Konrad `ktoso` Malawski
99705d1ccc =str #22437 replace require() with if calls to avoid fn allocs 2017-03-10 10:44:58 +01:00
Konrad `ktoso` Malawski
67fd0cc0b6 =str #22438 make use of OptionVal in materializer internals 2017-03-10 10:44:43 +01:00
Johan Andrén
42fdf15d22 Restore interpreter debug output #22433 2017-03-09 17:04:46 +01:00
Patrik Nordwall
9394e07cf0 add a note about dispatcher creating async boundary, #22436 2017-03-08 16:53:38 +01:00
Johannes Rudolph
c8097e4876 Merge pull request #22483 from jrudolph/jr/w/fix-GraphDSLCompileSpec
Add GraphDSL validation, fix GraphDSLCompileSpec
2017-03-08 15:27:29 +01:00
Patrik Nordwall
1c6c33fd17 Merge pull request #22495 from drewhk/wip-fix-graphinterpreterspec-newmaterializer-drewhk
Explicitly handle SpecViolation exceptions in GraphStage callbacks in boundaries
2017-03-08 15:25:55 +01:00
Patrik Nordwall
6c8e24cefa fix SinkSpec, and async boundary attribute, #22463
* let's keep the AsyncBoundary attribute for now,
  makeIsland is done in setAttributes
* fixing SinkSpec and RunnableGraphSpec
2017-03-08 15:09:40 +01:00
Johannes Rudolph
34533bbc7f
=str #22463 introduce validation to GraphDSL, fix GraphDSLCompileSpec 2017-03-08 14:52:49 +01:00
Johannes Rudolph
7677cc3b38 =str refactor GraphApply.GraphImpl to be reused at more places 2017-03-08 14:24:29 +01:00
Martynas Mickevičius
45ccd4ffbe #22463 Check for wired ports before wiring in traversal builder (#22492) 2017-03-08 14:19:15 +01:00
Endre Sándor Varga
0906e4d532 Explicitly handle SpecViolation exceptions in GraphStage callbacks in boundaries
... otherwise they end up being handled by the interpreter, but no onError is signalled to downstream subscribers.
2017-03-08 13:51:25 +01:00
Patrik Nordwall
1a74b43cd6 include initialAttributes of GraphStage, #22463
* these must also be included via setAttributes because
  because it will create island for async (dispatcher attribute)
* better actor name of GraphStageIsland, we need it in tests for
  lookup of the actor
* this unlocks OutputStreamSourceSpec and InputStreamSinkSpec
2017-03-08 13:15:49 +01:00
Konrad `ktoso` Malawski
b8c7d116d5 +str #22425 re-implement sub-fusing with new materializer (#22478) 2017-03-08 13:10:36 +01:00
Endre Sándor Varga
15c57e9c93 Fixed all (known) remaining LinearTraversal issues. Added comments. 2017-03-08 12:20:45 +01:00
drewhk
c3c5065444 Wip 22430 make tlsspec pass again drewhk (#22482)
* #22430 Fix TLSSpec

* Remove unnecessary PushAttributes

* Almost fixing it...
2017-03-08 10:30:00 +01:00
Johan Andrén
c028b550f2 Low level interpreter tests working without GraphAssembly #22423 2017-03-07 17:06:41 +01:00
Konrad `ktoso` Malawski
e47dbda154 =str #22448 rewrite Source.empty to GraphStage 2017-03-07 15:13:49 +01:00
drewhk
87d5b8f627 Wip fix islands drewhk (#22475)
* Fixed island application

* Switched to explicit island boundaries and fixed misapplied island tags

* Added missing attributes for non-stage backed Sinks
2017-03-07 14:26:18 +01:00
Patrik Nordwall
9e7dead346 Merge pull request #22471 from akka/wip-islandNameCounter-patriknw
one more rename of stageName
2017-03-07 14:14:07 +01:00
Patrik Nordwall
18c72ccf62 one more rename of stageName 2017-03-07 14:13:44 +01:00
Patrik Nordwall
7eaa53e31b Merge pull request #22469 from akka/wip-22463-ReverseArrowSpec-patriknw
fix ReverseArrowSpec, #22463
2017-03-07 14:09:40 +01:00
Johannes Rudolph
3325ee23e2 =str #22430 add TlsModulePhase (#22466) 2017-03-07 12:39:15 +01:00
Patrik Nordwall
5848485f3c fix ReverseArrowSpec, #22463 2017-03-07 11:29:48 +01:00
drewhk
c7c109db4a Fix too early call to onIslandReady (#22468) 2017-03-07 10:55:46 +01:00
Patrik Nordwall
f6d45c1bc1 stream actor names, #22426 (#22465) 2017-03-07 10:43:18 +01:00
drewhk
b33339f13e Make flowspec great again drewhk (#22443)
* #22435: Make DirectProcessorModule work again

* #22435: Fix attributes propagation for FanoutProcessor

* #22435: Remove old "faulty-flow" spec
2017-03-03 10:49:34 +01:00
drewhk
46b869d041 Fix the case where an identity flow is appended to a Source with materialized value composition (#22442) 2017-03-02 13:44:35 +01:00
drewhk
a2203d7b13 #22424: Use InputBuffer attribute for asynchronous inputs (#22441) 2017-03-02 13:44:19 +01:00
Endre Sándor Varga
ba63c7af8d New materializer and layout 2017-03-01 16:18:55 +01:00
Patrik Nordwall
0850fe328f Merge pull request #22340 from ortigali/wip-21170-default-blocking-io-dispatcher
Add default-blocking-io-dispatcher and make TTL configurable
2017-02-24 12:20:32 +01:00
ortigali
e9fdd47ac3 add default-blocking-io-dispatcher and make TTL configurable with Java DNS properties #21170
make default-blocking-io-dispatcher use a fixed pool #21170

reword configuration comment #21170
2017-02-24 15:19:51 +05:00
Johannes Rudolph
47e01f2b07 +str #22376 add javadsl versions of low-level TLS constructors 2017-02-23 14:01:11 +01:00
Johannes Rudolph
9be52cb2c9 +str #22345 #21854 provide forward compatible TLS constructor in stream TLS
This method will be consumed mainly by akka-http.

(cherry picked from commit 7b7a82c1c13dce5710c6cc2923fc7490666d8c79)
2017-02-23 14:01:10 +01:00
Johannes Rudolph
e4491a05cf Revert "=str Remove manual hostname verifier support, used to be included only because Java 6 (#22320)"
Let's revert this until we have decided in #22345 what to do exactly
about it. We will still introduce an overload of TLS.apply that works
without specifying a `verifySession` function.

This reverts commit 021829e21e.

Conflicts:
	project/MiMa.scala
2017-02-23 14:01:10 +01:00
Patrik Nordwall
bf775298f6 Merge pull request #22268 from akka/wip-22113-iter-patriknw
use index access instad of iterator in Broadcast, #22113
2017-02-21 14:45:43 +01:00
Heiko Seeberger
78022732b9 Fix configuration for persistence-query test deps (fix #22342) 2017-02-21 12:24:26 +01:00
Johan Andrén
64b35cf1f1 Replace "experimental" with "may change" (#22326)
* Replacing "experimental" with "may change" #22305

* Right syntax for links

* Correct annotation name

* Final small changes
2017-02-20 12:05:21 +01:00
Alexander Golubev
552481b511 #22030 Lazy sink wait for init 2017-02-16 09:19:25 +01:00