Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
discovery
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢捷峰
discovery
Commits
1cdf3fe5
Commit
1cdf3fe5
authored
Jun 30, 2018
by
Nepxion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改介绍
parent
4756535a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
+2
-2
No files found.
README.md
View file @
1cdf3fe5
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
Nepxion Discovery是一款对Spring Cloud Discovery的服务注册增强插件,支持Eureka、Consul和Zookeeper。现有的Spring Cloud服务可以方便引入该插件,使用者不需要对业务代码做任何修改,只需要做三个非常容易的事情
Nepxion Discovery是一款对Spring Cloud Discovery的服务注册增强插件,支持Eureka、Consul和Zookeeper。现有的Spring Cloud服务可以方便引入该插件,使用者不需要对业务代码做任何修改,只需要做三个非常容易的事情
1. 引入Plugin
的相关
依赖到pom.xml
1. 引入Plugin
Starter
依赖到pom.xml
2. 为服务定义一个版本号在application.properties里,相信很多使用者本身就已经这么做了
2. 为服务定义一个版本号在application.properties里,相信很多使用者本身就已经这么做了
3. 如果采用了远程配置中心集成的话,那么只需要在那里修改规则(XML),触发推送;如果未集成,可以通过客户端工具(例如Postman)推送修改的规则(XML)
3. 如果采用了远程配置中心集成的话,那么只需要在那里修改规则(XML),触发推送;如果未集成,可以通过客户端工具(例如Postman)推送修改的规则(XML)
...
@@ -35,8 +35,8 @@ Nepxion Discovery是一款对Spring Cloud Discovery的服务注册增强插件
...
@@ -35,8 +35,8 @@ Nepxion Discovery是一款对Spring Cloud Discovery的服务注册增强插件
我们可以通过推送A服务调用某个版本的B服务对应关系的配置,达到某种意义上的灰度控制,切换版本的时候,我们只需要再次推送即可
我们可以通过推送A服务调用某个版本的B服务对应关系的配置,达到某种意义上的灰度控制,切换版本的时候,我们只需要再次推送即可
## 依赖
## 依赖
```
xml
选择相应的插件引入
选择相应的插件引入
```
xml
<dependency>
<dependency>
<groupId>
com.nepxion
</groupId>
<groupId>
com.nepxion
</groupId>
<artifactId>
discovery-plugin-starter-eureka
</artifactId>
<artifactId>
discovery-plugin-starter-eureka
</artifactId>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment