diff --git a/boot-starter/boot-starter-ssm/src/main/java/com/micro/fast/common/config/DataSourceMasterConfig.java b/boot-starter/boot-starter-ssm/src/main/java/com/micro/fast/common/config/DataSourceMasterConfig.java index 6fc784f..56b99b2 100644 --- a/boot-starter/boot-starter-ssm/src/main/java/com/micro/fast/common/config/DataSourceMasterConfig.java +++ b/boot-starter/boot-starter-ssm/src/main/java/com/micro/fast/common/config/DataSourceMasterConfig.java @@ -80,7 +80,7 @@ public class DataSourceMasterConfig { //设置能否重置 initParams.put("resetEnable", "false"); //deny优先于allow - initParams.put("allow", "127.0.0.1,172.17.0.1,www.microfast.com,3z3wg7.natappfree.cc"); + initParams.put("allow", "127.0.0.1,172.17.0.1,3z3wg7.natappfree.cc,3z3wg7.natappfree.cc"); //initParams.put("deny","213.122.232.233"); if (logger.isInfoEnabled()) { logger.info("micro-fast common druidServletParam使用默认的配置"); diff --git a/ms/cms/src/main/resources/bootstrap.yml b/ms/cms/src/main/resources/bootstrap.yml index 6b66522..6ae6e49 100644 --- a/ms/cms/src/main/resources/bootstrap.yml +++ b/ms/cms/src/main/resources/bootstrap.yml @@ -13,6 +13,6 @@ spring: eureka: client: serviceUrl: - defaultZone: http://micro:fast@www.microfast.com:10002/eureka/,http://micro:fast@www.microfast.com:10004/eureka/ #配置所有的注册中心 + defaultZone: http://micro:fast@3z3wg7.natappfree.cc:10002/eureka/,http://micro:fast@3z3wg7.natappfree.cc:10004/eureka/ #配置所有的注册中心 instance: - hostname: www.microfast.com \ No newline at end of file + hostname: 3z3wg7.natappfree.cc \ No newline at end of file diff --git a/ms/config-server/src/main/resources/bootstrap.yml b/ms/config-server/src/main/resources/bootstrap.yml index 748f56c..1b76a70 100644 --- a/ms/config-server/src/main/resources/bootstrap.yml +++ b/ms/config-server/src/main/resources/bootstrap.yml @@ -12,8 +12,8 @@ spring: eureka: client: service-url: - defaultZone: http://micro:fast@www.microfast.com:10002/eureka/,http://micro:fast@www.microfast.com:10004/eureka/ #配置所有的注册中心 + defaultZone: http://micro:fast@3z3wg7.natappfree.cc:10002/eureka/,http://micro:fast@3z3wg7.natappfree.cc:10004/eureka/ #配置所有的注册中心 instance: - hostname: www.microfast.com + hostname: 3z3wg7.natappfree.cc appname: config-server diff --git a/ms/gateway/src/main/resources/bootstrap.yml b/ms/gateway/src/main/resources/bootstrap.yml index f1f6236..d19ccda 100644 --- a/ms/gateway/src/main/resources/bootstrap.yml +++ b/ms/gateway/src/main/resources/bootstrap.yml @@ -13,7 +13,7 @@ spring: eureka: client: serviceUrl: - defaultZone: http://micro:fast@www.microfast.com:10002/eureka/,http://micro:fast@www.microfast.com:10004/eureka/ #配置所有的注册中心 + defaultZone: http://micro:fast@3z3wg7.natappfree.cc:10002/eureka/,http://micro:fast@3z3wg7.natappfree.cc:10004/eureka/ #配置所有的注册中心 instance: - hostname: www.microfast.com + hostname: 3z3wg7.natappfree.cc diff --git a/ms/register-center1/pom.xml b/ms/register-center1/pom.xml index 1a3aeac..73452f7 100644 --- a/ms/register-center1/pom.xml +++ b/ms/register-center1/pom.xml @@ -22,13 +22,9 @@ spring-cloud-starter-config - - - - org.springframework.cloud - spring-cloud-starter-eureka-server + spring-cloud-starter-netflix-eureka-server diff --git a/ms/register-center1/src/main/resources/bootstrap.yml b/ms/register-center1/src/main/resources/bootstrap.yml index e1167f3..06dbfdf 100644 --- a/ms/register-center1/src/main/resources/bootstrap.yml +++ b/ms/register-center1/src/main/resources/bootstrap.yml @@ -2,13 +2,13 @@ spring: cloud: config: - uri: http://config:server@www.microfast.com:10000/ + uri: http://config:server@3z3wg7.natappfree.cc:10000/ profile: dev label: master name: eureka-server eureka: client: service-url: - defaultZone: http://micro:fast@www.microfast.com:10004/eureka #和其他注册中心连接 + defaultZone: http://micro:fast@3z3wg7.natappfree.cc:10004/eureka #和其他注册中心连接 instance: - hostname: www.microfast.com \ No newline at end of file + hostname: 3z3wg7.natappfree.cc \ No newline at end of file diff --git a/ms/register-center2/pom.xml b/ms/register-center2/pom.xml index 16f28ff..06c8f06 100644 --- a/ms/register-center2/pom.xml +++ b/ms/register-center2/pom.xml @@ -24,7 +24,7 @@ org.springframework.cloud - spring-cloud-starter-eureka-server + spring-cloud-starter-netflix-eureka-server diff --git a/ms/register-center2/src/main/resources/bootstrap.yml b/ms/register-center2/src/main/resources/bootstrap.yml index 4be8269..311491b 100644 --- a/ms/register-center2/src/main/resources/bootstrap.yml +++ b/ms/register-center2/src/main/resources/bootstrap.yml @@ -4,10 +4,10 @@ spring: name: eureka-server2 profile: dev label: master - uri: http://config:server@www.microfast.com:10000/ + uri: http://config:server@3z3wg7.natappfree.cc:10000/ eureka: client: service-url: - defaultZone: http://micro:fast@www.microfast.com:10002/eureka #和其他注册中心连接 + defaultZone: http://micro:fast@3z3wg7.natappfree.cc:10002/eureka #和其他注册中心连接 instance: - hostname: www.microfast.com \ No newline at end of file + hostname: 3z3wg7.natappfree.cc \ No newline at end of file diff --git a/ms/ucenter/src/main/resources/bootstrap.yml b/ms/ucenter/src/main/resources/bootstrap.yml index c652c7f..eaab6e5 100644 --- a/ms/ucenter/src/main/resources/bootstrap.yml +++ b/ms/ucenter/src/main/resources/bootstrap.yml @@ -13,6 +13,6 @@ spring: eureka: client: serviceUrl: - defaultZone: http://micro:fast@www.microfast.com:10002/eureka/,http://micro:fast@www.microfast.com:10004/eureka/ #配置所有的注册中心 + defaultZone: http://micro:fast@3z3wg7.natappfree.cc:10002/eureka/,http://micro:fast@3z3wg7.natappfree.cc:10004/eureka/ #配置所有的注册中心 instance: - hostname: www.microfast.com + hostname: 3z3wg7.natappfree.cc diff --git a/ms/upms/src/main/resources/bootstrap.yml b/ms/upms/src/main/resources/bootstrap.yml index 8cc9585..421c35f 100644 --- a/ms/upms/src/main/resources/bootstrap.yml +++ b/ms/upms/src/main/resources/bootstrap.yml @@ -13,7 +13,7 @@ spring: eureka: client: serviceUrl: - defaultZone: http://micro:fast@www.microfast.com:10002/eureka/,http://micro:fast@www.microfast.com:10004/eureka/ #配置所有的注册中心 + defaultZone: http://micro:fast@3z3wg7.natappfree.cc:10002/eureka/,http://micro:fast@3z3wg7.natappfree.cc:10004/eureka/ #配置所有的注册中心 instance: - hostname: www.microfast.com + hostname: 3z3wg7.natappfree.cc