Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改ConfigServer启动类,提供配置功能,开启或关闭EurekaServer功能 #2478

Merged
merged 4 commits into from
Aug 4, 2019

Conversation

linzhiqiang0514
Copy link
Contributor

根据属性配置,
1、开启或者关闭eurekaServer,默认开启
2、开启或者关闭eurekaClient,默认关闭。

@nobodyiam
Copy link
Member

禁用eureka之后服务发现如何实现?

@linzhiqiang0514
Copy link
Contributor Author

禁用eureka之后服务发现如何实现?

自行搭建eureka。
有些公司的项目是已经有eureka的,完全没有必要用这个自带的,而且,本身设置文档里,也支持使用外部的eureka。

@codecov-io
Copy link

codecov-io commented Jul 29, 2019

Codecov Report

Merging #2478 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2478      +/-   ##
============================================
- Coverage     50.21%   50.21%   -0.01%     
- Complexity     2044     2045       +1     
============================================
  Files           408      410       +2     
  Lines         12541    12543       +2     
  Branches       1281     1281              
============================================
+ Hits           6298     6299       +1     
  Misses         5798     5798              
- Partials        445      446       +1
Impacted Files Coverage Δ Complexity Δ
...apollo/configservice/ConfigServiceApplication.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...nfigservice/ConfigServerEurekaServerConfigure.java 100% <100%> (ø) 1 <1> (?)
...nfigservice/ConfigServerEurekaClientConfigure.java 100% <100%> (ø) 1 <1> (?)
...ervice/service/ReleaseMessageServiceWithCache.java 85.88% <0%> (-1.18%) 24% <0%> (-1%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2d02cbf...4e9c09d. Read the comment docs.

@coveralls
Copy link

coveralls commented Jul 29, 2019

Coverage Status

Coverage increased (+0.007%) to 53.775% when pulling 4e9c09d on linzhiqiang0514:master into 2d02cbf on ctripcorp:master.

Copy link
Member

@nobodyiam nobodyiam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nobodyiam nobodyiam merged commit 161fa85 into apolloconfig:master Aug 4, 2019
@nobodyiam nobodyiam added this to the 1.5.0 milestone Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants