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

Ftr: consul service discovery #701

Merged
merged 39 commits into from
Sep 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
ddfad7f
consul service discovery
Aug 4, 2020
e0d492d
consul service discovery
Aug 4, 2020
0520f48
consul service discovery (not test yet)
Aug 6, 2020
34f5d8a
consul ttl check
Aug 7, 2020
5716195
consul service discovery unit test
Aug 7, 2020
d0d1e3d
test panic error
Aug 8, 2020
322fae2
unit test TestConsulServiceDiscovery_Destroy repaired
Aug 8, 2020
47bab04
unit test repaired
Aug 8, 2020
e321256
clean code
Aug 8, 2020
f3c63b5
add log
Aug 9, 2020
2693201
remove hc-log
Aug 9, 2020
0ddcd72
unit test error repaired
Aug 10, 2020
0f839ff
use pointer type *MockEventDispatcher
Aug 11, 2020
5965e74
Merge remote-tracking branch 'origin/develop' into develop
Aug 11, 2020
8040566
optimized code for consul service discovery
Aug 13, 2020
77eb76e
Merge remote-tracking branch 'origin/develop' into develop
Aug 13, 2020
fdc4f7c
optimized
Aug 17, 2020
e238478
optimized
Aug 17, 2020
d5dfaf9
suit consul
Aug 29, 2020
c135d03
Merge remote-tracking branch 'origin/develop' into develop
Aug 29, 2020
4e2ac21
optimize code and adapt to other unit test
Aug 29, 2020
55dfc25
fix bug
Aug 29, 2020
9a644a6
etcdv3 lease
Aug 31, 2020
5ff6870
delete unused code
Sep 2, 2020
ebf3cc6
concurrency problem fixed
Sep 4, 2020
04d7ac9
Merge remote-tracking branch 'origin/develop' into develop
Sep 5, 2020
262bf06
Merge remote-tracking branch 'origin/develop' into develop
Sep 5, 2020
eed3a47
Merge branch 'develop' of https://github.com/apache/dubbo-go into dev…
Sep 7, 2020
d210989
revert modifications on this pr,thus submitted this modification on…
Sep 8, 2020
a8782ae
delete the method 'Init' of interface ServiceDiscovery
Sep 8, 2020
b8a20bd
delete unused code
Sep 9, 2020
b3aab08
delete unused code
Sep 9, 2020
2fa6522
optimized some code
Sep 9, 2020
77e59d1
fix concurrency problems
Sep 12, 2020
24e8293
use rwlock
Sep 12, 2020
7662982
refactor repeated code
Sep 13, 2020
02b0a82
refactor code
Sep 13, 2020
bc43a00
refactor code
Sep 13, 2020
fc15617
refactor code
Sep 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions common/constant/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,18 @@ const (
ETCDV3_KEY = "etcdv3"
)

const (
CONSUL_KEY = "consul"
CHECK_PASS_INTERVAL = "consul-check-pass-interval"
// default time-to-live in millisecond
DEFAULT_CHECK_PASS_INTERVAL = 16000
QUERY_TAG = "consul_query_tag"
ACL_TOKEN = "acl-token"
// default deregister critical server after
DEFAULT_DEREGISTER_TIME = "20s"
DEREGISTER_AFTER = "consul-deregister-critical-service-after"
)

const (
TRACING_REMOTE_SPAN_CTX = "tracing.remote.span.ctx"
)
Expand Down
Loading