Commit graph

19204 commits

Author SHA1 Message Date
Patrik Nordwall
b97a72c773 use blocking-io-dispatcher correctly in OutputStreamSource, #20666
* it used the materializer dispatcher for the blocking take
* it was leaking threads (blocking threads) when when materializer was shutdown abruptly
2016-05-31 19:34:00 +02:00
Patrik Nordwall
be448e9fbb fix memory leaks in tests, #20659 2016-05-31 08:51:00 +02:00
Jan Ypma
6a13d99bfc =htp #20610 Fix Java RouteTest to not depend on scala DSL in API (#20615) 2016-05-30 21:59:54 +02:00
Daniel Moran
d05866dae7 -str Remove obsolete OneToManyTestStage, #20288 (#20629) 2016-05-30 20:56:29 +02:00
Felipe Fernández
2d6ec9c4cf +doc #20466 Include Future Directives Examples for Java. (#20619) 2016-05-30 16:42:14 +02:00
Patrik Nordwall
5417942c5d Merge pull request #20524 from MQ-EL/fix-remote-quarantine-rds-leak
=rem #20523 fix-rds-leak
2016-05-30 14:13:57 +02:00
Fabian Gutierrez
2b60f5fcbf +doc #20466 akka http javadsl - add debugging directive test (#20651)
* akka http javadsl - add debugging directive test

