Commit Graph

81 Commits

Author SHA1 Message Date
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
sgibb
b983876ed1 Adds "How to Include" for Proxy Exchange variant. 2024-03-15 16:27:54 -04:00
buildmaster
f1f916fb46 Bumping versions 2024-03-15 12:10:09 +00:00
sgibb
84502853a1 Creates sharing-routes.adoc from misplaced part of actuator-api.adoc 2024-03-14 22:29:12 -04:00
buildmaster
f7de687ca2 Bumping versions 2024-03-13 12:13:44 +00:00
sgibb
3c627f31f7 Updates example config in the-discoveryclient-route-definition-locator.adoc
Fixes gh-2896

Co-authored-by: ecnabogs <sgobance@live.com>
2024-03-08 17:00:05 -05:00
sgibb
688391a008 Adds key-resolver example to requestratelimiter-factory.adoc
Fixes gh-2733

Co-authored-by: Archimedes Trajano <developer@trajano.net>
2024-03-08 15:56:48 -05:00
sgibb
f6182dfa03 Updates documentation to correct RewriteLocationResponseHeaderGatewayFilterFactory parameters and default value
Fixes #2753

Co-authored-by: ice2shell <ice2shell@outlook.com>
2024-03-08 15:43:53 -05:00
Tony Clarke
e0adbc0114 Update dashboard to Grafana 9.x (#3136) 2024-03-08 13:57:52 -05:00
Chanbok Wi
b26e671c45 Fix typo (#3146)
Co-authored-by: zolazz <148365012+zolazz@users.noreply.github.com>
2024-03-08 13:53:40 -05:00