Commit Graph

73 Commits

Author SHA1 Message Date
Ryan Baxter
ff60af89be Merge pull request #3701 from Tripathiaman2511/main
Adding fix in java-based implementation of addRequestHeader for SCG server mvc
2025-03-12 17:20:03 -04:00
anil.senocak
b1aecf3dd5 importing RequestPredicate from reactive changed to servlet
Signed-off-by: anil.senocak <anil.senocak@turkcell.com.tr>
2025-03-12 08:45:00 +03:00
Aman Tripathi
0c60e9e389 Update addrequestheader.adoc
After reading the following documentation, I was getting error over before method - The method before(Function<ServerRequest,ServerRequest>) is undefined for the type RouterFunction.

Using this java-based configuration it solved the error.

Signed-off-by: Aman Tripathi <iamtripathi.25@gmail.com>
2025-02-23 23:44:07 +05:30
spencergibb
ccde721be5 Merge branch '4.2.x' 2025-02-11 19:40:31 -05: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
Spencer Gibb
037abaeb26 New module names (#3645)
* New naming convention using webflux and webmvc

The new suffixes are gateway-server-web{flux|mvc} and gateway-proxyexchange-web{flux|mvc}.

This commit updates the starters to use gateway-server-web{flux|mvc} suffixes.

* Adds new spring-cloud-gateway-server-web{flux|mvc} modules.

These simply depend on the old ones. A warning is logged if not using the new module.

* Adds s-c-g-proxyexchange-{webflux|webmvc} modules

* Updates docs for  s-c-g-{proxyexchange|server}-{webflux|webmvc} modules
2025-01-16 21:26:10 -05:00
Spencer Gibb
ab5e61d4d3 Adds support for a Bucket4jRateLimiter in server webflux (#2955)
* Adds support for a Bucket4jRateLimiter

* Makes bucket4j-core optional and caffeine integration test scoped

* Adds Bucket4jRateLimiter auto-configuration

* Updates bucket4j to 8.14.0

* Adds customizable header and adapts to async build

* Adds configuration for alternative RefillStyles

* Adds documentation and refillTokens property
2025-01-16 21:13:46 -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
NilsE
f3c1f2ebd5 Add missing colon (#3187) 2024-03-08 13:50:35 -05:00
sgibb
eb312e1c07 Polishing gh-3223 adds route method to static import 2024-03-08 12:34:46 -05:00
tungj
35c530e59b Fix documentation sample imports and missing .build() call (#3223)
* Fix javadoc sample imports and missing .build() call

* Correct static import and missing .build() in second example
2024-03-08 12:33:18 -05:00
bb chen
966a183e45 Update gateway-request-predicates.adoc (#3208)
Update gateway-request-predicates.adoc
2024-03-08 12:31:45 -05:00
sgibb
4ff85558d1 Hardcode github code location temporarily.
See https://github.com/spring-cloud/spring-cloud-build/issues/244

Fixes gh-3155
2023-12-22 11:42:13 -05:00
sgibb
dd4840ba45 Adds missing yaml config and fixes missing mvc key.
Fixes gh-3174
2023-12-22 11:18:45 -05:00
sgibb
7e0bbfee49 Adds spring_cloud_gateway_mvc_diagram.png to how-it-works.adoc
Fixes gh-3173
2023-12-21 16:27:33 -05:00
sgibb
a26f652eab Adds TODO 2023-12-05 18:53:26 -05:00