修改Dubbo一个版本重复注册的bug

This commit is contained in:
huangsimin
2019-06-27 18:55:51 +08:00
parent ae00f75cd1
commit 2c0e118623
10 changed files with 141 additions and 48 deletions

View File

@@ -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

View File

@@ -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