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

feat: support Consul as ServiceRegistry #657

Merged
merged 55 commits into from
Jul 28, 2024
Merged

Conversation

lyt122
Copy link
Contributor

@lyt122 lyt122 commented Jul 25, 2024

ref #259
It's the part of run and stop the Consul

@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 25, 2024
Copy link

codecov bot commented Jul 25, 2024

Codecov Report

Attention: Patch coverage is 71.60494% with 23 lines in your changes missing coverage. Please review.

Project coverage is 88.16%. Comparing base (51ae4cb) to head (4568b58).

Files Patch % Lines
controller/registries/consul/config.go 70.12% 18 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #657      +/-   ##
==========================================
- Coverage   88.45%   88.16%   -0.29%     
==========================================
  Files         117      119       +2     
  Lines        5682     5763      +81     
==========================================
+ Hits         5026     5081      +55     
- Misses        472      492      +20     
- Partials      184      190       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 25, 2024
@spacewander
Copy link
Member

Could you investigate why the license check reports error?


const (
//defaultConsulAddress = "127.0.0.1:8500"
defaultDatacenter = "dc1"
Copy link
Member

Choose a reason for hiding this comment

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

Unlike the defaultToken, defaultDatacenter is unused in the prod code?

.licenserc.yaml Outdated
@@ -51,3 +51,5 @@ dependency:
excludes:
- name: github.com/dgryski/trifles # the author adds MIT License later
- name: github.com/rcrowley/go-metrics # this repo uses BSD-2-Clause-Views, which is not recognized in skywalking-eye 0.6
- name: github.com/kr/logfmt #use MIT License
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- name: github.com/kr/logfmt #use MIT License
- name: github.com/kr/logfmt # the author adds MIT License later

Copy link

👋 Hi, I detected conflicts against the base branch 🙊
You'll want to sync 🔄 your branch with upstream!

@github-actions github-actions bot removed the conflict label Jul 28, 2024
@spacewander spacewander merged commit 35d34aa into mosn:main Jul 28, 2024
13 checks passed
@spacewander
Copy link
Member

Merged. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants