Commit Graph

273 Commits

Author SHA1 Message Date
buildmaster
83ebee5bd7 Bumping versions 2022-04-26 21:11:49 +00:00
buildmaster
013c0e2b60 Bumping versions to 3.1.3-SNAPSHOT after release 2022-04-26 16:16:54 +00:00
buildmaster
8c461a3786 Going back to snapshots 2022-04-26 16:16:54 +00:00
buildmaster
9219ffe8ee Update SNAPSHOT to 3.1.2 2022-04-26 16:14:52 +00:00
Olga Maciaszek-Sharma
5aa97ffdce Adjust to changes in commons. 2022-03-29 17:03:03 +02:00
spencergibb
3e9154e2cc formatting 2022-03-21 12:48:16 -04:00
spencergibb
ec07a67930 Fixes RequestHeaderSizeGatewayFilterFactory to check individual headers.
Previously, it checked the aggregate length of all headers.

Fixes gh-2567
2022-03-21 12:46:19 -04:00
Marta Medio
ed88edd3a8 Updates RequestHeaderSize existing filter to also take into account key size
Fixes gh-2536
2022-03-21 12:46:10 -04:00
tommas
0dd2a47d8d Merges upstream headers with that defined by gateway server, not overwrite them.
Fixes gh-2541
Fixes gh-2547
2022-03-18 17:30:48 -04:00
buildmaster
d5ed2a3c64 Bumping versions to 3.1.2-SNAPSHOT after release 2022-02-17 17:10:07 +00:00
buildmaster
d2652f9e51 Going back to snapshots 2022-02-17 17:10:06 +00:00
buildmaster
d66ab832d1 Update SNAPSHOT to 3.1.1 2022-02-17 17:08:10 +00:00
spencergibb
849c0d6a64 Separates ShortcutConfigurableNonRestrictiveTests 2022-02-16 14:28:08 -05:00
spencergibb
818fdb653e Merge branch 'spel-context-fix' into 3.1.x 2022-02-16 13:28:48 -05:00
spencergibb
7162b59dcd Merge branch 'configure-httpclientfactory' into 3.1.x 2022-02-16 13:28:37 -05:00
Jelle Druyts
8b685b18ca Add route predicate for "X-Forwarded-For" header
Fixes gh-783
Fixes gh-2384
2022-02-15 14:53:36 -05:00
spencergibb
c76b775370 Adds spring.cloud.gateway.restrictive-property-accessor.enabled
To disable the restrictive accessor, set spring.cloud.gateway.restrictive-property-accessor.enabled=false.
2022-02-14 18:42:21 -05:00
spencergibb
f8db47ee62 Updates testcontainers to latest versions
Fixes gh-2521
2022-02-14 17:15:00 -05:00
spencergibb
e47e5fc20d Adds path predicate regex test 2022-02-09 11:57:39 -05:00
spencergibb
d8c255eddf Updates ShortcutConfigurable to use custom EvaluationContext.
It uses a SimpleEvaluationContext as a delegate that adds a BeanResolver for bean references in SpEL.
2022-02-08 14:30:48 -05:00
spencergibb
b2df97d0c4 Moves configuration of HttpClient.
Moves configuration of HttpClient out of GatewayAutoConfiguration and into HttpClientFactory. This allows customization by the user and allows tests to see what has been configured on the HttpClient.

When HTTP2 is enabled, the insecure trustmanager factory option must be set explicitly.
2022-02-03 12:31:58 -05:00
spencergibb
03b9d8479d Merge branch '3.0.x' 2021-12-21 12:21:27 -05:00
spencergibb
26cff62bf4 Allow RoutePredicateHandlerMapping customization
Allow bean overriding and add a property to set the order.

spring.cloud.gateway.handler-mapping.order=1

