Commit Graph

1452 Commits

Author SHA1 Message Date
Spencer Gibb
3d2be39670 Adds support for spring.codec.* in modify request body filter.
Also adds test for support added in modify response.

Fixes gh-1596
2020-03-03 14:03:04 -05:00
Spencer Gibb
1d241a83d1 Proxy websocket ping frames.
fixes gh-729
2020-03-02 20:03:04 -05:00
Spencer Gibb
52c3fd97fe formatting 2020-03-02 20:02:08 -05:00
Ruslan Akhundov
3d278e93d2 Adds gzip response modification handling.
Fixes gh-1492
Fixes gh-1548
2020-03-02 16:44:03 -05:00
Spencer Gibb
4bd51d46d2 Moves service file from test to main 2020-02-28 15:30:04 -05:00
dcutic
8ba1c06183 Adds support for rate limits bellow 1 req/s
Adds requestedTokens configuration option. Previously, this was
hardcoded to 1.

Make the 'requested tokens' redis template argument configurable in
order to allow defining rate limits lower than 1 req/s, e.g. 1 req/m.

This is accomplished by setting:
- replenishRate = requestRate
- burstRate = requestRate * timeSpanInSeconds
- requestedTokens = timeSpanInSeconds

For 1 req/m this would be accomplished by:
- replenishRate = 1
- burstRate = 60
- requestedTokens = 60

fixes gh-1327
2020-02-28 14:33:34 -05:00
Nikita Konev
fc7ed5b0a6 Fixes retry filter retries on all operations when a response timeout occurs.
fixes gh-1372
fixes gh-1393
2020-02-28 14:13:39 -05:00
trotman23
35eab962a1 Adds ServiceInstance metadata to RouteDefenition in DiscoveryClientRouteDefenitionLocator.
fixes gh-1555
2020-02-28 13:57:43 -05:00
suntiancheng
070c4be396 Adds max initial line length configuration.
fixes gh-1554
2020-02-28 10:49:43 -05:00
Tim Ysewyn
3f5c0b26ce Auto forward upstream headers in mvc and webflux proxy exchange.
fixes gh-1183
fixes gh-1193
2020-02-28 08:43:00 -05:00
Spencer Gibb
138ea51ec2 formatting 2020-02-28 01:35:00 -05:00
Gaemi
28ae74b58b Allows RewriteFunction to be applied when no request body.
Fixes gh-1309
2020-02-28 01:24:31 -05:00
Stefan_Stus
7eaecedd5e Calls RewriteFunction even if body is empty.
fixes gh-1219
fixes gh-1220
2020-02-28 01:03:56 -05:00
Spencer Gibb
2e890864bd formatting 2020-02-27 23:50:09 -05:00
Spencer Gibb
05ba82855e Makes failing on route definition errors opt-out.
Since this is a behavior change, the new behavior needs to be opt in.

See gh-1376
2020-02-27 23:48:08 -05:00
MattyA
75a34df7e2 Moves routeId generation schedule to more specific location.
This allows only the routeId generation to be on an elastic scheduler
while everything else remains on the main thread.

That way if there are errors loading routes, this will halt execution.

Fixes gh-1574
Fixes gh-1575
2020-02-27 23:33:00 -05:00
owen.q
88be470c9b Add error handling to invalid RouteDefinition parse
- invalid definitions are logged with warn level

fixes gh-1376
fixes gh-1496
2020-02-27 21:08:41 -05:00
echooymxq
fd1763d5b9 Supports timeouts from properties rather than yaml.
Fixes gh-1522
2020-02-27 20:47:00 -05:00
Spencer Gibb
6553bce9f6 Fixes test to call proper method. 2020-02-27 18:39:45 -05:00
Gaemi
0ddf816016 Modify newContentType to be reflected in downstream requests in ModifyRequestBodyGatewayFilterFactory
Fixes gh-1305
Fixes gh-1306
2020-02-27 18:34:25 -05:00
Alexander Holbreich
356c003260 fixing copy paste error on path_route
fixes gh-1581
2020-02-27 17:00:10 -05:00
Adriano Scheffer
7b673a8e87 Lazily test AsyncPredicate for 'and' and 'or' operations.
fixes gh-1571
2020-02-27 16:58:56 -05:00
Young Jun Seo
67241a3e6f Fixed typo
fateway -> gateway

