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

modify name of ruleType and update example

This commit is contained in:
fangjian0423
2019-05-06 16:45:40 +08:00
parent ef415f87ad
commit 530a36fc06
5 changed files with 87 additions and 86 deletions

View File

@@ -25,12 +25,12 @@ spring:
sentinel:
datasource.ds2.file:
file: "classpath: gateway.json"
ruleType: gateway
ruleType: gw-flow
datasource.ds1.file:
file: "classpath: api.json"
ruleType: api
ruleType: gw-api-group
transport:
dashboard: localhost:9999
dashboard: localhost:8080
filter:
enabled: true

View File

@@ -7,12 +7,12 @@ spring:
sentinel:
datasource.ds2.file:
file: "classpath: gateway.json"
ruleType: gateway
ruleType: gw-flow
datasource.ds1.file:
file: "classpath: api.json"
ruleType: api
ruleType: gw-api-group
transport:
dashboard: localhost:9999
dashboard: localhost:8080
filter:
enabled: false