1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

support nacos endpoint first

This commit is contained in:
flystar32 2019-04-09 19:23:37 +08:00
parent 017044e123
commit 8b43605138
2 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,7 @@
<sentinel.version>1.4.2</sentinel.version>
<oss.version>3.1.0</oss.version>
<fescar.version>0.4.0</fescar.version>
<nacos.client.version>1.0.0-RC3</nacos.client.version>
<nacos.client.version>1.0.0-RC4-SNAPSHOT</nacos.client.version>
<nacos.config.version>0.8.0</nacos.config.version>
<acm.version>1.0.8</acm.version>
<ans.version>1.0.1</ans.version>

View File

@ -407,6 +407,7 @@ public class NacosDiscoveryProperties {
properties.put(SECRET_KEY, secretKey);
properties.put(CLUSTER_NAME, clusterName);
properties.put(NAMING_LOAD_CACHE_AT_START, namingLoadCacheAtStart);
properties.put(IS_USE_ENDPOINT_PARSING_RULE, "true");
try {
namingService = NacosFactory.createNamingService(properties);