Commit Graph

90 Commits

Author SHA1 Message Date
spencergibb
b60f8db2c7 Escapes curly-braces 2025-05-28 17:31:08 -04:00
spencergibb
98fe0acc3a Adds trusted-proxies config 2025-05-28 17:23:14 -04:00
spencergibb
929293cc28 Merge branch '4.1.x' into 4.2.x 2025-05-28 17:16:32 -04:00
spring-builds
e963342e4c Going back to snapshots 2025-05-28 21:07:05 +00:00
spring-builds
79a413ada8 Update SNAPSHOT to 4.1.8 2025-05-28 21:04:17 +00:00
sgibb
33ea007a6b Adds support for trusted-proxies property.
spring.cloud.gateway.trusted-proxies and spring.cloud.gateway.mvc.trusted-proxies
2025-05-28 16:15:29 -04:00
Ryan Baxter
34f38eaf23 Merge branch '4.1.x' into 4.2.x 2025-05-23 09:05:01 -04:00
jiangyuan
989dd6233a update docs
Signed-off-by: jiangyuan <joe469391363@gmail.com>
2025-05-23 14:11:58 +08:00
郭付一男
bd8c3cc736 docs: explain spring.webflux.base-path influence on Path Route Predicate
Signed-off-by: 郭付一男 <guofuyinan@gmail.com>
2025-04-22 22:34:49 +08:00
spencergibb
8f534ebfa7 polishing modifyresponsebody.adoc 2025-03-28 15:13:58 -04:00
spencergibb
afd4e0a9ff Merge branch '4.1.x' into 4.2.x 2025-03-28 15:08:04 -04:00
Spencer Gibb
55b3cd0c51 Fixes routing issue with path filters and static uri (#3747)
* Fixes routing issue with path filters and static uri

The problem arises from when MvcUtils.setRequestUrl is called depending on if the route was created via config, using `http(uri)` or having it set in a before filter.

To fix this, the uri is now always set in a before filter and the `http(uri)` methods are deprecated in favor of a BeforeFilterFunctions.uri() method.

A new DefaultHandlerSupplier was created to use an updated HandlerDiscoverer.Result that has fields for lowerPrecedenceFilters and higherPrecedenceFilters as the `http()` family of Handler methods need associated filters.

This results in a more consistent handling of the request url attribute.

Existing methods and constructors are deprecated.

Fixes gh-3736
2025-03-28 14:59:19 -04:00
Ryan Baxter
fe3ea71723 Merge branch '4.1.x' into 4.2.x 2025-03-20 10:10:39 -04:00
Ryan Baxter
c21ea8858c Merge pull request #3713 from JoeCqupt/main
RetryGatewayFilterFactory RetryConfig support Jitter & Timeout
2025-03-20 10:10:08 -04:00
spring-builds
0c1b54926d Bumping versions 2025-03-20 09:57:45 +00:00
spring-builds
0ee6a5d6da Going back to snapshots 2025-03-18 23:49:59 +00:00
spring-builds
263e813558 Update SNAPSHOT to 4.2.1 2025-03-18 23:46:46 +00:00
spencergibb
5cf94a4987 For lb: scheme, put associated filters last.
This makes sure the lb filter runs after path modifying filters like stripPrefix.

See gh-3443
2025-03-17 16:15:20 -04:00
spencergibb
c1c741d022 For lb: scheme, put associated filters last.
This makes sure the lb filter runs after path modifying filters like stripPrefix.

See gh-3443
2025-03-17 16:12:09 -04:00
Ryan Baxter
a830c8e6f9 Merge branch '4.1.x' into 4.2.x 2025-03-17 14:20:50 -04:00
spring-builds
5e4aff5786 Bumping versions 2025-03-16 09:55:41 +00:00
spring-builds
160c82057e Bumping versions 2025-03-15 13:26:33 +00:00
jiangyuan
9eb9165927 add docs and unit-test
Signed-off-by: jiangyuan <joe469391363@gmail.com>
2025-03-13 11:04:10 +08:00
spencergibb
1982315e6b Merge branch '4.1.x' into 4.2.x 2025-02-11 19:40:09 -05:00
spencergibb
159ce34abe Adds support for retry with request body.
Adds MvcUtils.getOrCacheBody() used by RetryFilterFunctions.retry().

Moves retry tests into RetryFilterFunctionTests.java

Fixes gh-3336
2025-02-11 19:39:39 -05:00
spring-builds
cd15734bde Bumping versions 2024-11-20 18:00:28 +00:00
Pedro Andrez
fd3c6f5d3d Provides configuration for Netty's http client pool leasing strategy (#3575) 2024-11-19 11:41:02 -05:00
Khan / 이창민
95a8a5587b Fix: incorrect link in configuration-properties 2024-11-19 11:25:39 -05:00
Khan / 이창민
8f3ce76668 Fix: incorrect link in configuration-properties 2024-11-19 11:24:33 -05:00
spring-builds
7cdf7608f5 Bumping versions 2024-11-14 18:07:28 +00:00
sgibb
4ee9a072f6 Implements BodyFilterFunctions.modifyResponseBody
Fixes gh-3189
2024-11-05 14:03:03 -05:00
spring-builds
2aee1f5ccf Bumping versions 2024-10-15 18:01:11 +00:00
spring-builds
679bc2c232 Bumping versions 2024-10-15 13:28:14 +00:00
maoling
7cc9434f52 add alarm template for spring cloud gateway (#3019) 2024-09-27 12:30:41 -04:00
spencergibb
ae0d23a326 Merge branch '4.1.x' 2024-09-27 12:23:18 -04:00
Abimael Sergio
0ce2485471 Improve documentation, add reference of HttpClientCustomizer.
Fixes gh-2623
Fixes gh-3381
2024-09-27 12:22:49 -04:00
qnnn
181feb07be Add a note about retry filter behavior in documentation (#3534)
* Add a note about retry filter behavior in documentation.
2024-09-27 12:05:33 -04:00
spencergibb
84d7cf2afe Merge branch '4.1.x' 2024-09-25 13:18:21 -04:00
tungj
4aa7c08867 Fix example code to compile
Fixes gh-3427
2024-09-25 13:17:42 -04:00
buildmaster
bb2a30cdb1 Bumping versions 2024-08-24 17:56:39 +00:00
Joris Kuipers
b435ce3575 Prevent Content-Length and Host headers from being copied by default (#3313)
Also remove the bogus spring.cloud.gateway.proxy.auto-forward setting from the tests.
Fixes gh-3154
2024-07-03 11:32:23 -04:00
wind57
be86df976f typo 2024-04-10 18:49:53 +03:00
wind57
2721fafb08 review comments 2024-04-10 18:23:02 +03:00
wind57
6654ba1838 add documentation 2024-04-10 17:47:25 +03:00
spencergibb
d722898970 Adds server-webmvc to list of config properties.
Fixes gh-3337
2024-04-05 15:48:36 -04:00
sgibb
f0ad75a22f Documents registration of custom filters and predicates.
This allows them to be used in external configuration.

Fixes gh-3268
2024-03-19 15:41:32 -04:00
sgibb
430607c8dd Documents proper order for Servlet Filtters.
Fixes gh-3244
2024-03-19 14:42:28 -04:00
sgibb
2d1b7fa37a Adds warning about paths on route URIs being ignored.
Fixes gh-3292
2024-03-15 16:48:41 -04:00
sgibb
95a3d2c527 Updates image backgrounds to work on dark or light theme. 2024-03-15 16:47:41 -04:00
sgibb
8cea23dcbf Updated intro for server and proxy exchange.
Notes that each is available for webflux and mvc.
2024-03-15 16:27:55 -04:00