mirror of
https://github.com/chillzhuang/blade-tool
synced 2024-11-05 10:09:32 +08:00
🎉 1.0.0-RC3.
This commit is contained in:
parent
947eac916a
commit
f3fe324ac9
@ -92,7 +92,7 @@ public class BladeApplication {
|
||||
props.setProperty("blade.is-local", String.valueOf(isLocalDev()));
|
||||
props.setProperty("blade.dev-mode", profile.equals(AppConstant.PROD_CODE) ? "false" : "true");
|
||||
props.setProperty("blade.service.version", AppConstant.APPLICATION_VERSION);
|
||||
props.setProperty(ConsulConstant.CONSUL_HOST_KEY, profile.equals(AppConstant.DEV_CDOE) ? ConsulConstant.CONSUL_DEV_HOST : ConsulConstant.CONSUL_PROD_HOST);
|
||||
props.setProperty(ConsulConstant.CONSUL_HOST_KEY, ConsulConstant.CONSUL_HOST);
|
||||
props.setProperty(ConsulConstant.CONSUL_PORT_KEY, ConsulConstant.CONSUL_PORT);
|
||||
props.setProperty(ConsulConstant.CONSUL_CONFIG_FORMAT_KEY, ConsulConstant.CONSUL_CONFIG_FORMAT);
|
||||
props.setProperty(ConsulConstant.CONSUL_WATCH_DELAY_KEY, ConsulConstant.CONSUL_WATCH_DELAY);
|
||||
|
@ -50,12 +50,7 @@ public interface ConsulConstant {
|
||||
/**
|
||||
* consul dev 地址
|
||||
*/
|
||||
String CONSUL_DEV_HOST = "http://localhost";
|
||||
|
||||
/**
|
||||
* consul prod 地址
|
||||
*/
|
||||
String CONSUL_PROD_HOST = "http://192.168.186.129";
|
||||
String CONSUL_HOST = "http://localhost";
|
||||
|
||||
/**
|
||||
* consul端口
|
||||
|
Loading…
Reference in New Issue
Block a user