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

pull request develop branch #1

Merged
merged 311 commits into from
Jul 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
311 commits
Select commit Hold shift + click to select a range
3aa0082
Merge pull request #2 from flycash/2.7.5-bk
lzp0412 May 1, 2020
569e2b6
1、add comments
May 1, 2020
59365ec
Merge develop
May 2, 2020
212d886
merge develop
May 2, 2020
6a558d8
Merge pull request #500 from flycash/2.7.5
zouyx May 2, 2020
ffe69ca
Merge branch 'feature/dubbo-2.7.5' of github.com:apache/dubbo-go into…
May 2, 2020
08eb340
Export get BaseConfig
May 2, 2020
bcda4de
fix review comments
May 2, 2020
698c2b2
Merge remote-tracking branch 'remotes/dubbo-go/feature/dubbo-2.7.5' i…
May 2, 2020
4b8b4d7
Refactor service-discovery
May 4, 2020
1113bf1
Merge 2.7.5
May 4, 2020
3f1a52b
Merge pull request #4 from flycash/2.7.5-bk
lzp0412 May 4, 2020
62b3787
add interface for unregister and unsubscribe
zouyx May 4, 2020
a784557
Add tests
May 5, 2020
266e0b6
Add extensiong for metadata service
Apr 15, 2020
ed5693f
Merge pull request #5 from flycash/2.7.5-bk
lzp0412 May 5, 2020
a4cef09
Merge remote-tracking branch 'upstream/feature/dubbo-2.7.5' into even…
Patrick0308 May 6, 2020
99ac8c5
add Event
Patrick0308 May 6, 2020
b87dbe2
Add:metadata report delegate & remote metadata service
hxmhlt May 6, 2020
73f21fa
Mod:for ut
hxmhlt May 6, 2020
f7dd531
Mod:resolve conflict
hxmhlt May 6, 2020
2938f51
optimize code
Patrick0308 May 6, 2020
ada27e2
add unit tests and modify event struct
Patrick0308 May 8, 2020
9f7e1f3
fix imports
Patrick0308 May 8, 2020
3e81841
add unregister for Registry and FacadeBasedRegistry
zouyx May 10, 2020
df74f8d
add test case for Registry unregister
zouyx May 10, 2020
4970301
modify test case for Registry unregister
zouyx May 11, 2020
69ace5e
modify test case for Registry unregister
zouyx May 11, 2020
e73f3bf
fix impl_test error
May 11, 2020
322eb5f
add Registry unsubscribe
zouyx May 11, 2020
c958389
Merge pull request #487 from Patrick0308/eventDispatchServiceDiscovery
zouyx May 12, 2020
393d12a
fix import error
May 12, 2020
31f8663
change lock granularity
zouyx May 12, 2020
341bc5f
add panic for not support implement
zouyx May 12, 2020
aaeabc6
fix import error
May 12, 2020
f1d5aa4
fix review problems
zouyx May 13, 2020
1b55d1e
Merge branch 'develop' into feature/addRegistryUnpub
zouyx May 15, 2020
ce89e9b
fix review comments
zouyx May 15, 2020
50c24b1
fix review comments
zouyx May 16, 2020
f3a7845
add comment and test case
zouyx May 16, 2020
9788244
Merge remote-tracking branch 'apache/feature/dubbo-2.7.5' into metada…
hxmhlt May 17, 2020
0048609
Mod:resolve pr review
hxmhlt May 17, 2020
235edf5
Mod:resolve pr review
hxmhlt May 17, 2020
7a87b5a
fix review comments
zouyx May 18, 2020
ab046ef
fix review comments
zouyx May 18, 2020
2699fcc
fix review problems
zouyx May 19, 2020
f0c9c8f
fix review problems
zouyx May 19, 2020
df1a43d
Finish code
May 19, 2020
7e7db7b
fix review problems
zouyx May 19, 2020
9026120
Merge pull request #510 from zouyx/feature/addRegistryUnpub
AlexStocks May 20, 2020
5c767f4
change subscribe service key in registrydatalistener
zouyx May 21, 2020
c21d928
change to service key
zouyx May 22, 2020
3094ef8
Merge pull request #535 from zouyx/feature/addRegistryUnpub
zouyx May 22, 2020
c312cc8
Mod:modify for code review
hxmhlt May 23, 2020
0d78b2a
Mod:for code review
hxmhlt May 24, 2020
c024ce1
Mod:code review
hxmhlt May 24, 2020
d4c83fb
Merge pull request #505 from hxmhlt/metadata_report
AlexStocks May 25, 2020
b364f31
change test case method
zouyx May 25, 2020
9578fc0
Merge pull request #542 from zouyx/feature/addRegistryUnpub
Patrick0308 May 26, 2020
7c87c2a
Merge branch 'feature/dubbo-2.7.5' of https://github.com/apache/dubbo…
flycash May 29, 2020
bdd9b71
Add UT
flycash May 29, 2020
198ddc3
Merge nacos-meta
flycash May 29, 2020
7e912e7
Merge pull request #6 from flycash/2.7.5
lzp0412 May 30, 2020
b968f7b
Add unregiste implementation
flycash May 30, 2020
cc4d563
server start successfully
flycash May 30, 2020
bfb89b5
Merge pull request #8 from flycash/2.7.5
lzp0412 May 30, 2020
035d7d9
Fix bug: using EventPublishServiceDiscovery
flycash May 31, 2020
f993803
Merge develop
flycash May 31, 2020
34775e5
Merge pull request #9 from flycash/2.7.5-bk
lzp0412 May 31, 2020
e499d1c
lock optimize
zouyx Jun 1, 2020
3ae2a82
revert changes for CloseAndNilClient
zouyx Jun 1, 2020
977fffa
lock optimize
zouyx Jun 1, 2020
9c623ec
revert changes for registerTempZookeeperNode
zouyx Jun 1, 2020
f7ea5f2
lock optimize
zouyx Jun 1, 2020
db059d3
lock optimize : change to rwlock
zouyx Jun 1, 2020
1d1bbe0
lock optimize : change to rwlock
zouyx Jun 1, 2020
5f0084a
Fix review
flycash Jun 2, 2020
b760621
Add events and eventListener
flycash Jun 2, 2020
9ae184f
extract method for get zookeeper connection
zouyx Jun 2, 2020
ff9eec7
Merge pull request #578 from zouyx/feature/addRegistryUnpub
AlexStocks Jun 2, 2020
ed6b59b
Add events and eventListener
flycash Jun 2, 2020
e2da137
Add customizer
flycash Jun 3, 2020
59eee39
Add customizer
flycash Jun 3, 2020
d997d51
fix review
flycash Jun 4, 2020
b815070
code clean
Jun 5, 2020
efd2305
fix
Jun 5, 2020
2398d20
fix log
Jun 5, 2020
2997c11
refactor MetadataService
flycash Jun 5, 2020
4f382b0
test: assert --> require to use fail now
Jun 6, 2020
a7c2c8b
add lock for event registry map to avoid concurrent read write
Jun 6, 2020
669301f
Merge pull request #522 from flycash/nacos-meta
flycash Jun 7, 2020
16b6500
it can be found by java consumer
flycash Jun 7, 2020
a7d16a0
Resolve conflict
flycash Jun 7, 2020
3984ffa
Merge branch 'feature/dubbo-2.7.5' into 2.7.5-bk
lzp0412 Jun 7, 2020
066dcdd
Add metadata service factory
flycash Jun 8, 2020
61a5188
Merge branch '2.7.5-bk' of github.com:flycash/dubbo-go into 2.7.5-bk
flycash Jun 8, 2020
9d5d9e3
Invoke dubbo client success
flycash Jun 10, 2020
e6c92b9
Merge branch 'feature/dubbo-2.7.5' into zk_client
Jun 11, 2020
c6e8b0c
Fix BUG
flycash Jun 13, 2020
ca020d2
Fix BUG
flycash Jun 13, 2020
9eddc5c
Merge 2.7.5
flycash Jun 13, 2020
e8ca163
Merge 2.7.5
flycash Jun 13, 2020
8793dab
add code for etcd metadata report
pantianying Jun 15, 2020
287da82
Merge develop
flycash Jun 15, 2020
d6a68d5
Fix Review And Add UT
flycash Jun 15, 2020
6950060
fix user images error
zouyx Jun 16, 2020
94636fc
add test code
pantianying Jun 16, 2020
05a6146
fix go fmt
pantianying Jun 16, 2020
df758dc
require --> assert
Jun 16, 2020
0965296
Merge pull request #1 from pantianying/etcd_metadata_report
flycash Jun 16, 2020
2c830f7
Merge pull request #609 from zouyx/fix-logo-error
flycash Jun 16, 2020
760fc22
Fix Review And UT
flycash Jun 16, 2020
c19f65b
Merge branch '2.7.5-bk' of github.com:flycash/dubbo-go into 2.7.5-bk
flycash Jun 16, 2020
024f7b2
Merge pull request #601 from dubbo-x/zk_client
AlexStocks Jun 17, 2020
85607f2
Merge pull request #4 from flycash/2.7.5-bk
xianlezheng Jun 17, 2020
b83f86a
Fix Review And Add UT
flycash Jun 17, 2020
7bde7d9
Mod: ignore vim temporary files
asheux Jun 17, 2020
88dc291
Merge pull request #614 from asheux/chore/modify-gitignore
Patrick0308 Jun 18, 2020
904bbdb
Merge develop
flycash Jun 17, 2020
3b51b99
add lock
cvictory Jun 19, 2020
2131a68
Merge branch 'develop' of github.com:apache/dubbo-go into develop
cvictory Jun 19, 2020
0b6cbef
Ftr:EtcdServiceDiscovery #423
xianlezheng Jun 20, 2020
8eb8caa
Ftr: add EtcdServiceDiscovery
xianlezheng Jun 20, 2020
b242ae3
Merge pull request #7 from flycash/2.7.5-bk
xianlezheng Jun 20, 2020
819d092
fix:merge update dubbo-2.7.5 branch to feature/etcd-service-discovery
xianlezheng Jun 20, 2020
28057ed
Merge pull request #3 from xianlezheng/feature/etcd-service-discovery
flycash Jun 21, 2020
e3d7770
Fix UT
flycash Jun 21, 2020
80411a4
Merge develop
flycash Jun 21, 2020
facab2b
Fix Etcd BUG
flycash Jun 22, 2020
e91bf07
Merge pull request #8 from flycash/2.7.5-bk
xianlezheng Jun 22, 2020
5318540
alter filter/*_test.go Rename testFuncName to match the regular expre…
zhangymPerson Jun 22, 2020
5aaee6d
Fix: EtcdServiceDiscovery replace put with temp kv.
xianlezheng Jun 22, 2020
05bc46d
Update links
z2z23n0 Jun 22, 2020
e0b0444
Merge pull request #625 from zhangymPerson/master
AlexStocks Jun 23, 2020
be56ab1
Merge pull request #5 from xianlezheng/feature/etcd-service-discovery
flycash Jun 23, 2020
0dc83ea
Add ANYHOST_KEY judgment
willson-chen Jun 24, 2020
9ab1a9b
Update the method to clear slice
willson-chen Jun 24, 2020
b568e86
Merge pull request #623 from YuzeZhang/master
AlexStocks Jun 24, 2020
fb450a7
Simplify the assignment of override
willson-chen Jun 24, 2020
3d0b1c9
modify metareport interface
Jun 26, 2020
b08b8fc
zookeeper's service_discovery
Patrick0308 Jun 26, 2020
b8f5346
fix bug
Jun 26, 2020
b2a04fd
consul metadata report
Jun 26, 2020
117f85f
zookeeper metadata report
Jun 26, 2020
f1576d1
fix
Jun 26, 2020
242e9f2
fix
Jun 26, 2020
81a458c
import sort
Jun 26, 2020
404cd00
consul metadata report unit test
Jun 27, 2020
4e782b3
zookeeper's service_discovery modify
Patrick0308 Jun 27, 2020
c066b50
zookeeper's service_discovery modify
Patrick0308 Jun 27, 2020
30ca089
Merge remote-tracking branch 'upstream/feature/dubbo-2.7.5' into zk-s…
Patrick0308 Jun 27, 2020
7ac57ce
zookeeper's service_discovery fix
Patrick0308 Jun 28, 2020
f004237
zookeeper metadata report unit test
Jun 28, 2020
ecf7fa1
go fmt
Jun 28, 2020
ae1df23
add comment and adjust service_discovery's critical area
Patrick0308 Jun 28, 2020
3c3552c
modify comment
Patrick0308 Jun 28, 2020
44dbdfe
global var for empty slice
Jun 28, 2020
dd6e4bd
add unit tests
Patrick0308 Jun 28, 2020
c2e00e5
Merge remote-tracking branch 'flycash/2.7.5-bk' into zk-servicediscovery
Patrick0308 Jun 28, 2020
f440a31
fix
Jun 28, 2020
e030e25
remove panic
Jun 29, 2020
a601a33
fix bug
Jun 29, 2020
f00d104
rename consul agent for test
Jun 29, 2020
a23c6d2
fix
Jul 1, 2020
7248544
fix typo
Jul 1, 2020
f66dda8
update zk library version
Jul 1, 2020
302dbc2
simplify and comment
Jul 1, 2020
8906429
add CreateTempWithValue in zookeeper client
Patrick0308 Jul 2, 2020
3784669
add namespaceId config for nacos
coffeehc Jul 2, 2020
cb18057
Update logic of ANYHOST_KEY
willson-chen Jul 2, 2020
e570147
Merge pull request #629 from willson-chen/add_anyhost_key_judgment
AlexStocks Jul 3, 2020
9697b2b
Merge pull request #641 from coffeehc/develop
AlexStocks Jul 3, 2020
5a12137
Merge pull request #633 from dubbo-x/metadata
pantianying Jul 4, 2020
7aab577
fix waitGroup
pantianying Jul 4, 2020
8ad299c
Merge zk and consul
flycash Jul 4, 2020
3fd1b2d
Merge develop
flycash Jul 4, 2020
5ec0519
Merge pull request #15 from apache/develop
lzp0412 Jul 4, 2020
e90fac6
Merge zk discovery
flycash Jul 5, 2020
d32161e
update nacos sdk version
lzp0412 Jul 5, 2020
75776fb
fix unitTest bug
lzp0412 Jul 5, 2020
9a5990d
Fix ZK BUG
flycash Jul 5, 2020
547c299
Merge pull request #646 from lzp0412/develop
flycash Jul 6, 2020
03fc552
support distributed transaction, by experimentally [seata-golang](htt…
Jul 6, 2020
822f1a2
Add Release Notes
flycash Jul 5, 2020
d28ae76
Remove comments
flycash Jul 6, 2020
6ffa278
add comments
Jul 6, 2020
2a46f84
formant adjustment
Jul 6, 2020
09c5caf
update `GetSeataFilter` to `getSeataFilter`
Jul 7, 2020
5bee5b6
Merge pull request #644 from pantianying/fix_waitgroup_develop
zouyx Jul 7, 2020
697fa50
optimization
Jul 9, 2020
b5a67e3
fix bug for no provider by zookeeper
pantianying Jul 9, 2020
81026a3
Merge pull request #648 from pantianying/develop-fix-zk-noevent
hxmhlt Jul 9, 2020
1d2278d
bugfix
Jul 10, 2020
750e62d
Resolve conflict
flycash Jul 10, 2020
f433c06
Merge branch '2.7.5-bk' of github.com:flycash/dubbo-go into 2.7.5-bk
flycash Jul 10, 2020
744afb2
Fix Review
flycash Jul 10, 2020
762e45e
Fix Review
flycash Jul 10, 2020
4140d5d
fix travis
zouyx Jul 11, 2020
4c00837
fix review comment
zouyx Jul 11, 2020
2f73ae5
fix review comment
zouyx Jul 11, 2020
fdc9fd2
Merge pull request #604 from flycash/2.7.5-bk
flycash Jul 12, 2020
3587bfe
Upgrade hession to 1.6.1
flycash Jul 12, 2020
18f0a7b
Merge pull request #650 from flycash/upgrade-hession
AlexStocks Jul 12, 2020
982c3f1
Fix router bug and revert test case
zouyx Jul 12, 2020
080d8dd
Merge pull request #651 from zouyx/develop
AlexStocks Jul 12, 2020
8347779
Add: ftr 577
AlexStocks Jul 12, 2020
6920c15
Merge branch 'develop' of github.com:apache/dubbo-go into develop
cvictory Jul 13, 2020
00f9946
modify return error and log
cvictory Jul 13, 2020
b0f707a
merge apache master
zouyx Jul 14, 2020
e6e276e
delete useless key
zouyx Jul 14, 2020
d3db1c2
fix graceful shutdwon add sigterm signal
relaxedCat Jul 14, 2020
9c857ed
change log level
cvictory Jul 14, 2020
5fa56c6
fix: panic when checkRegistries
Jul 14, 2020
c6354a0
Merge pull request #653 from zouyx/develop
zouyx Jul 14, 2020
f15150f
Fix: panic when checkRegistries
Jul 14, 2020
57d7b5b
Merge pull request #658 from apache/develop
AlexStocks Jul 15, 2020
cd3d3a2
Merge pull request #657 from relaxedCat/feature/sigterm
AlexStocks Jul 15, 2020
c6c39e2
Merge pull request #654 from JiaLiangoooo/develop
AlexStocks Jul 15, 2020
74b5386
Merge branch 'develop' into 1.5
AlexStocks Jul 15, 2020
667540a
Imp: add some comments
Neo344 Jul 19, 2020
d3db7da
Imp: some improvements including add comments
Neo344 Jul 19, 2020
892d859
Imp: three improvements
Neo344 Jul 19, 2020
5868ed1
Imp: three improvements
Neo344 Jul 19, 2020
53f2b37
Imp: replace 'would return' to returns xxx
Neo344 Jul 19, 2020
f1b3487
Merge pull request #17 from apache/develop
lzp0412 Jul 21, 2020
dc49015
Merge pull request #647 from dk-lockdown/develop
AlexStocks Jul 21, 2020
038c0aa
Merge pull request #664 from Howie66/develop
AlexStocks Jul 21, 2020
e59c00b
solve nacos unit test failed
lzp0412 Jul 21, 2020
280a606
Merge pull request #669 from lzp0412/develop
AlexStocks Jul 22, 2020
053aab5
Merge pull request #652 from cvictory/develop
AlexStocks Jul 22, 2020
ea57c44
code format
Jul 23, 2020
1a16b04
code_format
Jul 23, 2020
f5e07cd
update readme
fangyincheng Jul 23, 2020
f85a42a
go mod tidy
Jul 25, 2020
ba32f15
Mod: update feature list
fangyincheng Jul 25, 2020
68ed8c9
Mod: update feature list
fangyincheng Jul 25, 2020
b587f64
update consul version
Jul 25, 2020
7970243
remove replace
Jul 25, 2020
9632fd7
update consul test
Jul 25, 2020
655d1df
code format
Jul 25, 2020
d92f931
Merge branch 'code_format' into consul
Jul 25, 2020
776f40c
Merge branch 'master' into consul
Jul 25, 2020
35fb946
Merge branch 'develop' into consul
Jul 26, 2020
d795e2a
decrease stack level in log
Jul 26, 2020
7d9abd2
add consul metadata in readme
Jul 26, 2020
cb15ad0
code format
Jul 26, 2020
66e0f4d
wait nacos client cache flush
Jul 26, 2020
e60bb08
fix
Jul 26, 2020
2083dba
revert
Jul 26, 2020
272ddd5
Merge pull request #672 from dubbo-x/consul
fangyincheng Jul 26, 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
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,17 @@ classes

# go mod, go test
vendor/
coverage.txt

logs/
.vscode/
coverage.txt

# unit test
remoting/zookeeper/zookeeper-4unittest/
config_center/zookeeper/zookeeper-4unittest/
registry/zookeeper/zookeeper-4unittest/
metadata/report/zookeeper/zookeeper-4unittest/
registry/consul/agent*
config_center/apollo/mockDubbog.properties.json

# vim stuff
*~
.*.sw?
50 changes: 50 additions & 0 deletions CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,56 @@
# Release Notes
---

## 1.5.0

### New Features
- [Application-Level Registry Model](https://github.com/apache/dubbo-go/pull/604)
- [DelegateMetadataReport & RemoteMetadataService](https://github.com/apache/dubbo-go/pull/505)
- [Nacos MetadataReport implementation](https://github.com/apache/dubbo-go/pull/522)
- [Nacos service discovery](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/nacos/service_discovery.go)
- [Zk metadata service](https://github.com/apache/dubbo-go/pull/633)
- [Zk service discovery](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/zookeeper/service_discovery.go)
- [Etcd metadata report](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/metadata/report/etcd/report.go)
- [Etcd metadata service discovery](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/etcdv3/service_discovery.go)
- [Support grpc json protocol](https://github.com/apache/dubbo-go/pull/582)
- [Ftr: using different labels btw provider and consumer, k8s service discovery across namespaces](https://github.com/apache/dubbo-go/pull/577 )

### Enhancement
- [Optimize err handling ](https://github.com/apache/dubbo-go/pull/536/)
- [Add attribute method into Invocation and RpcInvocation](https://github.com/apache/dubbo-go/pull/537)
- [Optimize lock for zookeeper registry](https://github.com/apache/dubbo-go/pull/578)
- [Improve code coverage of zookeeper config center](https://github.com/apache/dubbo-go/pull/549)
- [Improve code coverage of nacos config center and configuration parser](https://github.com/apache/dubbo-go/pull/587)
- [Kubernetes as registry enhance](https://github.com/apache/dubbo-go/pull/577)
- [Optimize zk client's lock and tests](https://github.com/apache/dubbo-go/pull/601)
- [Add setInvoker method for invocation](https://github.com/apache/dubbo-go/pull/612)
- [Upgrade getty & hessian2](https://github.com/apache/dubbo-go/pull/626)
- [Optimize router design: Extract priority router](https://github.com/apache/dubbo-go/pull/630)
- [NamespaceId config for nacos](https://github.com/apache/dubbo-go/pull/641)


### Bugfixes
- [Fix Gitee problem](https://github.com/apache/dubbo-go/pull/590)
- [Gitee quality analyses -- common](https://github.com/apache/dubbo-go/issues/616)
- [Nacos client logDir path seperator for Windows](https://github.com/apache/dubbo-go/pull/591)
- [Fix various linter warnings](https://github.com/apache/dubbo-go/pull/624)
- [Fixed some issues in config folder that reported by sonar-qube](https://github.com/apache/dubbo-go/pull/634)
- [Zk disconnected, dubbo-go panic when subscribe](https://github.com/apache/dubbo-go/pull/613)
- [Enhancement cluster code analysis](https://github.com/apache/dubbo-go/pull/632)

### Document & Comment
- [Add comment for common directory](https://github.com/apache/dubbo-go/pull/530)
- [Add comments for config_center](https://github.com/apache/dubbo-go/pull/545)
- [Update the comments in metrics](https://github.com/apache/dubbo-go/pull/547)
- [Add comments for config](https://github.com/apache/dubbo-go/pull/579)
- [Updated the dubbo-go-ext image](https://github.com/apache/dubbo-go/pull/581)
- [Add comment for cluster](https://github.com/apache/dubbo-go/pull/584)
- [Update the comments in filter directory](https://github.com/apache/dubbo-go/pull/586)
- [Add comment for metadata](https://github.com/apache/dubbo-go/pull/588)
- [Update the comments in protocol directory](https://github.com/apache/dubbo-go/pull/602)
- [Add comments for remoting](https://github.com/apache/dubbo-go/pull/605)
- [Update the comments in registy directory](https://github.com/apache/dubbo-go/pull/589)

## 1.4.0
### New Features

Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Apache Dubbo Go
Apache Dubbo-go
Copyright 2018-2020 The Apache Software Foundation

This product includes software developed at
Expand Down
55 changes: 46 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Apache License, Version 2.0

## Release note ##

[v1.5.0 - July 24, 2020](https://github.com/apache/dubbo-go/releases/tag/v1.5.0)

[v1.4.0 - Mar 17, 2020](https://github.com/apache/dubbo-go/releases/tag/v1.4.0)

[v1.3.0 - Mar 1, 2020](https://github.com/apache/dubbo-go/releases/tag/v1.3.0)
Expand Down Expand Up @@ -49,6 +51,7 @@ Finished List:
- Codec
* JsonRPC V2
* Hessian V2
* [json for grpc](https://github.com/apache/dubbo-go/pull/582)

- Protocol
* Dubbo
Expand Down Expand Up @@ -110,6 +113,17 @@ Finished List:
* [For dubbo](https://github.com/apache/dubbo-go/pull/344)
* [For grpc](https://github.com/apache/dubbo-go/pull/397)

- Metadata Center
* [Nacos](https://github.com/apache/dubbo-go/pull/522)
* [Zookeeper](https://github.com/apache/dubbo-go/pull/633)
* [Etcd](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/metadata/report/etcd/report.go)
* [Consul](https://github.com/apache/dubbo-go/pull/633)

- Service discovery
* [Nacos](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/nacos/service_discovery.go)
* [Zookeeper](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/zookeeper/service_discovery.go)
* [Etcd](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/etcdv3/service_discovery.go)

- Others:
* start check
* connecting certain provider
Expand All @@ -118,11 +132,6 @@ Finished List:
* multi-versions
* service group

Working List:

- Metadata Center (dubbo v2.7.x)
- Service Discovery (dubbo v2.7.x)

You can know more about dubbo-go by its [roadmap](https://github.com/apache/dubbo-go/wiki/Roadmap).

![feature](./doc/pic/arch/dubbo-go-arch.png)
Expand Down Expand Up @@ -169,12 +178,40 @@ If you are willing to do some code contributions and document contributions to [

Benchmark project [dubbo-go-benchmark](https://github.com/dubbogo/dubbo-go-benchmark).

About dubbo-go benchmarking report, please refer to [dubbo benchmarking report](https://github.com/apache/dubbo-go/wiki/pressure-test-report-for-dubbo) & [jsonrpc benchmarking report](https://github.com/apache/dubbo-go/wiki/pressure-test-report-for-jsonrpc).
About dubbo-go benchmarking report, please refer to [dubbo benchmarking report](https://github.com/apache/dubbo-go/wiki/Benchmark-test-of-dubbo) & [jsonrpc benchmarking report](https://github.com/apache/dubbo-go/wiki/Benchmark-test-of-jsonrpc).

## [User List](https://github.com/apache/dubbo-go/issues/2)

If you are using [apache/dubbo-go](github.com/apache/dubbo-go) and think that it helps you or want do some contributions to it, please add your company to to [the user list](https://github.com/apache/dubbo-go/issues/2) to let us know your needs.

![ctrip](https://pic.c-ctrip.com/common/c_logo2013.png)
![Excellent Health Technology Group](https://user-images.githubusercontent.com/52339367/84628582-80512200-af1b-11ea-945a-c6b4b9ad31f2.png)
![tuya](https://raw.githubusercontent.com/pantianying/go-tool/master/picture/logo_2-removebg-preview.png)

<div>
<table>
<tbody>
<tr></tr>
<tr>
<td align="center" valign="middle">
<a href="" target="_blank">
<img width="222px" src="https://pic.c-ctrip.com/common/c_logo2013.png">
</a>
</td>
<td align="center" valign="middle">
<a href="" target="_blank">
<img width="222px" src="https://user-images.githubusercontent.com/52339367/84628582-80512200-af1b-11ea-945a-c6b4b9ad31f2.png">
</a>
</td>
<td align="center" valign="middle">
<a href="" target="_blank">
<img width="222px" src="https://mosn.io/images/community/tuya.png">
</a>
</td>
<td align="center" valign="middle">
<a href="https://github.com/mosn" target="_blank">
<img width="222px" src="https://raw.githubusercontent.com/mosn/community/master/icons/png/mosn-labeled-horizontal.png">
</a>
</td>
</tr>
<tr></tr>
</tbody>
</table>
</div>
53 changes: 44 additions & 9 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Apache License, Version 2.0

## 发布日志 ##

[v1.5.0 - 2020年7月24日](https://github.com/apache/dubbo-go/releases/tag/v1.5.0)

[v1.4.0 - 2020年3月17日](https://github.com/apache/dubbo-go/releases/tag/v1.4.0)

[v1.3.0 - 2020年3月1日](https://github.com/apache/dubbo-go/releases/tag/v1.3.0)
Expand Down Expand Up @@ -48,6 +50,7 @@ Apache License, Version 2.0
- 序列化协议
* JsonRPC V2
* Hessian V2
* [json for grpc](https://github.com/apache/dubbo-go/pull/582)

- 协议
* Dubbo
Expand Down Expand Up @@ -108,6 +111,16 @@ Apache License, Version 2.0
* [For dubbo](https://github.com/apache/dubbo-go/pull/344)
* [For grpc](https://github.com/apache/dubbo-go/pull/397)

- 元数据中心
* [Nacos](https://github.com/apache/dubbo-go/pull/522)
* [Zookeeper](https://github.com/apache/dubbo-go/pull/633)
* [Etcd](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/metadata/report/etcd/report.go)
* [Consul](https://github.com/apache/dubbo-go/pull/633)

- 服务发现
* [Nacos](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/nacos/service_discovery.go)
* [Zookeeper](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/zookeeper/service_discovery.go)
* [Etcd](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/etcdv3/service_discovery.go)

- 其他功能支持:
* 启动时检查
Expand All @@ -117,11 +130,6 @@ Apache License, Version 2.0
* 多服务版本
* 服务分组

开发中列表:

- 元数据中心 (dubbo v2.7.x)
- 服务发现 (dubbo v2.7.x)

你可以通过访问 [roadmap](https://github.com/apache/dubbo-go/wiki/Roadmap) 知道更多关于 dubbo-go 的信息。

![feature](./doc/pic/arch/dubbo-go-arch.png)
Expand Down Expand Up @@ -168,12 +176,39 @@ go test ./... -coverprofile=coverage.txt -covermode=atomic

性能测试项目是 [dubbo-go-benchmark](https://github.com/dubbogo/dubbo-go-benchmark)。

关于 dubbo-go 性能测试报告,请阅读 [dubbo benchmarking report](https://github.com/apache/dubbo-go/wiki/pressure-test-report-for-dubbo) & [jsonrpc benchmarking report](https://github.com/apache/dubbo-go/wiki/pressure-test-report-for-jsonrpc)。
关于 dubbo-go 性能测试报告,请阅读 [dubbo benchmarking report](https://github.com/apache/dubbo-go/wiki/Benchmark-test-of-dubbo) & [jsonrpc benchmarking report](https://github.com/apache/dubbo-go/wiki/Benchmark-test-of-jsonrpc)。

## [User List](https://github.com/apache/dubbo-go/issues/2)

若你正在使用 [apache/dubbo-go](github.com/apache/dubbo-go) 且认为其有用或者向对其做改进,请忝列贵司信息于 [用户列表](https://github.com/apache/dubbo-go/issues/2),以便我们知晓之。

![ctrip](https://pic.c-ctrip.com/common/c_logo2013.png)
![Excellent Health Technology Group](https://user-images.githubusercontent.com/52339367/84628582-80512200-af1b-11ea-945a-c6b4b9ad31f2.png)
![tuya](https://raw.githubusercontent.com/pantianying/go-tool/master/picture/logo_2-removebg-preview.png)
<div>
<table>
<tbody>
<tr></tr>
<tr>
<td align="center" valign="middle">
<a href="" target="_blank">
<img width="222px" src="https://pic.c-ctrip.com/common/c_logo2013.png">
</a>
</td>
<td align="center" valign="middle">
<a href="" target="_blank">
<img width="222px" src="https://user-images.githubusercontent.com/52339367/84628582-80512200-af1b-11ea-945a-c6b4b9ad31f2.png">
</a>
</td>
<td align="center" valign="middle">
<a href="" target="_blank">
<img width="222px" src="https://mosn.io/images/community/tuya.png">
</a>
</td>
<td align="center" valign="middle">
<a href="https://github.com/mosn" target="_blank">
<img width="222px" src="https://raw.githubusercontent.com/mosn/community/master/icons/png/mosn-labeled-horizontal.png">
</a>
</td>
</tr>
<tr></tr>
</tbody>
</table>
</div>
5 changes: 4 additions & 1 deletion before_ut.bat
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@ md cluster\router\chain\zookeeper-4unittest\contrib\fatjar
xcopy /f "%zkJar%" "cluster/router/chain/zookeeper-4unittest/contrib/fatjar/"

md cluster\router\condition\zookeeper-4unittest\contrib\fatjar
xcopy /f "%zkJar%" "cluster/router/condition/zookeeper-4unittest/contrib/fatjar/"
xcopy /f "%zkJar%" "cluster/router/condition/zookeeper-4unittest/contrib/fatjar/"

md metadata\report\zookeeper\zookeeper-4unittest\contrib\fatjar
xcopy /f "%zkJar%" "metadata/report/zookeeper/zookeeper-4unittest/contrib/fatjar/"
9 changes: 6 additions & 3 deletions before_ut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ if [ ! -f "${zkJar}" ]; then
fi

mkdir -p config_center/zookeeper/zookeeper-4unittest/contrib/fatjar
cp ${zkJar} config_center/zookeeper/zookeeper-4unittest/contrib/fatjar/
cp ${zkJar} config_center/zookeeper/zookeeper-4unittest/contrib/fatjar

mkdir -p registry/zookeeper/zookeeper-4unittest/contrib/fatjar
cp ${zkJar} registry/zookeeper/zookeeper-4unittest/contrib/fatjar/
cp ${zkJar} registry/zookeeper/zookeeper-4unittest/contrib/fatjar

mkdir -p cluster/router/chain/zookeeper-4unittest/contrib/fatjar
cp ${zkJar} cluster/router/chain/zookeeper-4unittest/contrib/fatjar

mkdir -p cluster/router/condition/zookeeper-4unittest/contrib/fatjar
cp ${zkJar} cluster/router/condition/zookeeper-4unittest/contrib/fatjar
cp ${zkJar} cluster/router/condition/zookeeper-4unittest/contrib/fatjar

mkdir -p metadata/report/zookeeper/zookeeper-4unittest/contrib/fatjar
cp ${zkJar} metadata/report/zookeeper/zookeeper-4unittest/contrib/fatjar
1 change: 1 addition & 0 deletions cluster/cluster_impl/available_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func NewAvailableCluster() cluster.Cluster {
return &availableCluster{}
}

// Join returns a baseClusterInvoker instance
func (cluser *availableCluster) Join(directory cluster.Directory) protocol.Invoker {
return NewAvailableClusterInvoker(directory)
}
1 change: 1 addition & 0 deletions cluster/cluster_impl/broadcast_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func NewBroadcastCluster() cluster.Cluster {
return &broadcastCluster{}
}

// Join returns a baseClusterInvoker instance
func (cluster *broadcastCluster) Join(directory cluster.Directory) protocol.Invoker {
return newBroadcastClusterInvoker(directory)
}
1 change: 1 addition & 0 deletions cluster/cluster_impl/broadcast_cluster_invoker.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func newBroadcastClusterInvoker(directory cluster.Directory) protocol.Invoker {
}
}

// nolint
func (invoker *broadcastClusterInvoker) Invoke(ctx context.Context, invocation protocol.Invocation) protocol.Result {
invokers := invoker.directory.List(invocation)
err := invoker.checkInvokers(invokers, invocation)
Expand Down
1 change: 1 addition & 0 deletions cluster/cluster_impl/failback_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func NewFailbackCluster() cluster.Cluster {
return &failbackCluster{}
}

// Join returns a baseClusterInvoker instance
func (cluster *failbackCluster) Join(directory cluster.Directory) protocol.Invoker {
return newFailbackClusterInvoker(directory)
}
1 change: 1 addition & 0 deletions cluster/cluster_impl/failback_cluster_invoker.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ func (invoker *failbackClusterInvoker) checkRetry(retryTask *retryTimerTask, err
}
}

// nolint
func (invoker *failbackClusterInvoker) Invoke(ctx context.Context, invocation protocol.Invocation) protocol.Result {
invokers := invoker.directory.List(invocation)
if err := invoker.checkInvokers(invokers, invocation); err != nil {
Expand Down
1 change: 1 addition & 0 deletions cluster/cluster_impl/failfast_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func NewFailFastCluster() cluster.Cluster {
return &failfastCluster{}
}

// Join returns a baseClusterInvoker instance
func (cluster *failfastCluster) Join(directory cluster.Directory) protocol.Invoker {
return newFailFastClusterInvoker(directory)
}
1 change: 1 addition & 0 deletions cluster/cluster_impl/failfast_cluster_invoker.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func newFailFastClusterInvoker(directory cluster.Directory) protocol.Invoker {
}
}

// nolint
func (invoker *failfastClusterInvoker) Invoke(ctx context.Context, invocation protocol.Invocation) protocol.Result {
invokers := invoker.directory.List(invocation)
err := invoker.checkInvokers(invokers, invocation)
Expand Down
1 change: 1 addition & 0 deletions cluster/cluster_impl/failover_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func NewFailoverCluster() cluster.Cluster {
return &failoverCluster{}
}

// Join returns a baseClusterInvoker instance
func (cluster *failoverCluster) Join(directory cluster.Directory) protocol.Invoker {
return newFailoverClusterInvoker(directory)
}
8 changes: 6 additions & 2 deletions cluster/cluster_impl/failover_cluster_invoker.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package cluster_impl

import (
"context"
"fmt"
"strconv"
)

Expand All @@ -44,6 +45,7 @@ func newFailoverClusterInvoker(directory cluster.Directory) protocol.Invoker {
}
}

// nolint
func (invoker *failoverClusterInvoker) Invoke(ctx context.Context, invocation protocol.Invocation) protocol.Result {
var (
result protocol.Result
Expand Down Expand Up @@ -91,8 +93,10 @@ func (invoker *failoverClusterInvoker) Invoke(ctx context.Context, invocation pr
invokerSvc := invoker.GetUrl().Service()
invokerUrl := invoker.directory.GetUrl()
return &protocol.RPCResult{
Err: perrors.Errorf("Failed to invoke the method %v in the service %v. Tried %v times of the providers %v (%v/%v)from the registry %v on the consumer %v using the dubbo version %v. Last error is %v.",
methodName, invokerSvc, retries, providers, len(providers), len(invokers), invokerUrl, ip, constant.Version, result.Error().Error(),
Err: perrors.Wrap(result.Error(), fmt.Sprintf("Failed to invoke the method %v in the service %v. "+
"Tried %v times of the providers %v (%v/%v)from the registry %v on the consumer %v using the dubbo version %v. "+
"Last error is %+v.", methodName, invokerSvc, retries, providers, len(providers), len(invokers),
invokerUrl, ip, constant.Version, result.Error().Error()),
)}
}

Expand Down
Loading