com.alibaba.csp.sentinel.adapter.gateway.sc.SentinelGatewayFilter Java Examples
The following examples show how to use
com.alibaba.csp.sentinel.adapter.gateway.sc.SentinelGatewayFilter.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SentinelSCGAutoConfiguration.java From spring-cloud-alibaba with Apache License 2.0 | 5 votes |
@Bean @Order(-1) @ConditionalOnMissingBean public SentinelGatewayFilter sentinelGatewayFilter() { logger.info( "[Sentinel SpringCloudGateway] register SentinelGatewayFilter with order: {}", gatewayProperties.getOrder()); return new SentinelGatewayFilter(gatewayProperties.getOrder()); }
Example #2
Source File: GatewayConfiguration.java From Sentinel-Dashboard-Nacos with Apache License 2.0 | 4 votes |
@Bean @Order(-1) public GlobalFilter sentinelGatewayFilter() { return new SentinelGatewayFilter(); }
Example #3
Source File: GatewayConfiguration.java From spring-cloud-sofastack-samples with Apache License 2.0 | 4 votes |
/** * 配置SentinelGatewayFilter * @return */ @Bean @Order(-1) public GlobalFilter sentinelGatewayFilter() { return new SentinelGatewayFilter(); }
Example #4
Source File: GatewayConfiguration.java From Sentinel with Apache License 2.0 | 4 votes |
@Bean @Order(-1) public GlobalFilter sentinelGatewayFilter() { return new SentinelGatewayFilter(); }
Example #5
Source File: SentinelConfig.java From lion with Apache License 2.0 | 4 votes |
/** * 配置SentinelGatewayFilter */ @Bean @Order(-1) public GlobalFilter sentinelGatewayFilter() { return new SentinelGatewayFilter(); }