spring-cloud-gateway集成Naocos实现动态路由-http://xujin.org/sc/gw/gw10/
Clone or download
SoftwareKing and jin1.xu Add data
Latest commit a4bd786 Dec 9, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sc-gateway-server Add data Dec 9, 2018
.gitignore init Oct 30, 2018
LICENSE Initial commit Oct 25, 2018
README.md 修改md Oct 30, 2018
pom.xml init Oct 30, 2018

README.md

一.使用Nacos实现动态路由

1.1 示例JSON配置

{
	"filters": [],
	"id": "jd_route",
	"order": 0,
	"predicates": [{
		"args": {
			"pattern": "/jd"
		},
		"name": "Path"
	}],
	"uri": "http://www.jd.com"
}