Spencer Gibb
e6a2cd3cdb
Merge branch '2.0.x' of https://github.com/tpenakov/spring-cloud-gateway into tpenakov-2.0.x
2018-10-05 19:08:12 -04:00
mmanciop
e626642cb3
Make Gateway return 504 then HttpClient times out ( #558 )
2018-10-05 19:00:47 -04:00
Erko Risthein
5f528ea326
Fix NPE in XForwardedRemoteAddressResolver
...
Adds an integration test that reproduces the bug
Fixes gh-536
2018-10-05 18:49:50 -04:00
Spencer Gibb
480ebcd149
Merge branch '2.0.x'
2018-10-05 18:38:50 -04:00
Spencer Gibb
bb1ea6a123
Only use scheme://host:port from routeUri
...
fixes gh-465
2018-10-05 18:34:25 -04:00
mmanciop
b473aaee1c
Support Spring WebFlux error-handling mechanism for Hystrix-issued timeouts ( #557 )
...
Fixes gh-553
2018-10-05 18:33:08 -04:00
Tony Clarke
f1db5e063c
Certificate array in pem ( #583 )
...
Fix a bug where previous trust manager effectively only read the first certificate in pem file.
2018-10-05 18:30:21 -04:00
Spencer Gibb
d4637714e1
Lazily inject DispatcherHandler.
...
This prevents early initialization.
2018-10-05 14:20:59 -04:00
Vitaliy Pavlyuk
0582e886ae
limited unit tests
2018-10-04 21:00:52 -04:00
Vitaliy Pavlyuk
6b52f76ac2
Rewrite response header filter factory.
2018-10-04 20:49:16 -04:00
Ryan Baxter
198b3790cb
Merge remote-tracking branch 'Upstream/2.0.x' into refactor-readbodypredicate-2.0.x
2018-10-03 10:39:26 -04:00
Ryan Baxter
b27ea537ba
Adding additional-spring-configuration-metadata with additional properties. Fixes #522
2018-10-02 14:19:17 -04:00
Spencer Gibb
6fd0c80c84
Updates management port tests
2018-10-01 10:46:53 -04:00
Spencer Gibb
175f90ac6f
Updates to new reactor netty chunkedTransfer method.
...
fixes gh-577
2018-10-01 10:46:27 -04:00
Spencer Gibb
2942df03f7
Merge branch '2.0.x'
2018-09-19 16:14:27 -04:00
Spencer Gibb
58834daf62
temporarily disables HiddenHttpMethodFilter
2018-09-19 15:40:01 -04:00
Spencer Gibb
46072b42dd
Revert "Merge timout update"
...
This reverts commit beef829
2018-09-17 15:13:47 -04:00
Ryan Baxter
afe639d844
Add support for optionally matching trailing / in path predicate. Fixes #511
2018-09-12 14:24:03 -04:00
Spencer Gibb
f2cc3f8d0b
Merge branch '2.0.x'
2018-09-11 17:15:12 -04:00
dave-fl
e5993efced
Minor performance tweaks (showed as hotspots when testing).
2018-09-11 17:14:08 -04:00
Spencer Gibb
beef829883
Merge timout update
2018-09-11 16:13:46 -04:00
violetagg
466057cd62
Use ReadTimeoutHandler for setting the response timeout ( #540 )
...
Fixes gh-524
2018-09-11 13:29:28 -04:00
Ryan Baxter
3a45b85287
Fixing broken test
2018-09-07 12:15:13 -04:00
Triphon Penakov
5aa126a83a
Handle case to work with non standard content like "Content-Type: image"
2018-08-30 09:30:47 +03:00
Spencer Gibb
52ff905d8f
Adds todo
2018-08-24 16:47:18 -04:00
Spencer Gibb
a0f0048d85
Merge branch '2.0.x'
2018-08-24 16:44:42 -04:00
Spencer Gibb
cba999a8b6
Adds response timeout test
...
fixes gh-518
2018-08-24 16:41:58 -04:00
Spencer Gibb
6e54ed23af
Moves Evaluation Context as field and changes if predicate is true to not use spel.
2018-08-24 16:41:23 -04:00
Tony Clarke
5cf466cd2a
responseMono timeout is a noop since the return Mono is ignored ( #515 )
2018-08-24 16:12:08 -04:00
Spencer Gibb
e19b619940
Ignores failing formUrlencoded test temporarily.
2018-08-24 12:13:00 -04:00
Spencer Gibb
86489b6d77
renames constant
2018-08-23 14:35:17 -04:00
Spencer Gibb
2a7df6ef95
Moves to ApplicationListener away from @EventListener
2018-08-22 12:21:00 -04:00
Ryan Baxter
23d075852b
Adding Characteristics to the Collector
2018-08-17 20:27:22 -04:00
Ryan Baxter
31ac60d197
Use a Collector to collect the request body into a map containing two copies.
2018-08-17 20:14:19 -04:00
Spencer Gibb
8ecc912584
Removes commented out code
2018-08-17 01:27:12 -04:00
Spencer Gibb
7b6ec3cef9
Removes unused variable
2018-08-17 01:13:20 -04:00
Ryan Baxter
a0508bbe1e
ReadBodyPredicate should set body to body of the original request, not the parsed object.
2018-08-15 20:04:36 -04:00
Spencer Gibb
d271824187
Merge branch '2.0.x'
2018-08-15 14:08:57 -04:00
Kerwin Bryant
cf28327eeb
Allows LoadBalancerClientFilter to be extended ( #448 )
...
Makes `LoadBalancerClient` protected and creates protected `choose(ServerWebExchange)` method.
2018-08-15 14:06:56 -04:00
Arpan Das
83a32a087c
Adds RequestSizeFilter
...
Request Size Limit filter with test case and review comments
2018-08-14 13:08:16 -04:00
Spencer Gibb
112a35de52
Merge branch '2.0.x'
2018-08-14 13:04:23 -04:00
Ryan Dawson
bc1e549dc8
add x-forwarded-prefix header ( #382 )
...
If the path of the url that the gw is routing to is a subset of the url that it is routing from then the difference is the prefix. Also applies if the path of the url being routed to is empty and the routed-from url path is non-empty.
Included quite a few null checks as it should allow for the various different route definition styles and types of request. I've been [using this](https://github.com/ryandawsonuk/activiti-cloud-gateway/tree/develop/src/main/java/org/springframework/cloud/gateway/filter/headers ) in k8s by overriding the class and found the null checks to be necessary.
Was thinking it could be disabled by default as that's how it is for [nginx ingress](https://github.com/kubernetes/ingress-nginx/pull/1805 ) but I haven't thought of any specific reason not to enable by default.
fixes gh-314
2018-08-14 13:03:58 -04:00
Spencer Gibb
64189af8bb
Merge branch '2.0.x'
2018-08-14 12:59:59 -04:00
Spencer Gibb
eea9510716
Adds option for setting custom content type for modify request body.
...
fixes gh-492
2018-08-14 12:58:01 -04:00
Spencer Gibb
de86661ca6
Modify request body now uses recalculated content-length header.
2018-08-14 12:05:44 -04:00
Spencer Gibb
6d9c42028c
Updates for boot 2.1.0 and reactory-netty 0.8.x
2018-08-08 20:52:21 -04:00
Spencer Gibb
2bbf748fcd
Calls to filter(collection) will now transform non-Ordered filters to Ordered filters.
...
fixes gh-445
2018-08-07 13:20:16 -04:00
Spencer Gibb
9aac4cb9c8
Rejects requests made on the management server port.
...
fixes gh-477
2018-08-07 12:33:56 -04:00
Spencer Gibb
2c49d49f36
Renames to Tests
2018-08-07 12:23:08 -04:00
Spencer Gibb
b08f8917d2
removes unused imports
2018-08-03 17:53:59 -04:00