Commit Graph

2756 Commits

Author SHA1 Message Date
spring-builds
92c59468a5 Bumping versions to 4.1.7-SNAPSHOT after release 2024-11-26 17:20:54 +00:00
spring-builds
21ad749857 Going back to snapshots 2024-11-26 17:20:53 +00:00
spring-builds
571c35bca5 Update SNAPSHOT to 4.1.6 2024-11-26 17:18:37 +00:00
spring-builds
4067254809 Bumping versions 2024-11-20 13:30:57 +00:00
Khan / 이창민
8f3ce76668 Fix: incorrect link in configuration-properties 2024-11-19 11:24:33 -05:00
spencergibb
f2ee0c068d Use HttpHeaders#headerSet where appropriate
Fixes gh-3596
2024-11-14 12:05:00 -05:00
spencergibb
353a503dc1 Formatting 2024-11-14 12:04:35 -05:00
spencergibb
eea507f98f removed unused import 2024-11-11 16:26:57 -05:00
spencergibb
6f5d1e720b Reenable test with firewall disabled. 2024-11-11 15:04:02 -05:00
spencergibb
068c4ea79d Disable test for now 2024-11-11 14:40:52 -05:00
spencergibb
4a103dea88 Makes test more general 2024-11-11 13:58:06 -05:00
spencergibb
7a41f6ad1b Revert "Handle URL Connection file not found 404"
This reverts commit 57c0258b4e.
2024-10-31 13:45:59 -04:00
spencergibb
57c0258b4e Handle URL Connection file not found 404
Fixes gh-3451
2024-10-28 14:28:09 -04:00
spring-builds
26926457c2 Bumping versions 2024-10-25 13:35:48 +00:00
spencergibb
6db4ee1801 Updates to*Case() to use Locale.ROOT 2024-10-24 14:37:01 -04:00
spring-builds
679bc2c232 Bumping versions 2024-10-15 13:28:14 +00:00
spencergibb
5b73fdb5fe Refactored HttpUtils to AbstractProxyExchange
This allows the streaming media types and the buffer size to be configured with new properties GatewayMvcProperties.streamingBufferSize and GatewayMvcProperties.streamingMediaTypes.

See gh-3486
2024-10-14 13:12:38 -04:00
Jens Mallien
6a1b21f58b Adds flushing after each buffer write in RestClientProxyExchange in case of text/event-stream
Fixes gh-3410
Fixes gh-3486
2024-10-14 12:41:58 -04:00
spencergibb
c3ea4bb150 Adds shortcut field order to RetryFilterFunctions 2024-10-09 13:16:27 -04:00
spencergibb
df2beb9d2a Adds shortcut field order to CircuitBreakerFilterFunctions
See gh-3327
2024-10-09 13:16:08 -04:00
spencergibb
d40ef5c09d Adds debug logging for finding predicates and filters
Fixes gh-3396
2024-10-09 13:15:03 -04:00
spencergibb
71ba49a620 Fixes missing arguments while binding parameters 2024-10-09 13:13:51 -04:00
spencergibb
ffb497e74c Fixes missing aliasfor values 2024-10-09 13:12:59 -04:00
Jivebread
a1cb4eb050 Fixes missing circuit breaker id
Given yaml Properties, CircuitBreaker(`CircuitConfig`) method passes binding test even when given value is `ID` not `CircuitConfig`

- operation method that is annotated with @configuration always pass binding test [findOperation] thereby creating wrong binding from property to method

Introducing Sorting to the operations, it will resolve methods without @configuration to be processed first and @configuration will be matched the last.

Fixes gh-3327
Fixes gh-3397
2024-10-09 11:42:44 -04:00
buildmaster
92159e9213 Bumping versions 2024-09-29 13:37:46 +00:00
Abimael Sergio
0ce2485471 Improve documentation, add reference of HttpClientCustomizer.
Fixes gh-2623
Fixes gh-3381
2024-09-27 12:22:49 -04:00
spencergibb
f253bf7d34 polishing 2024-09-27 11:59:00 -04:00
Thomas Carlier
22c9f2059b Update README.adoc 2024-09-27 11:57:48 -04:00
Benjamin Bargeton
66a3e41072 Remove HTTP/2 :status pseudo header if added by downstream HTTP client
Fixes gh-3326
Fixes gh-3369
2024-09-26 17:00:25 -04:00
spencergibb
915eb7ab3b polishing 2024-09-26 16:52:18 -04:00
Benjamin Bargeton
c4b8f71330 Only copy body request content if body is present
This avoids to have a "Transfer-Encoding: chunked" with an empty body if downstream exchanges are negotiated in HTTP 1.1

Fixes gh-3325
Fixes gh-3368
2024-09-26 16:49:32 -04:00
Jens Mallien
f2aabac5d0 Adds a missing Shortcut annotation to dedupeResponseHeader
Fixes gh-3536
2024-09-26 16:41:15 -04:00
spencergibb
726b9efd9b formatting 2024-09-26 16:38:46 -04:00
John Gray
eb1de2a37c Defer instantiation of TimeoutExcpetions.
By deferring instantiation of TimeoutExcpetions on each request, this prevents an agent, like Dynatrace, from thinking all requests are throwing TimeoutExceptions.

Fixes gh-2600
Fixes gh-3344
2024-09-26 16:28:16 -04:00
spencergibb
f444ad5cf2 formatting 2024-09-26 16:24:35 -04:00
ohprettyhak
da77ec780a Updates HeaderRoutePredicateFactory to use getValuesAsList
Fixes gh-3447
2024-09-26 16:23:42 -04:00
qnnn
3bb69ec39c Fix potential memory leak when using ReadBodyRoutePredicateFactory
Fixes gh-3465
2024-09-26 15:56:26 -04:00
tungj
4aa7c08867 Fix example code to compile
Fixes gh-3427
2024-09-25 13:17:42 -04:00
Abel Salgado Romero
4676b39c60 Remove EXPIRES HTTP header from cache
This header conflicts and can cause confusion when 'Cache-Control + max-age'
are set. And currently SCG always sets 'max-age' in 'Cache-Control' via
'SetMaxAgeHeaderAfterCacheExchangeMutator'.

Closes #3488
2024-09-05 14:49:35 -04:00
spencergibb
f586c961c0 Removes commons lang3 2024-09-04 16:06:37 -04:00
Abel Salgado Romero
1233357509 Remove PRAGMA HTTP header from cache
This header is deprecated and is unnecessary when using 'Cache-Control'.
Currently SCG always returns 'Cache-Control' already.
2024-09-04 15:28:38 -04:00
buildmaster
656ab5aba4 Bumping versions 2024-07-23 12:11:58 +00:00
buildmaster
4a2c6d836f Bumping versions to 4.1.6-SNAPSHOT after release 2024-07-10 17:24:54 +00:00
buildmaster
fa41264ea7 Going back to snapshots 2024-07-10 17:24:53 +00:00
buildmaster
6191539046 Update SNAPSHOT to 4.1.5 2024-07-10 17:22:34 +00:00
sgibb
b30188e08a Adds back removed methods and fields as deprecated.
See gh-3313
2024-07-03 11:55:10 -04: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
Ryan Baxter
17c1b5b587 Upgrading antora 2024-06-25 09:54:24 -04:00
buildmaster
920b3a81ab Bumping versions 2024-06-01 12:09:58 +00:00
buildmaster
4159464c14 Bumping versions to 4.1.5-SNAPSHOT after release 2024-05-30 12:10:11 +00:00