mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
✨ Introducing new features. Sentinel Support ConsulDataSource Dynamic Rule Configuration
fix checkstyle error
This commit is contained in:
parent
7b06f44ee4
commit
08ba076a42
@ -17,6 +17,7 @@
|
||||
package com.alibaba.cloud.sentinel.datasource.config;
|
||||
|
||||
import com.alibaba.cloud.sentinel.datasource.factorybean.ConsulDataSourceFactoryBean;
|
||||
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
@ -32,12 +33,12 @@ public class ConsulDataSourceProperties extends AbstractDataSourceProperties {
|
||||
}
|
||||
|
||||
/**
|
||||
* consul server host
|
||||
* consul server host.
|
||||
*/
|
||||
private String host;
|
||||
|
||||
/**
|
||||
* consul server port
|
||||
* consul server port.
|
||||
*/
|
||||
private int port=8500;
|
||||
|
||||
|
@ -18,6 +18,7 @@ package com.alibaba.cloud.sentinel.datasource.factorybean;
|
||||
|
||||
import com.alibaba.csp.sentinel.datasource.Converter;
|
||||
import com.alibaba.csp.sentinel.datasource.consul.ConsulDataSource;
|
||||
|
||||
import org.springframework.beans.factory.FactoryBean;
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user