Browse Source

增加多团队协作优先调用本地服务的配置

test
smallchill 5 years ago
parent
commit
76cd189c88
  1. 4
      blade-service/pom.xml
  2. 8
      doc/nacos/blade-dev.yaml

4
blade-service/pom.xml

@ -28,6 +28,10 @@
<groupId>org.springblade</groupId>
<artifactId>blade-common</artifactId>
</dependency>
<dependency>
<groupId>org.springblade</groupId>
<artifactId>blade-starter-ribbon</artifactId>
</dependency>
<dependency>
<groupId>org.springblade</groupId>
<artifactId>blade-starter-tenant</artifactId>

8
doc/nacos/blade-dev.yaml

@ -21,9 +21,15 @@ spring:
# Oracle校验
#validation-query: select 1 from dual
#项目模块集中配置
blade:
#多团队协作服务配置
ribbon:
rule:
#负载均衡优先调用的ip段
prior-ip-pattern:
- 192.168.0.*
- 127.0.0.1
#分布式锁配置
lock:
enabled: false

Loading…
Cancel
Save