Jaime Sanchez
3bc2267f32
Support token relay clientRegistrationId on properties
...
Signed-off-by: Jaime Sánchez <jaimesf@gmail.com >
2025-05-15 10:39:25 +02:00
spencergibb
03dcf23e55
Adds fn and stream to DefaultHandlerSupplier
2025-03-28 17:12:18 -04:00
spencergibb
beab6a8a3e
Merge branch '4.2.x'
2025-03-28 15:20:44 -04: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
spring-builds
b382bb6cf0
Bumping versions
2025-03-22 13:26:55 +00:00
Oleg Zhurakousky
51fb9aa36c
Add support for default routing functionality to functions in server webmvc ( #3716 )
...
* Initial functionality for default function routing
Signed-off-by: Oleg Zhurakousky <ozhurakousky@vmware.com >
* Add ability to default to s-c-function's RoutingFunction if target function can't be found
Signed-off-by: Oleg Zhurakousky <ozhurakousky@vmware.com >
* Fix tests
Added to teh tests that do not rely on spring-cloud-function
Signed-off-by: Oleg Zhurakousky <ozhurakousky@vmware.com >
---------
Signed-off-by: Oleg Zhurakousky <ozhurakousky@vmware.com >
2025-03-21 12:17:15 -04:00
spring-builds
33c99530bf
Bumping versions
2025-03-21 09:55:27 +00:00
spring-builds
8553c04a10
Bumping versions
2025-03-20 18:53:32 +00:00
Ryan Baxter
6377e317ca
Merge branch '4.2.x'
2025-03-20 13:41:28 -04:00
Ryan Baxter
7a6d1befb4
Merge branch '4.1.x' into 4.2.x
2025-03-20 13:41:12 -04:00
Ryan Baxter
b68c391e45
Merge pull request #3483 from jensmatw/fix-rewritepath-double-encoding
...
Use getPath instead of getRawPath to prevent doulbe encoding of the URI
2025-03-20 13:40:11 -04:00
Ryan Baxter
5456d6dda7
Merge branch '4.2.x'
2025-03-20 10:49:44 -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
a5bd46a91d
Bumping dependency versions after release
2025-03-18 23:51:12 +00:00
spring-builds
50bf1d72a0
Bumping versions to 4.2.2-SNAPSHOT after release
2025-03-18 23:50:00 +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
spring-builds
014a8511e4
Bumping versions
2025-03-18 18:52:12 +00:00
spring-builds
2175fc1c8e
Bumping versions
2025-03-18 13:26:51 +00:00
Jens Mallien
b6d1ed5f80
Merge branch '4.1.x' into fix-rewritepath-double-encoding
...
Signed-off-by: Jens Mallien <108389225+jensmatw@users.noreply.github.com >
2025-03-18 13:53:53 +01:00
Jens Mallien
367cb80db9
Fixes unicode url-rewrite
...
Signed-off-by: Jens Mallien <108389225+jensmatw@users.noreply.github.com >
2025-03-18 12:00:06 +01:00
Jens Mallien
ea0c5ef3d2
Adds a test
...
Signed-off-by: Jens Mallien <108389225+jensmatw@users.noreply.github.com >
2025-03-18 12:00:06 +01:00
Jens Mallien
e27e320023
Use getPath instead of getRawPath to prevent doulbe encoding of the URI
...
Signed-off-by: Jens Mallien <108389225+jensmatw@users.noreply.github.com >
2025-03-18 12:00:06 +01:00
jiangyuan
0f3112077d
update unit test
...
Signed-off-by: jiangyuan <joe469391363@gmail.com >
2025-03-18 15:46:34 +08:00
spencergibb
8ab0279d0f
Set spring.cloud.gateway.forwarded.by.enabled=true
...
See gh-2658
2025-03-17 22:39:37 -04:00
spencergibb
8d79a175cb
Make ForwardedHeadersFilter.serverPort nullable
...
See gh-2658
2025-03-17 19:10:19 -04:00
spencergibb
6ce73c6ec7
Changes property to spring.cloud.gateway.forwarded.by.enabled
...
Defaults to false.
See gh-2658
2025-03-17 16:59:19 -04:00
spencergibb
5911816f0d
Merge branch 'tillmannheigel/main'
2025-03-17 16:46:23 -04:00
spencergibb
996ab88122
Formatting
...
See gh-2658
2025-03-17 16:45:38 -04:00
Tillmann Heigel
c278a43108
Adds Forwarded By Header
...
Fixes gh-2658
2025-03-17 16:38:20 -04:00
spencergibb
f6f90df404
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:17:07 -04:00
spencergibb
b82da55fae
Updates for forwarded prefix header.
...
Adjusts all path related filters to add the original uri and set the request url
See gh-3443
2025-03-17 16:17:06 -04:00
Jonathon Henderson
b8200a3985
Adds support for saving original request URL to request attributes
...
This enables X-Forwarded-Prefix.
Fixes gh-3354
Fixes gh-3443
2025-03-17 16:17:06 -04: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
5cc63233c6
Updates for forwarded prefix header.
...
Adjusts all path related filters to add the original uri and set the request url
See gh-3443
2025-03-17 16:15:20 -04:00
Jonathon Henderson
d6d8a28e7f
Adds support for saving original request URL to request attributes
...
This enables X-Forwarded-Prefix.
Fixes gh-3354
Fixes 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
spencergibb
9843fdf147
Updates for forwarded prefix header.
...
Adjusts all path related filters to add the original uri and set the request url
See gh-3443
2025-03-17 15:44:57 -04:00
Jonathon Henderson
f6e68fac8e
Adds support for saving original request URL to request attributes
...
This enables X-Forwarded-Prefix.
Fixes gh-3354
Fixes gh-3443
2025-03-17 15:44:44 -04:00
Ryan Baxter
ec64b05ccc
Merge branch '4.2.x'
2025-03-17 14:21:04 -04:00
Ryan Baxter
a830c8e6f9
Merge branch '4.1.x' into 4.2.x
2025-03-17 14:20:50 -04:00
Ryan Baxter
88fce67f9d
Merge pull request #3543 from qnnn/circuitbreaker-fix
...
Enable body caching in CircuitBreakerFilterFactory
2025-03-17 14:18:51 -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
qnnn
611ae85b2d
enable body caching if fallbackUri is configured
...
Signed-off-by: qnnn <65326092+qnnn@users.noreply.github.com >
2025-03-15 14:02:32 +08:00
joecqupt
5e9753efb6
add toString info
...
Signed-off-by: joecqupt <joe469391363@gmail.com >
2025-03-15 13:48:13 +08:00