Ryan Baxter
91b465a6b0
Remove gateway predicate path attribute in CB filter.
2023-04-05 10:28:41 -04:00
spencergibb
4968a04710
Updated to String.format()
2023-03-27 21:00:58 -04:00
spencergibb
6e06b9661e
Formatting
2023-03-27 21:00:33 -04:00
Ignacio Lozano
a4182c04c8
Test invalid URI raises early error before /refresh
...
When an invalid URI is configured in a routeDefinition, the endpoint for saving a route returns 201 Created response. However, the invalid route finally fails after calling `/refresh` endpoint.
If the developer configures more than one route, and the refresh fail because one route, all the routes are not persisted, leaving an inconsistent state
Fixes gh-2881
2023-03-27 20:57:20 -04:00
spencergibb
5d8c2cf898
Polish "Add ServerWebExchange a new attribute for PathContainer to avoid repeating parsePath in PathRoutePredicateFactory."
...
See gh-2884
2023-03-15 16:22:03 -04:00
liruihao
18e116c1c6
Adds attribute for PathContainer to avoid repeating parsePath in PathRoutePredicateFactory
...
Fixes gh-2884
2023-03-15 16:21:49 -04:00
spencergibb
9575a3496e
formatting
2023-03-15 15:51:41 -04:00
koo.taejin
b31af9eef0
Remove unnecessary exception creation when Creating a CachedBodyOutputMessage.
...
Fixes gh-2888
2023-03-15 15:51:00 -04:00
spencergibb
ca66cb2400
formattingˆ
2023-03-03 16:47:55 -05:00
daihuabin
06574d689a
Adapt ProxyWebSocketHandler CloseStatus
...
Fixes gh-2451
Fixes gh-2702
2023-03-03 16:46:09 -05:00
spencergibb
e7610612db
Tokenize x-forwarded-for regardless of whitespace.
...
Fixes gh-2479
2023-03-03 16:14:54 -05:00
buildmaster
713e351501
Bumping versions to 3.1.7-SNAPSHOT after release
2023-02-24 00:10:54 +00:00
buildmaster
dd0aa46559
Going back to snapshots
2023-02-24 00:10:54 +00:00
buildmaster
2b6deaa611
Update SNAPSHOT to 3.1.6
2023-02-24 00:08:51 +00:00
spencergibb
671b4165c3
Polish gh-2872 Fixes for gateway routes on management port.
...
Updates the test to fail if NPE check isn't done.
2023-02-23 13:40:52 -05:00
spencergibb
a0e32e9d7a
Updates to use SocketUtilsˆ
2023-02-23 13:18:14 -05:00
Ignacio Lozano
539f0a7d1e
Fix NPE when autoconfigured WebTestClient is used
...
When `management.server.port` != `server.port` and test is using the autoconfigured WebTestClient, a NPE is raised by `RoutePredicateHandlerMapping`
[related gh-2870]
Fixes gh-2872
2023-02-23 13:15:47 -05:00
spencergibb
a2ef4895a4
Fixes for gateway routes on management port.
...
Uses the LocalAddress to check against management port because request.getURI().getPort() can be set by the host header "myhost:8888", for example.
Fixes gh-2870
2023-02-21 11:18:31 -05:00
spencergibb
180a052c76
Moves disabled if github actions to methods
2023-02-07 12:11:35 -05:00
spencergibb
69f75e5687
Disable test on github actions
2023-01-31 15:58:23 -05:00
buildmaster
88a0e4ee0b
Bumping versions
2023-01-27 21:08:01 +00:00
buildmaster
6ff9979321
Bumping versions to 3.1.6-SNAPSHOT after release
2023-01-27 15:15:17 +00:00
buildmaster
882cb0c3d6
Going back to snapshots
2023-01-27 15:15:16 +00:00
buildmaster
25d93c1be3
Update SNAPSHOT to 3.1.5
2023-01-27 15:13:13 +00: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
7e4f43bbff
Removes unused import
2023-01-23 17:12:37 -05:00
spencergibb
6600555881
Clarifies scope of GlobalFilter to matched routes.
...
Fixes gh-2784
2023-01-19 14:11:31 -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
Cristian Ruiz Bonilla
0e23b9bc2f
Throw an error when replenishRate > burstCapacity
...
Fixes gh-2453
2023-01-17 11:03:10 -05:00
ruansheng
65d84afcb8
Fixes redirect dsl accidental recursion.
...
Fixes gh-2798
2023-01-17 10:33:36 -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
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
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
Henning Poettker
fb2b1c1784
ConditionalOnMissingBean for ReactiveOAuth2AuthorizedClientManager
2023-01-12 10:57:29 -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
Marcin Grzejszczak
548442dc07
Fix the Kotlin Maven plugin ( #2815 )
2022-12-14 13:09:57 +01:00
Marta Medio
ab7f79bd08
Avoid ClassCastException when using ServerHttpResponseDecorator
2022-11-29 12:46:00 -05:00
yanwenliang
53cc68fbf5
Fix NettyNettyWriteResponseFilter memory leak
2022-11-28 17:33:51 -05:00
buildmaster
7873f854b5
Going back to snapshots
2022-09-06 20:40:25 +00:00
buildmaster
1ae40a4431
Update SNAPSHOT to 3.1.4
2022-09-06 20:38:38 +00:00
buildmaster
21a6b68349
Bumping versions to 3.1.5-SNAPSHOT after release
2022-09-03 00:05:14 +00:00
buildmaster
36edcd5929
Going back to snapshots
2022-09-03 00:05:14 +00:00
buildmaster
3791cb593c
Update SNAPSHOT to 3.1.4
2022-09-03 00:02:54 +00:00
spencergibb
d5e95a6aab
Changes @ConditionalOnClass to use name rather than value
2022-08-31 11:59:57 -04:00
spencergibb
0b58d77102
Polish gh-2699 Updates HttpClientFactory for backwards compatibility
...
If a user has extended HttpClientFactory and doesn't use the new SslConfigurer, the original protected methods need to be there. Those methods are marked as deprecated.
2022-08-31 11:50:36 -04:00