-
Notifications
You must be signed in to change notification settings - Fork 642
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
[ISSUE #900] Support Consul Service Registry #901
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome to the Apache EventMesh (incubating) community!!
This is your first PR in our project. We're very excited to have you onboard contributing. Your contributions are greatly appreciated!
Please make sure that the changes are covered by tests.
We will be here shortly.
Let us know if you need any help!
Want to get closer to the community?
Mailing Lists:
Name | Description | Subscribe | Unsubscribe | Archive |
---|---|---|---|---|
Users | User support and questions mailing list | Subscribe | Unsubscribe | Mail Archives |
Development | Development related discussions | Subscribe | Unsubscribe | Mail Archives |
Commits | All commits to repositories | Subscribe | Unsubscribe | Mail Archives |
Codecov Report
@@ Coverage Diff @@
## master #901 +/- ##
========================================
Coverage 9.72% 9.72%
Complexity 614 614
========================================
Files 362 362
Lines 23126 23126
Branches 2548 2548
========================================
Hits 2249 2249
Misses 20673 20673
Partials 204 204 |
It seems that MacOS 11 build scrip is failed, because could not get resource |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems miss lisence declare
FAILURE: Build failed with an exception.
BUILD FAILED in 2m 10s it seems there is something wrong with gradle build |
@xiaoyang-sde please help to review |
Sure! I will review it later today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution! It seems that the changes failed to pass the style check: https://github.com/apache/incubator-eventmesh/runs/6681779883?check_suite_focus=true#step:5:9859. Could you please try to fix this?
yep. I will fix it later or tomorrow, work is busy |
@huyuanxin any udpates? |
@li-xiao-shuang please help to review. |
already done, but some check still can't be resolved. I can't figure it out
在 2022年6月10日,16:24,Eason Chen ***@***.***> 写道:
@huyuanxin<https://github.com/huyuanxin> any udpates?
—
Reply to this email directly, view it on GitHub<#901 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKC764POFM5KLP3ZKE3DAM3VOL3SNANCNFSM5XMX3GHA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Already done. But I can't figure out how to fix the action checks
在 2022年6月10日,16:24,Eason Chen ***@***.***> 写道:
@huyuanxin<https://github.com/huyuanxin> any udpates?
—
Reply to this email directly, view it on GitHub<#901 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKC764POFM5KLP3ZKE3DAM3VOL3SNANCNFSM5XMX3GHA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Yes, I'm working on it |
You should create a META-INF/eventmesh/org.apache.eventmesh.api.registry.RegistryService file for the consul plugin so the eventmesh spi will find it |
...consul/src/main/java/org/apache/eventmesh/registry/consul/service/ConsulRegistryService.java
Outdated
Show resolved
Hide resolved
...consul/src/main/java/org/apache/eventmesh/registry/consul/service/ConsulRegistryService.java
Outdated
Show resolved
Hide resolved
...consul/src/main/java/org/apache/eventmesh/registry/consul/service/ConsulRegistryService.java
Outdated
Show resolved
Hide resolved
How does the heartbeat of the consul service work? Need manual maintenance? |
@huyuanxin, please fix the issues that reqeust by @li-xiao-shuang |
ok, I will fix it later---- Replied Message ----FromEason ***@***.***>Date06/13/2022 19:28 ***@***.***> CcYuanXin ***@***.******@***.***>SubjectRe: [apache/incubator-eventmesh] Support Consul Service Registry (PR #901)
@huyuanxin, please fix the issues that reqeust by @li-xiao-shuang
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#901 (comment)",
"url": "#901 (comment)",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
please solve the conflic files @huyuanxin . |
@huyuanxin can you please fix the conflicts? |
fixing |
I cherry pick into the branch that is from the latest upstream |
I have created the |
[ISSUE apache#900] Support Consul Service Registry
Fixes ISSUE #900
Motivation
make an implement of RegistryService which is support by consul
Modifications
Describe the modifications you've done.
Add ConsulRegistryService and ConsulConstant for implement
Add ConsulRegistryServiceTest for test
Documentation