Commit Graph

425 Commits

Author SHA1 Message Date
Spencer Gibb
008e4e0b40 Default port for http{s} routes if not set.
fixes gh-198
2018-02-20 11:29:17 -05:00
Spencer Gibb
d0296709c9 Merge branch 'retry' 2018-02-20 10:46:44 -05:00
Spencer Gibb
cf0e4ad67d polish 2018-02-15 14:38:06 -05:00
Spencer Gibb
e051eecbca polish 2018-02-15 14:17:28 -05:00
Spencer Gibb
9ba1e67fd6 Removes use of DefaultRepeat, moves iteration count to predicate. 2018-02-15 14:16:38 -05:00
Spencer Gibb
40b9944853 Remove kotlin version, now managed by boot 2018-02-15 14:09:13 -05:00
Spencer Gibb
3bc54ab82c Configuration for retry filter. 2018-02-14 23:30:13 -05:00
Spencer Gibb
035258988a Creates a retry filter using reactor-extra
fixes gh-94
2018-02-14 17:27:03 -05:00
Spencer Gibb
d8fde99382 polish 2018-02-14 14:21:42 -05:00
Spencer Gibb
9fb76a3f89 Allow server errors to propagate back to client.
fixes gh-181
2018-02-14 14:20:33 -05:00
Kamil Szymański
2797834dc9 update proxy response auto-configuration with Spring 5.0 improvements (#158) 2018-02-13 11:52:25 -05:00
Ryan Baxter
40bae835b5 Strip Prefix Filter Implementation (#180)
* Implements a filter to strip the prefix from a request through the gateway.  Fixes #122

* The number of parts to strip is now configurable

* Updated documentation
2018-02-13 11:47:22 -05:00
Spencer Gibb
b3d50f93a4 Fixes SSE issue by properly flushing for streaming media types.
fixes gh-161
2018-02-13 10:59:08 -05:00
Spencer Gibb
b2adfd542f If filter is ordered already, don't wrap with ordered filter.
fixes gh-192
2018-02-12 21:42:22 -05:00
Spencer Gibb
ee55ef50e7 Tighten Java DSL.
Removes M6 deprecations.
2018-02-12 16:23:31 -05:00
Spencer Gibb
9d04c4eca1 Adds a default hearder existence check 2018-02-12 16:21:33 -05:00
Spencer Gibb
062b6bc526 update to new web endpoint property 2018-02-12 12:20:16 -05:00
buildmaster
43fabf27b4 Going back to snapshots 2018-02-09 22:54:54 +00:00
buildmaster
0dac0315e9 Update SNAPSHOT to 2.0.0.M6 2018-02-09 22:54:02 +00:00
jphilippeplante
706fbc0df2 Enhancement: adding IPv6 support to Remote Addr Predicate gh-165 (#183)
* Enhancement: adding IPv6 support to RemoteAddrRoutePredicateFactory

* Using IpSubnetFilterRule from Netty as suggested 

fixes gh-165
2018-02-07 14:13:57 -05:00
Spencer Gibb
da2f28e25b Add filters() method to Java DSL.
Deprecates direct filter methods after predicates.

Thanks @joshlong
2018-02-02 16:22:31 -05:00
Spencer Gibb
7f92ea1213 Don't decode query parameters.
When query parameters or paths of request uri are mutated make sure
they are not decoded.

This means bypassing the default ServerHttpRequest.mutate()

fixes gh-147
2018-01-30 00:55:07 -05:00
Spencer Gibb
84bced0411 Document lb: prefix and use for websockets.
fixes gh-110
2018-01-29 20:51:14 -05:00
Spencer Gibb
58078c71d1 Loadbalance websockets requests 2018-01-29 20:40:31 -05:00
Spencer Gibb
1d4b95fcef Avoid unreleased memory allocations.
See gh-171
2018-01-23 14:26:29 -05:00
Spencer Gibb
3c21176ba7 Simplifies to use @RestControllerEndpoint 2018-01-22 13:11:49 -05:00
Spencer Gibb
d13f305264 Uses new @ControllerEndpoint for gateway endpoint.
fixes gh-153
2018-01-22 13:03:21 -05:00
Spencer Gibb
81943afa11 Merge branch 'scheuchzer-master' 2018-01-20 14:03:32 -05:00
Thomas Scheuchzer
6daf0d0a6e Fixes null pointer exception when routing by header and header is missing in request. 2018-01-20 14:03:15 -05:00
Spencer Gibb
e1a061a833 Adds a test to make sure gateway actuator is on management.server.port
Currently ignored until boot fix.

See gh-153
2018-01-18 13:58:23 -05:00
Greg Turnquist
2f23bc3aac Add filter to force WebSession::save. (#166)
In some scenarios, such as making a remote call while using Spring Session between two processes, forcing a WebSession::save before making the call ensures that session data is in place on the other side.

Resolves #58.
2018-01-17 14:21:52 -05:00
Spencer Gibb
6fe7207b07 Merge branch 'TYsewyn-fix/lb-reconstruct-uri' 2018-01-16 14:55:45 -05:00
Spencer Gibb
84c00a4c75 merged tests 2018-01-16 14:44:35 -05:00
Spencer Gibb
f106c14389 Merge branch 'fix/lb-reconstruct-uri' of git://github.com/TYsewyn/spring-cloud-gateway into TYsewyn-fix/lb-reconstruct-uri 2018-01-16 14:44:20 -05:00
Andrew Fitzgerald
858e70661e fix links in CONTRIBUTING.md (#157) 2018-01-14 00:15:53 -05:00
Spencer Gibb
b980609531 Update actuator paths 2018-01-12 11:38:01 -05:00
Spencer Gibb
d634113acf Adds fallbackUri to Hystrix filter
fixes gh-38
2018-01-08 16:34:54 -05:00
Spencer Gibb
e117906db8 Removes hop-by-hop headers.
As defined by https://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-14#section-7.1.3

fixes gh-143
2017-12-22 15:32:19 -05:00
Ryan Baxter
e44165f63a Adding new issue and contributing templates 2017-12-20 14:43:59 -05:00
Spencer Gibb
4b89ac1c69 Remove deprecated classes. 2017-12-19 12:46:51 -05:00
Spencer Gibb
0ce65bb230 checks if query parameters are encoded then sets encoding appropriately.
fixes gh-139
2017-12-19 11:55:01 -05:00
Spencer Gibb
33bd6fff69 Doesn't assume encoded query parameters.
Allows unencoded parameters to pass through.

fixes gh-139
2017-12-19 00:35:27 -05:00
Spencer Gibb
6aa8cd6f86 Adds PreserveHostHeader filter
This filter sets a request attribute to true. The NettyRoutingFilter
then inspects this attribute and resets the host header, overwritting
the value set by the netty http client.

fixes gh-133
2017-12-18 15:38:33 -05:00
Spencer Gibb
fb9c671123 Adds setRequestHeader filter
fixes gh-138
2017-12-18 15:04:32 -05:00
Spencer Gibb
ae206985e2 polish 2017-12-18 14:45:31 -05:00
Spencer Gibb
461958e168 Change Primary RouteLocator bean name. 2017-12-18 13:18:54 -05:00
Spencer Gibb
d5f87dc6a0 Fix potential NPE
see gh-131
2017-12-14 16:23:02 -05:00
Spencer Gibb
1b3300bbc4 Removes custom form url handling.
fixes gh-130
2017-12-12 17:11:33 -07:00
Spencer Gibb
5afa1c8d81 Ignore redis rate limiter test on circle 2017-12-11 16:23:22 -08:00
Tim Ysewyn
09ba3efc6e Added unit tests for the LoadBalancerClientFilter 2017-12-11 17:05:01 +01:00