修改Dubbo一个版本重复注册的bug
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
spring.application.name=gateway
|
||||
dubbo.scan.base-packages=cn.ecpark.service.usergw.impl
|
||||
dubbo.protocol.name=dubbo
|
||||
dubbo.protocol.port=20080
|
||||
dubbo.protocol.port=20999
|
||||
dubbo.registry.address=zookeeper://127.0.0.1:2181
|
||||
server.port=8888
|
||||
|
||||
@@ -5,10 +5,15 @@ default:
|
||||
|
||||
- id: path_route
|
||||
uri: http://httpbin.org:80/get
|
||||
order: 12
|
||||
order: 10
|
||||
predicates:
|
||||
# - Path=/get
|
||||
- Path=/get
|
||||
- Header=XX, \d+
|
||||
# - id: redirect_to
|
||||
# uri: http://localhost/test/**
|
||||
# order: 11
|
||||
# filters:
|
||||
# - RedirectTo=302, http://httpbin.org:80/get
|
||||
dubbo:
|
||||
routes:
|
||||
- id: test
|
||||
|
||||
Reference in New Issue
Block a user