Browse Source

fixes reactive load balancer client filter property

pull/1961/head
spencergibb 4 years ago
parent
commit
800d68bfa2
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 10
      spring-cloud-gateway-server/src/main/resources/META-INF/additional-spring-configuration-metadata.json
  2. 3
      spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/config/conditional/DisableBuiltInGlobalFiltersTests.java

10
spring-cloud-gateway-server/src/main/resources/META-INF/additional-spring-configuration-metadata.json

@ -247,9 +247,9 @@ @@ -247,9 +247,9 @@
"defaultValue": "true"
},
{
"name": "spring.cloud.gateway.global-filter.reactive-load-balancer.enabled",
"name": "spring.cloud.gateway.global-filter.reactive-load-balancer-client.enabled",
"type": "java.lang.Boolean",
"description": "Enables the reactive-loadbalancer global filter.",
"description": "Enables the reactive-load-balancer-client global filter.",
"defaultValue": "true"
},
{
@ -258,12 +258,6 @@ @@ -258,12 +258,6 @@
"description": "Enables the load-balancer-client global filter.",
"defaultValue": "true"
},
{
"name": "spring.cloud.gateway.global-filter.metrics.enabled",
"type": "java.lang.Boolean",
"description": "Enables the metrics global filter.",
"defaultValue": "true"
},
{
"name": "spring.cloud.gateway.predicate.after.enabled",
"type": "java.lang.Boolean",

3
spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/config/conditional/DisableBuiltInGlobalFiltersTests.java

@ -86,9 +86,8 @@ public class DisableBuiltInGlobalFiltersTests { @@ -86,9 +86,8 @@ public class DisableBuiltInGlobalFiltersTests {
"spring.cloud.gateway.global-filter.websocket-routing.enabled=false",
"spring.cloud.gateway.global-filter.netty-write-response.enabled=false",
"spring.cloud.gateway.global-filter.netty-routing.enabled=false",
"spring.cloud.gateway.global-filter.reactive-load-balancer.enabled=false",
"spring.cloud.gateway.global-filter.reactive-load-balancer-client.enabled=false",
"spring.cloud.gateway.global-filter.load-balancer-client.enabled=false",
// FIXME:
"spring.cloud.gateway.metrics.enabled=false" })
@ActiveProfiles("disable-components")
public static class DisableAllGlobalFiltersByProperty {

Loading…
Cancel
Save