spencergibb
4dba8bf1e4
Updates to instanceof with variable
2023-01-24 15:21:57 -05:00
spencergibb
a2e815b30b
Merge branch '3.1.x'
2023-01-24 15:14:01 -05:00
spencergibb
22536f2702
Formatting for 3.1.x
2023-01-24 15:13:38 -05:00
wen-ys
2d67158c20
Fixes memory lean with cached body
...
Cached DataBuffer body in cacheRequestBodyAndRequest method is not released issue. because reference is missed because CACHED_REQUEST_BODY_ATTR key is overwritten to Java object.
Fixes gh-2842
2023-01-24 15:03:06 -05:00
spencergibb
50cec9c312
Removes unused import
2023-01-23 17:13:11 -05:00
spencergibb
7e4f43bbff
Removes unused import
2023-01-23 17:12:37 -05:00
Olga Maciaszek-Sharma
b9117f71c9
Decrease log level. Fixes gh-2778.
2023-01-20 13:29:56 +01:00
spencergibb
9d60f16586
Merge branch '3.1.x'
2023-01-19 14:11:51 -05:00
spencergibb
6600555881
Clarifies scope of GlobalFilter to matched routes.
...
Fixes gh-2784
2023-01-19 14:11:31 -05:00
spencergibb
670687c838
Merge branch '3.1.x'
2023-01-19 13:46:10 -05:00
spencergibb
baad377db6
Removes jetbrains imports
...
Fixes gh-2793
2023-01-19 13:45:49 -05:00
spencergibb
e94887b97b
Update default connectTimeout to 30s according to reactor netty
...
Fixes gh-2793
2023-01-19 13:43:46 -05:00
spencergibb
59b37f0414
Removes deprecated fields/methods.
...
This was missed in 4.0.0 and is causing bugs.
Fixes gh-2816
2023-01-19 12:31:43 -05:00
spencergibb
25abaca600
Injects CacheManager using @Qualifier.
...
If the user has a custom CacheManager for other uses, this avoids an injection error due to multiple CacheManager beans defined.
Fixes gh-2841
2023-01-19 12:20:51 -05:00
Olga Maciaszek-Sharma
7ed4623809
Add DiscoveryClientRouteDefinitionLocator.DelegatingServiceInstance hints. ( #2844 )
2023-01-19 11:36:34 +01:00
Simone Gerevini
5ca26cdebc
Wrap CacheKeyGenerator MessageDigest in ThreadLocal ( #2829 )
...
Co-authored-by: Simone Gerevini <sgerevini@atrify.com >
2023-01-18 14:51:32 -05:00
spencergibb
d01b187923
fixes import order
2023-01-17 11:39:03 -05:00
Tomasz Rup
d79f5742da
Add @ConditionalOnMissing bean to FilteringWebHandler ( #2308 )
...
Co-authored-by: Tomasz Rup <tomasz.rup@comarch.com >
2023-01-17 11:35:10 -05:00
spencergibb
9913fd980d
Merge branch '3.1.x'
2023-01-17 11:14:28 -05:00
Cristian Ruiz Bonilla
0e23b9bc2f
Throw an error when replenishRate > burstCapacity
...
Fixes gh-2453
2023-01-17 11:03:10 -05:00
ruansheng
49c0b3a32c
Fixes redirect dsl accidental recursion.
...
Fixes gh-2798
2023-01-17 10:35:04 -05:00
ruansheng
65d84afcb8
Fixes redirect dsl accidental recursion.
...
Fixes gh-2798
2023-01-17 10:33:36 -05:00
buildmaster
52dbfeaa5a
Bumping versions
2023-01-13 02:11:10 +00:00
Poison
2b19fb0b97
Remove unnecessary reverse ( #2664 )
2023-01-12 13:41:57 -05:00
Poison
2b8bf25cb0
Fix typo ( #2654 )
2023-01-12 13:36:13 -05:00
HashJang
2b7f3ef255
add trace log for websocket packet tracing ( #2638 )
...
Co-authored-by: zhanghaoxin-at-826767166263 <COk6iTbDdOqj/yq53u9n9vPTy+3pmZNcm4mKOhImudI=>
2023-01-12 13:35:33 -05:00
spencergibb
a624ba656d
Merge branch '3.1.x'
2023-01-12 13:27:37 -05:00
spencergibb
ec76763404
formattingˆ
2023-01-12 13:26:40 -05:00
zhenqiangyi
ee5ad6f462
Changes to use ThreadLocalRandom
...
Usually, multiple threads accessing the same random object will have some performance problems, so we can use ThreadLocalRandom by default
Fixes gh-2565
2023-01-12 13:20:26 -05:00
spencergibb
51a822eb92
removes comments
2023-01-12 13:15:14 -05:00
Tommas Yuan
2c90b25aba
rename test case name for issue 2541
2023-01-12 13:15:13 -05:00
spencergibb
520532b614
removes comments
2023-01-12 13:14:43 -05:00
Tommas Yuan
90e2d31537
rename test case name for issue 2541
2023-01-12 13:13:36 -05:00
jizhuozhi
98b6ffda32
Add tests for request_rate_limiter.lua
...
Fixes gh-2532
2023-01-12 12:16:22 -05:00
spencergibb
7c3729a84c
Merge branch '3.1.x'
2023-01-12 11:51:03 -05:00
lzhpo
5b43c6579f
1. Replace keys with scan when get routeDefinitions.
...
2. Fix null pointer exception when filters are null.
2023-01-12 11:50:37 -05:00
YunWZ
3fa21ad3ac
Makes AddResponseHeaderGatewayFilterFactory a 'post' filter.
...
Fixes gh-2393
Fixes gh-2431
2023-01-12 11:38:04 -05:00
spencergibb
c5add134ca
Merge branch '3.1.x'
2023-01-12 11:05:54 -05:00
Henning Poettker
fb2b1c1784
ConditionalOnMissingBean for ReactiveOAuth2AuthorizedClientManager
2023-01-12 10:57:29 -05:00
spencergibb
bee680d388
formattingˆ
2023-01-11 16:30:08 -05:00
spencergibb
f8df845c61
Migrates to assertj in test
2023-01-11 16:29:19 -05:00
spencergibb
cb235831d6
Merge branch '3.1.x'
2023-01-11 16:27:46 -05:00
spencergibb
0fe10b119b
Migrates to assertj in test
2023-01-11 16:20:13 -05:00
wen-ys
0280f96d19
Don't cache body twice.
...
If "ServerWebExchangeUtils.cacheRequestBodyAndRequest" executed twice, first DataBuffer reference is missed without release.
Fixes gh-2838
2023-01-11 16:17:01 -05:00
Junho, Kim
e007e6fa30
Enable kotlin route DSL ( #2825 )
...
* Add kotlin-maven-plugin to server module
* Add reactor-kotlin-extensions dependency
* Enable RouteDslTests.kt
* Enable kotlin compile and test case of kotlin route
2023-01-11 14:51:14 -05:00
ruansheng
a5ea6ca46b
Fix caffeine class conditional ( #2807 )
2022-12-14 10:15:31 -05:00
spencergibb
9a5e942d8b
Polish "switch junit 4 tests to junit 5"
...
See gh-2365
2022-11-30 14:38:52 -05:00
Krishna
c26a7035df
Fixes gh-2365 switch junit 4 tests to junit 5 ( #2794 )
...
Removed most of Junit 4 imports and converted to Junit 5
ModifiedClasspathRunner needs to be modified in spring-cloud-test-support
Fixes gh-2365
2022-11-30 14:38:30 -05:00
spencergibb
f2d7d58445
Merge branch '3.1.x'
2022-11-29 12:52:46 -05:00
Marta Medio
ab7f79bd08
Avoid ClassCastException when using ServerHttpResponseDecorator
2022-11-29 12:46:00 -05:00