fixes gh-1565
2020-02-27 16:43:19 -05:00
Timothy
47f640c915 Adds protected reconstructURI method.
Allows URI mapping behavior to be overridden for ReactiveLoadBalancerClientFilter.

Fixes gh-1524
2020-02-27 16:41:57 -05:00
Ingyu Hwang
b017891fe7 Adjust position of AfterRoutePredicateFactory
fixes gh-1557
2020-02-27 16:41:49 -05:00
Spencer Gibb
799577edb7 Creates HttpClientCustomizer.
This allows users to customize the Reactor Netty HttpClient without loosing auto configuration.

fixes gh-1546
2020-02-27 16:35:14 -05:00
Guy Lewin
60653ee240 Allow HttpClient creation to be customized by subclasses.
fixes gh-1577
2020-02-27 15:47:16 -05:00
Spencer Gibb
d4f2b6860d Merge branch '2.1.x' into 2.2.x 2020-01-31 12:08:10 -05:00
Spencer Gibb
2a3389e6a7 Updates CustomBlockHoundIntegration to whitelist more netty 2020-01-31 11:39:14 -05:00
Spencer Gibb
4243621d2f Adds documentation of a custom route predicate.
fixes gh-400
2020-01-30 15:21:37 -05:00
Spencer Gibb
6c9ca19887 Updates documentation of configuration and shortcut types.
Adds documentation for HeaderFilters

fixes gh-799
2020-01-29 20:34:20 -05:00
Mahendra Patel
8c21563c51 Document Weight predicate #1072 2020-01-29 19:21:09 -05:00
Spencer Gibb
4e67364b49 Updates retry filter factory to document support for other HTTP methods.
fixes gh-1302
2020-01-29 19:18:14 -05:00
Spencer Gibb
4fbadeec7e Implements missing methods 2020-01-27 11:59:50 -05:00
Tim Peeters
01f314a475 Adds configurable maxLifeTime in HttpClientProperties.
fixes gh-1542
2020-01-27 11:43:24 -05:00
Spencer Gibb
5786283774 Replaces deprecations 2020-01-21 19:43:14 -05:00
Spencer Gibb
ce7e5316fd Ignores NettyRoutingFilterTests
Test is flakey on Jenkins, fails with connection reset by peer.
2020-01-16 09:59:25 -05:00
Ryan Baxter
124603254d Update autoconfiguration for circuitbreaker filters. Fixes #1526 2020-01-14 16:37:17 -05:00
Spencer Gibb
85193a0d98 Updates Netty*Filter classes to use DefaultDataBuffer.
This avoids class cast exceptions when using MockServerHttpResponse.

Fixes gh-1491

It may also work for Tomcat, Jetty and Undertow.

See gh-145
2020-01-14 16:11:47 -05:00
Spencer Gibb
fb465e2291 Ignore hystrix tests for now. 2020-01-14 15:57:35 -05:00
Spencer Gibb
8af1005865 Merge branch '2.1.x' 2020-01-14 13:55:26 -05:00
Spencer Gibb
64a579d68d Adds max response header configuration.
fixes gh-1457
2020-01-14 13:53:19 -05:00
buildmaster
86b0455e59 Bumping versions 2020-01-14 18:07:49 +00:00
Ijiekhuamen Rex
ff55cb325f Fixed a minor typo (#1380) 2020-01-13 18:16:36 -05:00
Ugnius Rumsevicius
4a33f1bfd2 Update appendix globalcors config property (#1348)
* Add missing config property to metadata json

* Update test config to dash-case
2020-01-13 16:00:57 -05:00
Derek OKeeffe
85df9b463f update redirect filter doc to describe no://op (#1332)
Co-authored-by: Spencer Gibb <sgibb@pivotal.io>
2020-01-13 15:54:22 -05:00
Spencer Gibb
3c778858c5 Makes constuctor parameters ObjectProvider so they are lazy.
This eliminates possible early initialization errors with the ConversionService.

Fixes gh-1510
2020-01-07 11:03:16 -05:00
buildmaster
1d1813be61 Bumping versions 2019-12-20 18:07:41 +00:00
buildmaster
068b3de9b1 Bumping versions to 2.2.2.BUILD-SNAPSHOT after release 2019-12-20 13:24:35 +00:00
buildmaster
db14c7ced3 Going back to snapshots 2019-12-20 13:24:35 +00:00