|
|
@ -27,6 +27,7 @@ import org.springframework.boot.autoconfigure.AutoConfigureBefore; |
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; |
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; |
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; |
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; |
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; |
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; |
|
|
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; |
|
|
|
import org.springframework.boot.autoconfigure.web.reactive.HttpHandlerAutoConfiguration; |
|
|
|
import org.springframework.boot.autoconfigure.web.reactive.HttpHandlerAutoConfiguration; |
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties; |
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties; |
|
|
|
import org.springframework.cloud.gateway.actuate.GatewayEndpoint; |
|
|
|
import org.springframework.cloud.gateway.actuate.GatewayEndpoint; |
|
|
@ -103,6 +104,7 @@ import rx.RxReactiveStreams; |
|
|
|
* @author Spencer Gibb |
|
|
|
* @author Spencer Gibb |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Configuration |
|
|
|
@Configuration |
|
|
|
|
|
|
|
@ConditionalOnProperty(name = "spring.cloud.gateway.enabled", matchIfMissing = true) |
|
|
|
@EnableConfigurationProperties |
|
|
|
@EnableConfigurationProperties |
|
|
|
@AutoConfigureBefore(HttpHandlerAutoConfiguration.class) |
|
|
|
@AutoConfigureBefore(HttpHandlerAutoConfiguration.class) |
|
|
|
@AutoConfigureAfter(GatewayLoadBalancerClientAutoConfiguration.class) |
|
|
|
@AutoConfigureAfter(GatewayLoadBalancerClientAutoConfiguration.class) |
|
|
|