Fixes gh-2469
2021-12-21 12:19:37 -05:00
buildmaster
70fac23df5 Bumping versions to 3.0.7-SNAPSHOT after release 2021-12-15 17:12:24 +00:00
buildmaster
1cce97d8d1 Going back to snapshots 2021-12-15 17:12:23 +00:00
buildmaster
da0f9014bc Update SNAPSHOT to 3.0.6 2021-12-15 17:10:38 +00:00
buildmaster
adf4f9d842 Bumping versions to 3.1.1-SNAPSHOT after release 2021-12-01 19:01:10 +00:00
buildmaster
0e43efeb2c Going back to snapshots 2021-12-01 19:01:10 +00:00
buildmaster
e5471d91f8 Update SNAPSHOT to 3.1.0 2021-12-01 18:58:19 +00:00
Robert McNees
e7e199dc0c New profile to skip Docker tests 2021-11-16 13:23:08 -05:00
Robert McNees
9efafe8d9c Disable per route response timeout with negative number (#2420)
* Disable per route response timeout with negative number

* Formatting
2021-11-08 16:37:00 -05:00
spencergibb
514c4d7c40 Merge branch '3.0.x' 2021-11-08 16:35:08 -05:00
Olga Maciaszek-Sharma
3308a493ea Use LoadBalancer per-client properties. (#2426) 2021-11-08 16:31:05 -05:00
WEIZIBIN
ad22f98125 Use redis time rather than client time.
That way consisten time is used across a cluster of gateways.

Fixes gh-2411
Fixes gh-2412
2021-11-05 17:25:47 -04:00
spencergibb
1f98759477 fixes test names 2021-11-04 15:34:29 -04:00
buildmaster
e9e0e62779 Bumping versions to 3.0.6-SNAPSHOT after release 2021-11-03 20:22:22 +00:00
buildmaster
fb37423ba7 Going back to snapshots 2021-11-03 20:22:22 +00:00
buildmaster
3e68ef129b Update SNAPSHOT to 3.0.5 2021-11-03 20:18:47 +00:00
spencergibb
3ebb6aa5c8 If Transfer-Encoding header is "chunked", then normalize.
This means removing the content-length header acccoring to https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.3

Fixes gh-2425
2021-11-02 13:04:14 -04:00
spencergibb
d944505616 Merge branch '3.0.x' 2021-11-01 15:47:27 -04:00
Violeta Georgieva
b528c9dfc7 Expose a configuration for HttpClient channel pools metrics
Fixes gh-2241
2021-11-01 15:45:37 -04:00
spencergibb
72d4ae09b2 Merge branch '3.0.x' 2021-11-01 15:40:25 -04:00
spencergibb
0be612a572 formatting 2021-11-01 15:40:08 -04:00
spencergibb
48accb783f Updates return value for Websocket return.
From @rstoyanchev:
I think serverClose and proxyClose don't need to be included in, and probably should be separated from the zip because they are sort of competing with the Mono<Void> from each WebSocketHandler, and zip will cancel the other publishers after one of them completes.
2021-11-01 15:39:34 -04:00
Dmitry Kostyukov
1c54a5abdf Fix proxying websocket close status
Fixes gh-1057
2021-11-01 15:38:43 -04:00
spencergibb
cee9dee75f Merge branch '3.0.x' 2021-11-01 15:32:10 -04:00
Guillaume Lemont
b3da1dc819 Changes ConfigurationService inner classes to static
Allows mocking of those classes.

Fixes gh-1797
2021-11-01 15:31:08 -04:00
spencergibb
7ba4af9d5a Merge branch '3.0.x' 2021-11-01 15:28:57 -04:00
spencergibb
3217b05ad7 polish gh-2193 2021-11-01 15:27:03 -04:00
Melnichuk Stas
68dcc35511 Fixes issues with netty assumptions
Fixes issues with concrete interface realization assumptions in ServerWebExchangeUtils (DataBuffer -> NettyDataBuffer and DataBufferFactory -> NettyDataBufferFactory)

Fixes gh-2193
2021-11-01 15:16:46 -04:00