buildmaster
eb6a5dab37
Bumping versions to 3.0.9-SNAPSHOT after release
2022-06-29 22:28:08 +00:00
buildmaster
ac469d316d
Going back to snapshots
2022-06-29 22:28:08 +00:00
buildmaster
b0c4246d57
Update SNAPSHOT to 3.0.8
2022-06-29 22:26:20 +00:00
Alberto C. Ríos
7476673326
Updating log level when invalid route ( #2616 )
...
At the moment we are logging as DEBUG the fact that we are ignoring a new route and that the gateway will not have the expected status.
Even if the client will get the BAD_REQUEST, we should log the fact that we are ignoring this new route.
2022-06-28 17:41:31 -04:00
buildmaster
6b0bafdd42
Bumping versions
2022-02-24 15:55:30 +00:00
buildmaster
88a6b23248
Bumping versions to 3.0.8-SNAPSHOT after release
2022-02-17 21:56:57 +00:00
buildmaster
60849189b6
Going back to snapshots
2022-02-17 21:56:57 +00:00
buildmaster
2b4b39598d
Update SNAPSHOT to 3.0.7
2022-02-17 21:55:02 +00:00
spencergibb
2283faa393
Separates ShortcutConfigurableNonRestrictiveTests
2022-02-16 14:28:47 -05:00
spencergibb
1b868d2159
Adds spring.cloud.gateway.restrictive-property-accessor.enabled
...
To disable the restrictive accessor, set spring.cloud.gateway.restrictive-property-accessor.enabled=false.
2022-02-16 13:26:10 -05:00
spencergibb
bec3dc0e68
Updates ShortcutConfigurable to use custom EvaluationContext.
...
It uses a SimpleEvaluationContext as a delegate that adds a BeanResolver for bean references in SpEL.
2022-02-16 13:25:41 -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
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
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
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