* fixes line breaks
2016-05-30 10:47:45 +02:00
Konrad Malawski
9be0ea6c11 =htc #20602 avoid checking racy value if we don't really care (#20617) 2016-05-30 10:42:00 +02:00
gosubpl
66d4f82685 =doc fix inaccurate docs #20632 (#20652)
* Replace Rest with Remaining and RestPath with RemainingPath
* changed files: path-directives.rst and path-matchers.rst
2016-05-29 20:55:35 +02:00
Patrik Nordwall
e2c6948c15 Merge pull request #20620 from hseeberger/20590-fileio
Return failed IOResult for non-existint file (closes #20590)
2016-05-26 16:04:36 +02:00
Heiko Seeberger
f4186b5391 Return failed IOResult for non-existint file (closes #20590) 2016-05-26 15:00:43 +02:00
Patrik Nordwall
10d40f4bc3 Merge pull request #20618 from akka/wip-20607-DeflateSpec-patriknw
increase some test timeouts in http, #20607
2016-05-24 19:54:48 +02:00
Patrik Nordwall
1ebf93503d -doc remove note about scala in java testkit docs, #17288 (#20614) 2016-05-24 16:22:10 +02:00
drewhk
8c1e60fe17 Merge pull request #20605 from drewhk/wip-20573-delay-fix-drewhk
#20573 Fixing wrong initial buffer sizes in delay, and one logic bug
2016-05-24 16:11:13 +02:00
Patrik Nordwall
03fd6ac4b7 increase some test timeouts in http, #20607 2016-05-24 16:07:47 +02:00
Patrik Nordwall
8ac00ac2dc -doc remove STM section from JMM docs, #16980 (#20612) 2016-05-24 15:25:45 +02:00
Konrad Malawski
a299b30c0b !htp,java #20592 javadsl complete* should take Marshaller[...,RequestEntity] (#20593) 2016-05-24 15:20:28 +02:00
Konrad Malawski
31de5952b0 -doc remove tracking codes from urls (#20609)
I see no need why we should keep these.
2016-05-24 14:55:49 +02:00
Yegor Andreenko
c66e3a9f02 =clu #20613 logging selfRoles during node unreachable and quarantined (#20542) 2016-05-24 14:35:50 +02:00
Erol Staveley
72548d8439 Added a Packt video to list of resources (#20509) 2016-05-24 13:43:06 +02:00
Patrik Nordwall
b3591b48d0 regression of Creator check, #20537 (#20538)
* try to reproduce the regression of Creator check, #20537

* fix regression of Creator check, #20537

* the check of the enclosing class parameter should check the first parameter
2016-05-24 13:10:23 +02:00
Björn Antonsson
f46be728e8 Update MiMa to check against Akka 2.4.6 as well (#20604) 2016-05-24 12:58:18 +02:00
Endre Sándor Varga
14b70836a7 #20573 Fixing wrong initial buffer sizes in delay, and one logic bug 2016-05-24 11:42:17 +02:00
Konrad Malawski
17e38d0fe2 =htp #20601 increase timeout in File touching tests (#20603) 2016-05-24 11:36:31 +02:00
Hawstein
77741acfca +doc,htp example snippet for akka http java dsl: CookieDirectives (#20585)(#20466) 2016-05-24 11:22:24 +02:00
David Piggott
dfc7943e94 =doc Remoting documentation addition (#20463) (#20584)
* Add missing fullstop

* Document that sends to local actors via remote paths aren't remoted (#20463)
2016-05-24 11:21:03 +02:00
zhxiaog
11584f12eb converts LengthFieldFramingStage to GraphStage 2016-05-24 11:17:43 +02:00
Richard Imaoka
db83775c6d =str Converts DelimiterFramingStage from PushPullStage to GraphStage (#20367) (#20367) 2016-05-24 11:10:44 +02:00
Felipe Fernández
d9c7f9b7f0 =doc,htp #20466 Include Respond Directives Examples for Java. (#20595)
* Include Respond Directives Examples for Java.

* Include license on RespondWithDirectivesExamplesTest.
2016-05-24 10:54:44 +02:00
David Knapp
06c7467a0e =doc Fix float issue (#20599)
The float from the nav isn't cleared properly. This effect is only visible on zoom levels.

https://bugs.chromium.org/p/chromium/issues/detail?id=595166#c8
2016-05-24 10:10:21 +02:00
qian miao
b8128991d5 fix-rds-leak-bug 2016-05-24 15:49:35 +08:00
Fabian Gutierrez
43c09a4b63 Add scheme directive example in javadsl (#20586)
* add scheme directive test

* link documentation to the scheme directive
2016-05-23 12:49:54 +02:00
Alexander Golubev
03395d5739 =str #20229 groupBy should be a Graph stage (#20344) 2016-05-23 10:31:49 +02:00
Konrad Malawski
74b8d749b6 =doc #20565 explain binary compat rules explicitly (#20569) 2016-05-20 16:47:50 +02:00
drewhk
2c47f1883d Merge pull request #20554 from Hawstein/hawstein-20288-pushpullstage-to-graphstage
Replace PushPullStage with GraphStage in HttpServerBluePrint
2016-05-20 10:25:19 +02:00
Hawstein
f61a67d57a make OneHundredContinueStage an object 2016-05-19 22:52:49 +08:00
Johan Andrén
83c60cb034 Publish akka-osgi but do not include it in dist #20548 (#20549) 2016-05-19 12:41:38 +02:00
Samuel Tardieu
e0c64f59d8 =str #20550 only accept -1 for infinite retries in recoverWithRetries (#20555) 2016-05-19 11:45:31 +02:00
Johan Andrén
acb71ac4e5 !htp Move classes from javadsl to javadsl.server to keep in release jars #20556 (#20558) 2016-05-19 11:30:59 +02:00
Hawstein
cc2e0e8d32 replace PushPullStage with GraphStage in HttpServerBluePrint 2016-05-19 03:40:02 +08:00
Ashu Gupta
e2c1638171 HTTP: Document how a type is marshalled into json #20514 2016-05-18 18:39:10 +02:00
Johan Andrén
f974ae984d Removing pidfile that got in the JavaDSL merge 2016-05-18 16:16:36 +02:00
Johan Andrén
ebef60388f Workaround for unidoc failing to compile scaladsl.server.Rejection 2016-05-16 16:59:12 +02:00
Oleksii
dc67603400 20413: Implemented. Now 0 and 1 treated as boolean if specified. (#20526)
20413: Added test case according to the code review
2016-05-16 11:10:51 +02:00
Johan Andrén
ab526356dd Docs for half closed client WebSockets #19957 2016-05-16 11:10:30 +02:00
Johan Andrén
192fa56975 Removing accidentally committed async-client subproject (#20530) 2016-05-16 11:09:19 +02:00
Nikita Melkozerov
9e6dab4ee1 +doc #17972 added spray migration guide (#20511) 2016-05-16 10:50:02 +02:00
Johan Andrén
29029be31d !htp #18919 #19519 New JavaDSL for Akka HTTP (#20518)
* !htt #18919 #19519 Align Java HTTP server DSL with Scala

This commits replaces the Java HTTP server DSL with a Java-8 centric one
which exposes all scala DSL concepts to be usable from Java, including
custom directives, (un)marshallers, rejections, headers, and type safety
for path and query parameters.

* Add RequestContext and RouteResult to Java DSL
fix websockets
WIP bring java docs up to date.
This applies some updates to the root-level documentation

* [htp] Fix java documentation to correctly mention timeouts

Timeouts are configured the same in Java and Scala. Hence, linking to the
scala docs for timeouts from Java.

* =htc fix optionalHeaderValueByType in Java

* =htt #20200 fix java testkit always using NoLogging instead logger

* +htt actually run new javadsl tests, allow overriding config

* =htt improve javadsl test infra with more details when fails

* =htt fix bug in wrong path matcher exposed

* +htp add missing remaining path matcher

* =htp Java DSL cookie tests fixed

* =htt Java DSL ParameterDirectivesTest fixed

Protect the tweets from scalariform

Incorrect response expectations in cache condition directives spec fixed

* =htt Path directives for Java DSL

* +!htt PathMatchers rewritten, made uniform and tests passing

* Bugfix in java reject and a little test-boyscouting

* Revert "Incorrect response expectations in cache condition directives spec fixed"

This reverts commit cd50e89d45db010309f8249b090ea654ebb11c7a.

* +htc HttpAPIsTest is compile time only, not for running
Also, moved from the client package since not strictly a client test.

SecurityDirectives passing

Two faulty tests and two actual bugs.

Fix for cache condition spec not working

* Not sending in Unit instad of the implicit magnet in the test
* HeaderMagnet now works as expected
* Java API added for - and + on DateTime

PetStore example and test fixed

* Annotations to make marshalling work without default constructor
* Made model class immutable

Incorrect tests fixed

Some scaladoc boyscouting as bonus

* =htt RequestValTest sprinkled out across multiple directive tests

Client ip extraction test with incorrect header name fixed.

* =htt Incorrect CodingDirectivesTest fixed.

* =htt Bugfix for Java Unmarshaller.firstOf and fixes to JavaRouteTest

* =htt MarshallerTest fixed

* Missing seal signature added to JavaDSL
* More consistent (with Scala) test kit setup for Java
* missing Javadocs added
* Thread.sleep in default exception handler removed

* =htt copy directive docs, prepare for finishing it up

* +htt SecurityDirectives.authorize variants and test coverage added

* +htt Custom headers in Java DSL

* =htt WIP on java docs

* +htp add missing parameterOrDefault directive
Fixed a lot of doc warnings

* =htc intense progress on javadsl docs

* =htc #20470 Link to issue about docs and fix compile error
compile, migration guide
don't mima check http-experimental

* =htt Java DSL doc warnings fixed.
Only `Could not lex literal_block` ones left now

* =htc fix mima settings

* =doc fix MethodDirectives doc test with custom method

* =htc fix coding directives spec after bad merge

* =htc fix concat being corresponding to route() in javadsl

* =htt Disable consistency check for route/concat as it fails only on ci server

* !htt Minor fixes to PathMatchers
2016-05-16 10:38:40 +02:00
Patrik Nordwall
094c8974ed Merge pull request #20453 from johanandren/wip-document-untyped-actor-with-unrestricted-stash-johanandren
=act #20447 fix UntypedActorWithStash javadoc
2016-05-13 10:12:37 +02:00
Patrik Nordwall
695b237156 =act #16969 Props.create must not check STATIC flag (#20488)
* =act #16969 Props.create must not check STATIC flag

* also support the new Creator<SomeActor> without class param
2016-05-13 09:57:37 +02:00