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
2d266a540e
Adds non-duplicate/non-sensitive headers from original request.
2021-11-01 20:15:09 -04:00
Dennis Menge
894402aab3
Allows to override default set of sensitive headers in WebFlux ProxyExchange
...
Fixes gh-1800
Fixes gh-1974
2021-11-01 15:53:02 -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
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
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
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
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
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
Alberto C. Ríos
03867f4ae9
Adding simplified shortcut notation to Retry filter
...
Fixes gh-2414
2021-10-22 12:49:50 -04:00
spencergibb
4ac1fcb548
Do not write headers when value is null.
...
Fixes gh-2378
2021-10-06 23:26:37 -04:00
spencergibb
fd3a8e0cf1
Updates to correct parameter name.
...
Fixes gh-2381
2021-10-06 21:35:18 -04:00
spencergibb
ea2a70db95
Removes non-existent module from dependencies.
...
Fixes gh-2318
2021-10-06 20:28:23 -04:00
spencergibb
ac89ef4f4c
Updates metrics prefix
...
Fixes gh-2273
2021-10-06 19:38:28 -04:00
buildmaster
fc8b824baa
Bumping versions to 3.0.5-SNAPSHOT after release
2021-09-22 09:08:40 +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
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
spencergibb
c195059c3d
formatting
2021-09-10 13:35:34 -04:00
Ignacio Lozano
f6bfd6e474
Enrich error response for invalid filter/predicate requests in actuator
...
In the previous implementation, server responds 400 Bad Request when no existing predicate or filter matches with the specified in the request (See `GatewayControllerEndpointTests.testPostRouteWithNotExistingFilter` & `GatewayControllerEndpointTests.testPostRouteWithNotExistingPredicate`).
This change replaces the filter by an exception that can take the advantage of the default `ExceptionHandler` including a body with more details specified by the server. In order to get the message that helps the client to diagnose the problem, the property `server.error.include-message=always` is required to be configured.
Example:
`POST /actuator/gateway/routes/invalid-route-test` request
Response
```
HTTP 400 Bad Request
Payload
{
"timestamp": "2021-07-27T08:55:35.596+00:00",
"path": "/actuator/gateway/routes/invalid-route-test",
"status": 400,
"error": "Bad Request",
"message": "Invalid FilterDefinition: [InvalidFilter]",
"requestId": "e5551c86-6, L:/0:0:0:0:0:0:0:1:8080 - R:/0:0:0:0:0:0:0:1:50437"
}
```
Fixes gh-2107
Fixes gh-2311
2021-09-10 13:34:16 -04:00
Olga MaciaszekSharma
2b8c6e4d5a
Merge remote-tracking branch 'origin/2.2.x'
...
# Conflicts:
# spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/SecureHeadersGatewayFilterFactory.java
# spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/SecureHeadersGatewayFilterFactoryTests.java
# spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/SecureHeadersGatewayFilterFactoryUnitTests.java
2021-07-02 19:22:54 +02:00
Olga MaciaszekSharma
47595a7e3a
Reformat.
2021-07-02 19:05:35 +02:00
hhwidera
8f8bc9e58a
fix problem with missing '[' and ']' around IPv6 address. See https://tools.ietf.org/html/rfc7239
2021-07-02 19:03:19 +02:00
Olga MaciaszekSharma
c87602f09e
Revert "Fix 2214 hoxton ( #2285 )"
...
This reverts commit 907119dfa3 .
2021-07-02 19:03:05 +02:00
Olga Maciaszek-Sharma
907119dfa3
Fix 2214 hoxton ( #2285 )
2021-07-02 19:00:46 +02:00
buildmaster
c7eed73715
Bumping versions
2021-07-02 02:30:45 +00:00
Ryan Baxter
f4fbebcb1a
Merge branch '2.2.x' of github.com:spring-cloud/spring-cloud-gateway into 2.2.x
2021-07-01 17:36:12 -04:00
Ryan Baxter
189c0721c2
Cherry pick ad9e361
2021-07-01 17:36:04 -04:00
spencergibb
d9e5838077
Merge branch '2.2.x'
2021-07-01 17:26:13 -04:00
Bruno Silva
9383b8e2bf
Adds a property to disable gateway redis integration.
...
Fixes gh-2052
2021-07-01 17:24:10 -04:00
Ryan Baxter
ad9e361eaf
Merge pull request #2234 from alek-sys/main
...
Fix secure headers duplication
2021-07-01 15:38:31 -04:00
buildmaster
79cf80be3e
Bumping versions
2021-06-02 02:28:55 +00:00
Ryan Baxter
393515c742
Merge pull request #2082 from dlsrb6342/issue-2047
...
Add resumeWithoutException to CircuitBreakerFilter
2021-06-01 17:05:23 -04:00
buildmaster
67f7f01a7b
Bumping versions
2021-05-28 02:29:13 +00:00
buildmaster
ecc0c20123
Going back to snapshots
2021-05-27 21:36:55 +00:00
buildmaster
61c18765ea
Update SNAPSHOT to 3.0.3
2021-05-27 21:35:12 +00:00
spencergibb
68d3d69b11
updates test to ignore localhost part of error message
2021-05-27 14:40:14 -04:00
buildmaster
47505e9d29
Bumping versions to 3.0.4-SNAPSHOT after release
2021-05-27 08:44:24 +00:00
buildmaster
58b6e901cc
Going back to snapshots
2021-05-27 08:44:24 +00:00
buildmaster
a86edf3f1c
Update SNAPSHOT to 3.0.3
2021-05-27 08:42:32 +00:00
Marcin Grzejszczak
ecc5bea88a
Updated blockhound to 1.0.6.RELEASE
2021-05-27 10:30:58 +02:00