summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuyongqiang <[email protected]>2020-12-02 10:24:43 +0800
committerliuyongqiang <[email protected]>2020-12-02 10:24:43 +0800
commitd304b18bac2814894954e4a669c5f23b4592fc0a (patch)
tree7f80d77842d6b0ad1e87774cbf403c6f6000cab2
parent8ce1bc07babca1007084a7aff83c818cd66c8f65 (diff)
取消通过服务名称直接调用接口的配置
-rw-r--r--galaxy-gateway/config/application.yml12
1 files changed, 4 insertions, 8 deletions
diff --git a/galaxy-gateway/config/application.yml b/galaxy-gateway/config/application.yml
index f70e700..f90ec13 100644
--- a/galaxy-gateway/config/application.yml
+++ b/galaxy-gateway/config/application.yml
@@ -14,16 +14,12 @@ spring:
health-check-path: /actuator/health
instance-id: ${spring.application.name}:${spring.cloud.client.ip-address}:${server.port}
gateway:
- discovery:
- locator:
- enabled: true
- lower-case-service-id: true
routes:
- id: metadata
uri: lb://galaxy-query-engine
predicates:
- Path=/metadata/**
- - id: testCase
+ - id: test
uri: lb://galaxy-query-engine
predicates:
- Path=/test/**
@@ -35,7 +31,7 @@ spring:
uri: lb://galaxy-query-engine
predicates:
- Path=/sys/**
- - id: openApi
+ - id: open-api
uri: lb://galaxy-query-engine
predicates:
- Path=/open-api/**
@@ -43,11 +39,11 @@ spring:
uri: lb://galaxy-query-engine
predicates:
- Path=/knowledge/**
- - id: sqlQuery
+ - id: query
uri: lb://galaxy-query-engine
predicates:
- Query=query
- - id: network
+ - id: protocol
uri: lb://galaxy-query-engine
predicates:
- Query=protocol