diff --git a/docs/pom.xml b/docs/pom.xml
index 9ab2dd65..bfa45962 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -6,7 +6,7 @@
org.springframework.cloud
spring-cloud-gateway
- 2.2.2.BUILD-SNAPSHOT
+ 2.2.2.RELEASE
spring-cloud-gateway-docs
pom
diff --git a/docs/src/main/asciidoc/_configprops.adoc b/docs/src/main/asciidoc/_configprops.adoc
index 0c8ee8cc..67528dc3 100644
--- a/docs/src/main/asciidoc/_configprops.adoc
+++ b/docs/src/main/asciidoc/_configprops.adoc
@@ -10,6 +10,7 @@
|spring.cloud.gateway.discovery.locator.route-id-prefix | | The prefix for the routeId, defaults to discoveryClient.getClass().getSimpleName() + "_". Service Id will be appended to create the routeId.
|spring.cloud.gateway.discovery.locator.url-expression | 'lb://'+serviceId | SpEL expression that create the uri for each route, defaults to: 'lb://'+serviceId.
|spring.cloud.gateway.enabled | true | Enables gateway functionality.
+|spring.cloud.gateway.fail-on-route-definition-error | true | Option to fail on route definition errors, defaults to true. Otherwise, a warning is logged.
|spring.cloud.gateway.filter.remove-hop-by-hop.headers | |
|spring.cloud.gateway.filter.remove-hop-by-hop.order | |
|spring.cloud.gateway.filter.request-rate-limiter.deny-empty-key | true | Switch to deny requests if the Key Resolver returns an empty key, defaults to true.
@@ -27,6 +28,8 @@
|spring.cloud.gateway.globalcors.add-to-simple-url-handler-mapping | false | If global CORS config should be added to the URL handler.
|spring.cloud.gateway.globalcors.cors-configurations | |
|spring.cloud.gateway.httpclient.connect-timeout | | The connect timeout in millis, the default is 45s.
+|spring.cloud.gateway.httpclient.max-header-size | | The max response header size.
+|spring.cloud.gateway.httpclient.max-initial-line-length | | The max initial line length.
|spring.cloud.gateway.httpclient.pool.acquire-timeout | | Only for type FIXED, the maximum time in millis to wait for aquiring.
|spring.cloud.gateway.httpclient.pool.max-connections | | Only for type FIXED, the maximum number of connections before starting pending acquisition on existing ones.
|spring.cloud.gateway.httpclient.pool.max-idle-time | | Time in millis after which the channel will be closed. If NULL, there is no max idle time.
@@ -54,6 +57,7 @@
|spring.cloud.gateway.httpclient.ssl.trusted-x509-certificates | | Trusted certificates for verifying the remote endpoint's certificate.
|spring.cloud.gateway.httpclient.ssl.use-insecure-trust-manager | false | Installs the netty InsecureTrustManagerFactory. This is insecure and not suitable for production.
|spring.cloud.gateway.httpclient.websocket.max-frame-payload-length | | Max frame payload length.
+|spring.cloud.gateway.httpclient.websocket.proxy-ping | true | Proxy ping frames to downstream services, defaults to true.
|spring.cloud.gateway.httpclient.wiretap | false | Enables wiretap debugging for Netty HttpClient.
|spring.cloud.gateway.httpserver.wiretap | false | Enables wiretap debugging for Netty HttpServer.
|spring.cloud.gateway.loadbalancer.use404 | false |
@@ -64,6 +68,7 @@
|spring.cloud.gateway.redis-rate-limiter.include-headers | true | Whether or not to include headers containing rate limiter information, defaults to true.
|spring.cloud.gateway.redis-rate-limiter.remaining-header | X-RateLimit-Remaining | The name of the header that returns number of remaining requests during the current second.
|spring.cloud.gateway.redis-rate-limiter.replenish-rate-header | X-RateLimit-Replenish-Rate | The name of the header that returns the replenish rate configuration.
+|spring.cloud.gateway.redis-rate-limiter.requested-tokens-header | X-RateLimit-Requested-Tokens | The name of the header that returns the requested tokens configuration.
|spring.cloud.gateway.routes | | List of Routes.
|spring.cloud.gateway.set-status.original-status-header-name | | The name of the header which contains http code of the proxied request.
|spring.cloud.gateway.streaming-media-types | |
diff --git a/pom.xml b/pom.xml
index e5389081..fc03a794 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
org.springframework.cloud
spring-cloud-gateway
- 2.2.2.BUILD-SNAPSHOT
+ 2.2.2.RELEASE
pom
Spring Cloud Gateway
@@ -15,7 +15,7 @@
org.springframework.cloud
spring-cloud-build
- 2.2.3.BUILD-SNAPSHOT
+ 2.2.3.RELEASE
@@ -52,9 +52,9 @@
UTF-8
UTF-8
1.8
- 2.2.2.BUILD-SNAPSHOT
- 2.2.2.BUILD-SNAPSHOT
- 1.0.1.BUILD-SNAPSHOT
+ 2.2.2.RELEASE
+ 2.2.2.RELEASE
+ 1.0.2.RELEASE
0.6
1.0.1.RELEASE
diff --git a/spring-cloud-gateway-core/pom.xml b/spring-cloud-gateway-core/pom.xml
index f166e3e0..87c0b873 100644
--- a/spring-cloud-gateway-core/pom.xml
+++ b/spring-cloud-gateway-core/pom.xml
@@ -7,7 +7,7 @@
org.springframework.cloud
spring-cloud-gateway
- 2.2.2.BUILD-SNAPSHOT
+ 2.2.2.RELEASE
..
spring-cloud-gateway-core
diff --git a/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/filter/factory/rewrite/ModifyResponseBodyGatewayFilterFactoryTests.java b/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/filter/factory/rewrite/ModifyResponseBodyGatewayFilterFactoryTests.java
index 5c1d351f..f6e3e164 100644
--- a/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/filter/factory/rewrite/ModifyResponseBodyGatewayFilterFactoryTests.java
+++ b/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/filter/factory/rewrite/ModifyResponseBodyGatewayFilterFactoryTests.java
@@ -102,8 +102,8 @@ public class ModifyResponseBodyGatewayFilterFactoryTests extends BaseWebClientTe
return Mono.just(modifiedResponse);
}))
.uri(uri))
- .route("modify_response_java_test_to_large",
- r -> r.path("/").and().host("www.modifyresponsebodyjavatoolarge.org")
+ .route("modify_response_java_test_to_large", r -> r.path("/").and()
+ .host("www.modifyresponsebodyjavatoolarge.org")
.filters(f -> f.prefixPath("/httpbin").modifyResponseBody(
String.class, String.class,
(webExchange, originalResponse) -> {
diff --git a/spring-cloud-gateway-dependencies/pom.xml b/spring-cloud-gateway-dependencies/pom.xml
index 394c7088..03d3d2a1 100644
--- a/spring-cloud-gateway-dependencies/pom.xml
+++ b/spring-cloud-gateway-dependencies/pom.xml
@@ -6,12 +6,12 @@
spring-cloud-dependencies-parent
org.springframework.cloud
- 2.2.3.BUILD-SNAPSHOT
+ 2.2.3.RELEASE
spring-cloud-gateway-dependencies
- 2.2.2.BUILD-SNAPSHOT
+ 2.2.2.RELEASE
pom
spring-cloud-gateway-dependencies
diff --git a/spring-cloud-gateway-mvc/pom.xml b/spring-cloud-gateway-mvc/pom.xml
index fc9c1fb6..212ee179 100644
--- a/spring-cloud-gateway-mvc/pom.xml
+++ b/spring-cloud-gateway-mvc/pom.xml
@@ -11,7 +11,7 @@
org.springframework.cloud
spring-cloud-gateway
- 2.2.2.BUILD-SNAPSHOT
+ 2.2.2.RELEASE
..
diff --git a/spring-cloud-gateway-sample/pom.xml b/spring-cloud-gateway-sample/pom.xml
index bc70f1ee..a5d4d028 100644
--- a/spring-cloud-gateway-sample/pom.xml
+++ b/spring-cloud-gateway-sample/pom.xml
@@ -16,7 +16,7 @@
org.springframework.cloud
spring-cloud-gateway
- 2.2.2.BUILD-SNAPSHOT
+ 2.2.2.RELEASE
..
diff --git a/spring-cloud-gateway-webflux/pom.xml b/spring-cloud-gateway-webflux/pom.xml
index a38005e3..f264eef2 100644
--- a/spring-cloud-gateway-webflux/pom.xml
+++ b/spring-cloud-gateway-webflux/pom.xml
@@ -11,7 +11,7 @@
org.springframework.cloud
spring-cloud-gateway
- 2.2.2.BUILD-SNAPSHOT
+ 2.2.2.RELEASE
..
diff --git a/spring-cloud-starter-gateway/pom.xml b/spring-cloud-starter-gateway/pom.xml
index 9278fc0d..b2e53158 100644
--- a/spring-cloud-starter-gateway/pom.xml
+++ b/spring-cloud-starter-gateway/pom.xml
@@ -6,7 +6,7 @@
org.springframework.cloud
spring-cloud-gateway
- 2.2.2.BUILD-SNAPSHOT
+ 2.2.2.RELEASE
..
spring-cloud-starter-gateway