Commit Graph

244 Commits

Author SHA1 Message Date
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
spencergibb
afc83442ce Merge branch '3.0.x' 2021-11-01 14:37:42 -04:00
spencergibb
c414f58c7b Adds path predicate match to server web exchange attributes.
GatewayPathTagsProvider then uses that to provide metrics.

See gh-2419
2021-11-01 14:29:59 -04:00
Marta Medio
24c3add1f1 Add metric to include the path as a Gateway metric Tag
Fixes gh-2419
2021-11-01 14:29:40 -04:00
buildmaster
38b4977018 Bumping versions 2021-10-30 02:31:04 +00:00
Spencer Gibb
665d7df1e6 Adds Visitor pattern to visit each node of Predicate. (#2423)
This allows users to inspect the configuration of predicates and perform work on them.
2021-10-29 15:00:37 -04:00
spencergibb
5620be9fc5 Merge branch '3.0.x' 2021-10-28 16:02:39 -04:00
Fredrich Ombico
1c7c05e9bd Add metric to track gateway route definition count (#2421)
* Add metric to track gateway route definition count

* Clean up documentation
2021-10-28 16:02:00 -04:00
spencergibb
f2f25772b5 Merge branch '3.0.x' 2021-10-22 12:51:40 -04:00
Alberto C. Ríos
03867f4ae9 Adding simplified shortcut notation to Retry filter
Fixes gh-2414
2021-10-22 12:49:50 -04:00
buildmaster
51496ad785 Going back to snapshots 2021-10-20 02:47:54 +00:00
buildmaster
742ed94971 Update SNAPSHOT to 3.1.0-M3 2021-10-20 02:46:08 +00:00
Alberto C. Ríos
af09c72a9a Adding initial gRPC support (#2388)
Passing TE trailers header through

Adding grpc-status as response trailer to ensure the right end of stream

Fixes gh-40
2021-10-13 11:30:12 -04:00
buildmaster
da10105147 Bumping versions 2021-10-08 02:30:53 +00:00
spencergibb
2673993436 Merge branch '3.0.x' 2021-10-06 23:27:36 -04:00
spencergibb
4ac1fcb548 Do not write headers when value is null.
Fixes gh-2378
2021-10-06 23:26:37 -04:00
spencergibb
0037ef60f9 Updates mappings to pass tests 2021-10-06 23:20:12 -04:00
Bruno Silva
19561a97d1 Fix ConcurrentModificationException (#2299)
* fix: concurrent modification using a copy

* add: tests to save and delete

* refactor: format

* refactor: rename tests

* refactor: verifyComplete

Fixes gh-2120
2021-10-06 20:13:04 -04:00
spencergibb
ed1f203fce Merge branch 'refactor/polish-request-mapping-annotations' of git://github.com/jkschneider/spring-cloud-gateway into jkschneider-refactor/polish-request-mapping-annotations 2021-10-06 20:08:36 -04:00
spencergibb
2950ce703f Merge branch '3.0.x' 2021-10-06 19:41:08 -04:00
buildmaster
a264598c78 Going back to snapshots 2021-10-01 17:25:28 +00:00
buildmaster
348de38286 Update SNAPSHOT to 3.1.0-M2 2021-10-01 17:23:15 +00:00
buildmaster
3948aad945 Going back to snapshots 2021-09-22 09:08:40 +00:00
buildmaster
2978444168 Update SNAPSHOT to 3.0.4 2021-09-22 09:06:55 +00:00
Spencer Gibb
9d178e2217 HTTP2 Support (#2363)
Adds HttpProtocol.H2 if server.http2.enabled=true.

Deprecates defaultConfigurationType as it is no longer used.

Updates to use new HttpClient ProtocolSslContextSpec for configuring ssl.

Fixes gh-7
Fixes gh-2206
2021-09-21 18:17:31 -04:00
buildmaster
6a98b73bfb Bumping versions to 3.0.5-SNAPSHOT after release 2021-09-21 15:08:41 +00:00
buildmaster
505fe64206 Going back to snapshots 2021-09-21 15:08:41 +00:00
buildmaster
c8a1332465 Update SNAPSHOT to 3.0.4 2021-09-21 15:06:36 +00:00
Olga Maciaszek-Sharma
5e746e4f3d 3.0.x jdk17 (#2372) 2021-09-20 14:50:54 +02:00
buildmaster
e553925df2 Bumping versions 2021-09-18 02:29:34 +00:00