Commit Graph

545 Commits

Author SHA1 Message Date
PeterMue
8a9842103f fixes gh-3774
Configure CORS after refresh routes completed on RefreshRoutesResultEvent

Signed-off-by: PeterMue <3819198+PeterMue@users.noreply.github.com>
2025-05-14 17:01:00 +02:00
Ryan Baxter
a4a4002a5c Merge pull request #3711 from qnnn/fix-generateId
ensure generateId executes on the scheduler thread specified by publishOn
2025-05-13 15:39:37 -04:00
raccoonback
24585036ce Refactored the filter that removes fields from JSON response bodies factory
Signed-off-by: raccoonback <kosb15@naver.com>
2025-05-13 08:53:45 +09:00
spring-builds
2ebd776f1b Bumping versions 2025-04-24 13:27:51 +00:00
qnnn
03e99ad618 add unit test testConnectTimeoutConfigurationReloadWorks.
Signed-off-by: qnnn <65326092+qnnn@users.noreply.github.com>
2025-04-23 13:55:19 +08:00
qnnn
af52387538 Support for reloading httpClient connectTimeout Configuration
Signed-off-by: Nan Chiu <1543393961@qq.com>
Signed-off-by: qnnn <65326092+qnnn@users.noreply.github.com>
2025-04-23 13:55:19 +08:00
Ryan Baxter
329143c28e User Assert4J 2025-04-11 17:18:04 -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
2175fc1c8e Bumping versions 2025-03-18 13:26:51 +00:00
jiangyuan
0f3112077d update unit test
Signed-off-by: jiangyuan <joe469391363@gmail.com>
2025-03-18 15:46:34 +08: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
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
Ryan Baxter
86dfdfd405 Merge branch '4.1.x' into pr/3720 2025-03-14 10:48:55 -04:00
Ryan Baxter
51aa244060 Merge pull request #3598 from raccoonback/prevent-duplicated-encoding-request-parameters-filter
Fix: prevent duplicated encoding request parameters filter
2025-03-14 10:46:22 -04:00
Ryan Baxter
12ace1c0fc Merge pull request #3611 from raccoonback/dispose-connection-when-cancelled
Suggests to dispose connection when cancelled In NettyWriteResponseFilter
2025-03-14 10:44:49 -04:00
Ryan Baxter
b158666c4e Merge branch '4.1.x' into pr/3598 2025-03-14 09:14:09 -04:00
Abel Salgado Romero
470068bc0b Add enum values to JavaDocs to show in docs
Signed-off-by: Abel Salgado Romero <abel.salgado@broadcom.com>
2025-03-14 14:11:24 +01:00
Andrei
12d48d415d Fix keyStore bug in GatewayAutoConfiguration
Fixes  java.security.KeyStoreException: Uninitialized keystore
Per JDK documentation keystore should be initialized before use.

Signed-off-by: Andrei <skydreamerr@gmail.com>
2025-03-13 22:39:38 -07:00
qnnn
fcba3da5d3 Enable body caching in CircuitBreakerFilterFactory.
Signed-off-by: qnnn <65326092+qnnn@users.noreply.github.com>
2025-03-14 13:32:15 +08:00
raccoonback
3ecb4b62db dispose the connection regardless of the channel state
Signed-off-by: raccoonback <kosb15@naver.com>
2025-03-14 07:55:39 +09:00
raccoonback
2f73ed234a fix typo
Signed-off-by: raccoonback <kosb15@naver.com>
2025-03-14 07:55:39 +09:00
raccoonback
c62f2b4459 Remove unnecessary public modifiers from test methods
Signed-off-by: raccoonback <kosb15@naver.com>
2025-03-14 07:48:21 +09:00
raccoonback
49b6d0a0a3 Prevent duplicate encoding issue in HTTP request parameter remove filter
Signed-off-by: raccoonback <kosb15@naver.com>
2025-03-14 07:48:21 +09:00
raccoonback
6415f1204f Prevent duplicate encoding issue in HTTP request parameter rewrite filter
Signed-off-by: raccoonback <kosb15@naver.com>
2025-03-14 07:48:21 +09:00
jiangyuan
8b5bc32456 add unit-test
Signed-off-by: jiangyuan <joe469391363@gmail.com>
2025-03-13 12:32:29 +08:00
jiangyuan
9eb9165927 add docs and unit-test
Signed-off-by: jiangyuan <joe469391363@gmail.com>
2025-03-13 11:04:10 +08:00
jiangyuan
350c9cda6d RetryGatewayFilterFactory RetryConfig support Jitter & Timeout
Signed-off-by: jiangyuan <joe469391363@gmail.com>
2025-03-13 11:04:10 +08:00
Ryan Baxter
131123ca17 Disable test that fails on GitHub actions 2025-03-12 20:01:22 -04:00
spencergibb
dec24e02b9 Limits CustomBlockHoundIntegrationTest to java 17 2024-12-13 14:35:39 -05:00
spencergibb
3419b41caa Re-enables CustomBlockHoundIntegrationTest 2024-12-13 12:39:12 -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
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
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
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
Abel Salgado Romero
fbbc8a6107 Synchronize cache update (#3408)
Fixes gh-3407
2024-05-29 12:02:05 -04:00