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: dubbogo 3.0 Triple support #959

Closed
wants to merge 284 commits into from
Closed
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
284 commits
Select commit Hold shift + click to select a range
98977d0
Merge branch 'develop'
AlexStocks Nov 24, 2020
0249c47
Merge branch 'develop' into read
Nov 26, 2020
1afdcc2
build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0
dependabot[bot] Nov 26, 2020
9d3fefd
build(deps): bump github.com/mitchellh/mapstructure from 1.3.3 to 1.4.0
dependabot[bot] Nov 27, 2020
8dbf73b
Merge pull request #896 from apache/dependabot/go_modules/gopkg.in/ya…
zouyx Nov 30, 2020
43ef202
change target-branch and schedule interval of Dependabot
zouyx Nov 30, 2020
4b0bdfb
Merge pull request #897 from apache/dependabot/go_modules/github.com/…
Patrick0308 Dec 1, 2020
150a89f
#901 Optimize the memory usage.
cvictory Dec 2, 2020
0ff136d
add unit test and keep origin SetParams method
cvictory Dec 2, 2020
9bf076c
Merge branch 'master' of https://github.com/apache/dubbo-go into develop
AlexStocks Dec 4, 2020
8f916e6
fix: fix router_config add &url to url
Dec 4, 2020
68ff8be
Merge pull request #910 from georgehao/develop
zouyx Dec 5, 2020
c46d479
feat: update getty to 1.4.1
watermelo Dec 5, 2020
006e4a5
fix: resolving code conflicts
watermelo Dec 5, 2020
ba96f44
fix: upgrade sentianel version to 0.6.2
watermelo Dec 5, 2020
bb7bf3e
Merge branch 'develop' into read
Dec 5, 2020
c4fa94c
fix url compare in consul listener
Dec 5, 2020
7108241
chore: new 3.0 branch
Dec 7, 2020
dfc418d
fix: add protoc gen dubbo3, but there still problems
Dec 7, 2020
25ed35d
Merge pull request #899 from zouyx/feature/changeDependabot
AlexStocks Dec 8, 2020
240695c
Merge branch 'develop' of github.com:apache/dubbo-go into apache_develop
cvictory Dec 8, 2020
85eadf4
chane RangeParams to GetParams
cvictory Dec 8, 2020
c7fd69a
fix path
fangyincheng Dec 8, 2020
c593464
fix ut
fangyincheng Dec 8, 2020
29e6cff
#901 Optimize the memory usage.
cvictory Dec 9, 2020
6ab25e4
change from URLComparator interface to Func
cvictory Dec 9, 2020
08a13cf
fix comments issue
cvictory Dec 9, 2020
0d7baa5
add nil check for IsEquals in url.go
cvictory Dec 9, 2020
8e0aa32
build(deps): bump github.com/apache/dubbo-go-hessian2
dependabot[bot] Dec 9, 2020
60f53ab
fix merge issue and optimize some invalid usage
cvictory Dec 9, 2020
f4d5df2
fix log error
cvictory Dec 9, 2020
068505d
refactor some code
cvictory Dec 9, 2020
36e6c4c
add MGTV to the readme user list
Dec 9, 2020
4ea5d0a
Merge pull request #920 from bobopan/develop
zouyx Dec 9, 2020
1156b92
Merge branch 'develop' of https://github.com/apache/dubbo-go into dev…
AlexStocks Dec 9, 2020
af608d8
trigger init router for first call
zouyx Dec 10, 2020
784cf6e
feat: add protoc-gen-dubbo3 cli tool
Dec 11, 2020
37a11a1
try to fix time out error
wenxuwan Dec 11, 2020
1c95b6a
fix: add codec interface
Dec 11, 2020
2301f67
fix: change gost version to 1.10
Dec 11, 2020
9e0fd61
refact code
wenxuwan Dec 11, 2020
a5bd416
Revert "trigger init router for first call"
zouyx Dec 11, 2020
2a924dc
Trigger init router for first call
zouyx Dec 11, 2020
329710a
Test case should wait for next loop to build chain chain in each 5 se…
zouyx Dec 11, 2020
fb13085
fix: split protocol level from conn level
Dec 11, 2020
837cda3
file system run successful in win
cityiron Dec 12, 2020
f7995eb
Merge remote-tracking branch 'apache/master' into fix-path
fangyincheng Dec 12, 2020
c990022
Merge pull request #927 from zouyx/feature/fixRouter
AlexStocks Dec 13, 2020
1f708d7
Merge pull request #926 from wenxuwan/fix_timeout_error
AlexStocks Dec 13, 2020
3de6c8a
Merge branch 'develop' into feature/fix-config_center-file
cityiron Dec 13, 2020
55e861a
resolve
cityiron Dec 13, 2020
ab774b5
Merge pull request #914 from fangyincheng/fix-path
zouyx Dec 13, 2020
5ffcdfe
fix review issue
cvictory Dec 14, 2020
a136af5
Merge branch 'develop' of github.com:apache/dubbo-go into notify_all
cvictory Dec 14, 2020
0cb6305
Merge branch 'notify_all' of github.com:cvictory/dubbo-go into notify…
cvictory Dec 14, 2020
b5365b3
Merge pull request #911 from dubbo-x/read
hxmhlt Dec 14, 2020
7fc8fd4
fix: import fmt
Dec 16, 2020
e6bd72e
fix:change gost version
Dec 16, 2020
0d9d7c0
Add: golint in github action
AlexStocks Dec 16, 2020
e2954fe
Merge branch 'develop' of https://github.com/apache/dubbo-go into dev…
AlexStocks Dec 16, 2020
cfef02a
Merge pull request #758 from cvictory/notify_all
zouyx Dec 18, 2020
2f432d5
Merge branch 'develop' of github.com:apache/dubbo-go
cvictory Dec 18, 2020
4d50436
update lint pos in github action
AlexStocks Dec 18, 2020
8dffc29
Merge branch 'develop' of https://github.com/apache/dubbo-go into dev…
AlexStocks Dec 18, 2020
75713b9
introduce ConfigPostProcessor extension
beiwei30 Dec 18, 2020
01684bf
correct license header
Dec 18, 2020
52405be
break import cycle
beiwei30 Dec 18, 2020
5e76af9
fix
Dec 18, 2020
ce90b4b
Optimize the memory usage (#916)
cvictory Dec 18, 2020
30730a3
Merge branch 'develop' of github.com:apache/dubbo-go into apache_develop
cvictory Dec 19, 2020
5683e9f
fix: fix URL.String() lock
georgehao Dec 19, 2020
f244915
Merge pull request #944 from georgehao/develop
zouyx Dec 20, 2020
b8f21c4
Merge branch 'develop' of github.com:apache/dubbo-go into apache_develop
cvictory Dec 20, 2020
04fa9b0
Merge pull request #945 from fangyincheng/fix-object
AlexStocks Dec 20, 2020
ad8a8ad
fix metadata report fail
cvictory Dec 20, 2020
1cc462b
update version getty/1.4.1 and gost/1.10.1
watermelo Dec 20, 2020
b2b70d2
fix metadata report fail
cvictory Dec 20, 2020
f7938a3
use map instead of point of map
Dec 21, 2020
78b29c7
use interface{} instead of concrete type
beiwei30 Dec 21, 2020
afab2dc
enhance comments
beiwei30 Dec 21, 2020
8789da2
use url.Values as parameter, which should be sufficient enough
beiwei30 Dec 21, 2020
5a7f093
make metadata report work without serviceDiscovery
cvictory Dec 21, 2020
93932e1
Merge branch 'develop' of github.com:apache/dubbo-go into local_optim…
cvictory Dec 21, 2020
27ddd69
feat: add server end stream support
Dec 21, 2020
9fa3896
add WithParameterTypeNames in Invocation
cvictory Dec 21, 2020
95432d1
use common.URL as parameters
beiwei30 Dec 22, 2020
f734264
Merge pull request #854 from cvictory/local_optimize_equals_urls
zouyx Dec 22, 2020
551b073
expose invoker from proxy
cvictory Dec 22, 2020
766c2ca
fix review issue: use copy value
cvictory Dec 22, 2020
0ecbcef
fix review issue: use copy value
cvictory Dec 22, 2020
45cfa0a
expose proxy from referenceConfig
cvictory Dec 22, 2020
b4f304e
introduce DelParam so that it is possible to remove one particular
beiwei30 Dec 22, 2020
da3d9fc
introduce a export flag to decide if a service should be export or not,
beiwei30 Dec 22, 2020
99a0253
Merge pull request #952 from cvictory/feature/proxy_expose_invoker
AlexStocks Dec 22, 2020
f8c8593
Merge pull request #943 from beiwei30/config-post-processor
AlexStocks Dec 22, 2020
ea5e28b
Merge branch 'develop' into export-flag
beiwei30 Dec 22, 2020
59d4e4e
set export to true as default value when unmarshal
beiwei30 Dec 22, 2020
93e9534
Fix: add stream rpc
Dec 23, 2020
badd37b
feat: stream rpc support
Dec 23, 2020
dcd0c02
feat: add multi stream support
Dec 24, 2020
244b495
Merge pull request #954 from beiwei30/del-key-from-url
AlexStocks Dec 24, 2020
ed97c95
Merge pull request #955 from beiwei30/export-flag
Patrick0308 Dec 24, 2020
de2dad9
Merge pull request #950 from cvictory/feature/parameterTypes2
AlexStocks Dec 24, 2020
44f7199
fix the wrong judgment in rpc result error
yakecanlee Dec 25, 2020
a883dc3
fix: make stream rpc can use
Dec 25, 2020
98184aa
fix: delete unused function
Dec 25, 2020
0bed115
fix: fix thread safe problem
Dec 25, 2020
076b9a5
fix: change gost version
Dec 25, 2020
c3da749
fix: add comment
Dec 25, 2020
2d2337d
fix: add liscense
Dec 25, 2020
1211616
fix: add liscense
Dec 25, 2020
49b2244
fix: add comments
Dec 25, 2020
377c9e1
fix: go mod tidy
Dec 25, 2020
313c4c1
fix: bugs
Dec 25, 2020
eaadca7
fix: fix comment
Dec 25, 2020
2b8d962
Upgrade sentinel go to v1.0.1
louyuting Dec 25, 2020
d6bf494
fix for ut error
watermelo Dec 20, 2020
af6b6c0
Merge pull request #918 from apache/dependabot/go_modules/github.com/…
AlexStocks Dec 27, 2020
8aba190
Merge pull request #958 from yakecanlee/feature/fix-tracing-filter
AlexStocks Dec 25, 2020
2282bce
fix: code review fmt bugs
Dec 27, 2020
a5ea0d8
Merge pull request #968 from louyuting/20201224-upgrade-sentinel
AlexStocks Dec 27, 2020
a9d27ab
fix: fix fmt
Dec 27, 2020
7906db6
upgrade sentinel-golang version
AlexStocks Dec 27, 2020
65c8998
upgrade sentinel version to v1.0.1
AlexStocks Dec 27, 2020
61737f8
update go mod
AlexStocks Dec 27, 2020
677d7e8
delete ding notify module in github action yaml
AlexStocks Dec 27, 2020
c145691
Merge pull request #970 from apache/feature/sentinel1.1
AlexStocks Dec 28, 2020
b353ac9
merge develop
AlexStocks Dec 28, 2020
a2df3f1
fix: consul unregister bug
Dec 28, 2020
ba7eab7
fix: fix merge conflict
Dec 28, 2020
66b5283
Merge branch 'develop' into fix/consulUnreg
Dec 28, 2020
cc7fb2e
rm chinese comment
cityiron Dec 28, 2020
668e085
fix errors by linter
AlexStocks Dec 28, 2020
e308e19
Merge pull request #974 from apache/imp/linter1
AlexStocks Dec 28, 2020
9ae3c90
Merge remote-tracking branch 'upstream/develop' into develop
Dec 28, 2020
3cb769a
fix: go fmt project
Dec 29, 2020
56f23ed
fix: fix conflict
Dec 29, 2020
4ae1b41
fix: add liscence
Dec 29, 2020
a9b1e1c
fix: go fmt project
Dec 29, 2020
4a0c97f
ftr: add grpc ctx transfer support
Dec 29, 2020
35d31fe
fix: fix go fmt
Dec 29, 2020
1c1c7d3
fix: resolve conflict
watermelo Dec 30, 2020
8d0ccff
fix: ut error
watermelo Dec 30, 2020
425c03f
Merge pull request #975 from LaurenceLiZhixin/Ftr/grpc-ctx-meta
AlexStocks Dec 31, 2020
bdd3546
add liner for github action script
cjphaha Jan 1, 2021
2e1e474
delete unused variable
cjphaha Jan 1, 2021
8884462
fix lint errors
AlexStocks Jan 2, 2021
1253721
fix common linter error
AlexStocks Jan 2, 2021
407d234
fix config linter error
AlexStocks Jan 2, 2021
36129b9
fix filter linter error
AlexStocks Jan 2, 2021
69026e8
fix protocol linter error
AlexStocks Jan 2, 2021
971c854
fix registry error
AlexStocks Jan 2, 2021
a08392c
fix remoting linter error
AlexStocks Jan 2, 2021
8eb6107
upgrade nacos-sdk-go version
lzp0412 Jan 3, 2021
b4accad
upgrade nacos-sdk-go version
lzp0412 Jan 3, 2021
2acf10a
fix remoting linter error
AlexStocks Jan 2, 2021
ca71862
delete unused var
AlexStocks Jan 3, 2021
b6022bb
fix ctx linter error
AlexStocks Jan 4, 2021
9e40791
fix ctx linter error
AlexStocks Jan 4, 2021
9ef971c
fix duplicate error
AlexStocks Jan 4, 2021
780a05c
fix client error message
yakecanlee Jan 4, 2021
96a6c30
fix client error message
yakecanlee Jan 4, 2021
f11f1f9
fix duplicate error
AlexStocks Jan 4, 2021
ded3c49
Merge pull request #879 from watermelo/opt_taskpool
AlexStocks Jan 5, 2021
838c847
Merge pull request #983 from yakecanlee/feature/fix-client-timeout-er…
AlexStocks Jan 5, 2021
41fd617
Merge branch 'develop'
AlexStocks Jan 5, 2021
34fa1da
delete travis script
AlexStocks Jan 5, 2021
5d6b250
Merge branch 'develop'
AlexStocks Jan 6, 2021
266d773
grpc status from server to client
ztelur Jan 6, 2021
85a21e8
Merge branch 'develop' into develop
AlexStocks Jan 6, 2021
f0ddf36
fix ci problem license error and refactor package structure
ztelur Jan 7, 2021
0960b23
fix: change trigger
LaurenceLiZhixin Jan 7, 2021
082a0bd
fix: fix lint
LaurenceLiZhixin Jan 7, 2021
3d7aa03
Merge pull request #1 from ztelur/grpc-status
LaurenceLiZhixin Jan 8, 2021
41016aa
fix: fix split triple from dubbogo
LaurenceLiZhixin Jan 8, 2021
556c369
fix: fix protoc gen tool to match splited triple
LaurenceLiZhixin Jan 8, 2021
44e9f5d
fix
LaurenceLiZhixin Jan 9, 2021
34bd21c
fix: add liscence
LaurenceLiZhixin Jan 9, 2021
e633a73
Merge pull request #981 from lzp0412/develop
AlexStocks Jan 6, 2021
2eacd35
Fix: pb liscense
LaurenceLiZhixin Jan 9, 2021
7b67e09
Fix: change grpc version
LaurenceLiZhixin Jan 10, 2021
374a01a
Merge pull request #973 from LaurenceLiZhixin/fix/consulUnreg
AlexStocks Jan 10, 2021
b704cad
fix: fix go.mod
LaurenceLiZhixin Jan 10, 2021
d305b67
Merge remote-tracking branch 'upstream/develop' into develop
LaurenceLiZhixin Jan 10, 2021
a191eaf
Fix: try fix
LaurenceLiZhixin Jan 10, 2021
92389d2
Merge branch 'develop'
AlexStocks Jan 10, 2021
c8fb3e9
fix conflict
cvictory Jan 10, 2021
808370a
Enable Nacos registry local cache
mark4z Jan 10, 2021
2b559fc
Merge remote-tracking branch 'origin/master'
mark4z Jan 10, 2021
794ab77
Merge pull request #932 from cityiron/feature/fix-config_center-file
AlexStocks Jan 10, 2021
6288e18
avoid cache effect event, just for test
mark4z Jan 11, 2021
fd28d58
fix:
LaurenceLiZhixin Jan 13, 2021
5919b11
Merge remote-tracking branch 'upstream/develop' into develop
LaurenceLiZhixin Jan 13, 2021
bbd698d
Enable Nacos registry local cache
mark4z Jan 14, 2021
c81fde1
Enable Nacos registry local cache
mark4z Jan 14, 2021
c26d24d
Enable Nacos registry local cache
mark4z Jan 14, 2021
17825e9
remove unnecessary constant.NACOS_NOT_LOAD_LOCAL_CACH
mark4z Jan 15, 2021
a3bc853
Merge pull request #989 from mark4z/master
AlexStocks Jan 15, 2021
109d1dc
Use nacos constant instead of hardcoded string
Jan 15, 2021
5cb723a
update hessian2 version to v1.8.2
AlexStocks Jan 17, 2021
3dc2f17
Merge remote-tracking branch 'upstream/develop' into develop
LaurenceLiZhixin Jan 17, 2021
9d5dc61
Merge pull request #996 from luckyxiaoqiang/feature/refactor_nacos_re…
AlexStocks Jan 17, 2021
f6e0db0
Merge branch 'develop' of github.com:apache/dubbo-go into fix/metadat…
cvictory Jan 17, 2021
bfbe4e9
fix review issue
cvictory Jan 17, 2021
7dd17b3
Bump github.com/alibaba/sentinel-golang from 1.0.1 to 1.0.2
dependabot[bot] Jan 18, 2021
aaacf31
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0
dependabot[bot] Jan 18, 2021
982e74c
Merge pull request #1001 from apache/dependabot/go_modules/develop/gi…
AlexStocks Jan 18, 2021
4a721a2
Merge pull request #999 from apache/dependabot/go_modules/develop/git…
AlexStocks Jan 18, 2021
36c0681
Imp: add trim for filter
fangyincheng Jan 20, 2021
969ff84
fix
LaurenceLiZhixin Jan 22, 2021
55737aa
Merge remote-tracking branch 'upstream/develop' into develop
LaurenceLiZhixin Jan 22, 2021
016bcce
update hessian2 version to v1.8.2
AlexStocks Jan 17, 2021
3111854
merge develop
AlexStocks Jan 22, 2021
b21ce4e
fix review issue
cvictory Jan 22, 2021
9c40c29
Merge pull request #1003 from fangyincheng/trim-filter
Patrick0308 Jan 22, 2021
0cb6edb
add dmall logo
champly Jan 22, 2021
f354f90
Merge pull request #1009 from champly/develop
Patrick0308 Jan 23, 2021
fec0532
fix integration test
zouyx Jan 23, 2021
c1f25f6
Merge branch 'develop'
AlexStocks Jan 23, 2021
d136504
Merge branch 'master' of https://github.com/apache/dubbo-go
AlexStocks Jan 23, 2021
9a666eb
add community info
AlexStocks Jan 23, 2021
43b931e
add more test
zouyx Jan 23, 2021
a7abcc1
add more test
zouyx Jan 23, 2021
bbda967
add more test
zouyx Jan 23, 2021
80ee534
add test
zouyx Jan 23, 2021
92a6231
add test
zouyx Jan 23, 2021
882930c
add commit hash
zouyx Jan 23, 2021
9a980ff
Merge branch 'develop' into fix/metadata_fail
AlexStocks Jan 23, 2021
3907104
Fix: issue #951 etcd exit panic
watermelo Jan 23, 2021
dd1b395
Fix: remove comments
watermelo Jan 23, 2021
6c989b9
Merge pull request #948 from cvictory/fix/metadata_fail
AlexStocks Jan 23, 2021
ec2a259
Merge pull request #1012 from zouyx/feature/fixIntegrationTest
cityiron Jan 24, 2021
9130466
Merge pull request #1013 from watermelo/fix_etcd_register_error
AlexStocks Jan 24, 2021
4f9b8d9
Bump github.com/dubbogo/gost from 1.10.1 to 1.11.0
dependabot[bot] Jan 25, 2021
0b38e93
Bump github.com/nacos-group/nacos-sdk-go from 1.0.3 to 1.0.5
dependabot[bot] Jan 25, 2021
c3d2177
Bump github.com/mitchellh/mapstructure from 1.4.0 to 1.4.1
dependabot[bot] Jan 25, 2021
27d7746
Merge pull request #1017 from apache/dependabot/go_modules/develop/gi…
AlexStocks Jan 25, 2021
d6941b2
Merge pull request #1016 from apache/dependabot/go_modules/develop/gi…
AlexStocks Jan 25, 2021
17c4a9e
Merge pull request #1015 from apache/dependabot/go_modules/develop/gi…
AlexStocks Jan 25, 2021
65cd856
Merge remote-tracking branch 'upstream/develop' into develop
LaurenceLiZhixin Jan 26, 2021
25eb01d
fix: conflict
LaurenceLiZhixin Jan 26, 2021
9e9c7f6
fix: fix merge conflict
LaurenceLiZhixin Jan 26, 2021
a2ebe57
fix: add
LaurenceLiZhixin Jan 26, 2021
5ecf6fd
fix
LaurenceLiZhixin Jan 26, 2021
08eb7a0
fix: dubbo gen bug
LaurenceLiZhixin Feb 5, 2021
69019ce
fix: triple api
Feb 7, 2021
f794555
fix
Feb 8, 2021
a5cc93a
fix
Feb 9, 2021
f457e55
fix
LaurenceLiZhixin Feb 10, 2021
22f6546
fix
LaurenceLiZhixin Mar 1, 2021
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
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# and modify them (or add more) to build your codes if your project
# uses a compiled language

#- run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
go-version: ${{ matrix.go_version }}
id: go

- name: Check out code into the Go module directory
- name: Check out codes into the Go module directory
uses: actions/checkout@v2

- name: Cache dependencies
Expand Down
1 change: 0 additions & 1 deletion cluster/router/healthcheck/default_health_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ func (c *DefaultHealthChecker) getCircuitBreakerSleepWindowTime(status *protocol
return int64(sleepWindow)
}


// GetRequestSuccessiveFailureThreshold return the requestSuccessiveFailureThreshold bound to this DefaultHealthChecker
func (c *DefaultHealthChecker) GetRequestSuccessiveFailureThreshold() int32 {
return c.requestSuccessiveFailureThreshold
Expand Down
2 changes: 1 addition & 1 deletion config/config_loader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
import (
"github.com/Workiva/go-datastructures/slice/skip"
gxset "github.com/dubbogo/gost/container/set"
gxpage "github.com/dubbogo/gost/page"
gxpage "github.com/dubbogo/gost/hash/page"
"github.com/stretchr/testify/assert"
"go.uber.org/atomic"
)
Expand Down
4 changes: 2 additions & 2 deletions filter/filter_impl/hystrix_filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func TestHystricFilterInvokeCircuitBreak(t *testing.T) {
resChan <- result
}()
}
//This can not always pass the test when on travis due to concurrency, you can uncomment the code below and test it locally
//This can not always pass the test when on travis due to concurrency, you can uncomment the codes below and test it locally

//var lastRest bool
//for i := 0; i < 50; i++ {
Expand Down Expand Up @@ -215,7 +215,7 @@ func TestHystricFilterInvokeCircuitBreakOmitException(t *testing.T) {
resChan <- result
}()
}
//This can not always pass the test when on travis due to concurrency, you can uncomment the code below and test it locally
//This can not always pass the test when on travis due to concurrency, you can uncomment the codes below and test it locally

//time.Sleep(time.Second * 6)
//var lastRest bool
Expand Down
32 changes: 32 additions & 0 deletions filter/filter_impl/sentinel_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,38 @@ type DubboLoggerWrapper struct {
logger.Logger
}

func (d DubboLoggerWrapper) Debug(msg string, v ...interface{}) {
d.Logger.Debug(msg, v)
}

func (d DubboLoggerWrapper) DebugEnabled() bool {
return true
}

func (d DubboLoggerWrapper) Info(msg string, v ...interface{}) {
d.Logger.Info(msg, v)
}

func (d DubboLoggerWrapper) InfoEnabled() bool {
return true
}

func (d DubboLoggerWrapper) Warn(msg string, v ...interface{}) {
d.Logger.Warn(msg, v)
}

func (d DubboLoggerWrapper) WarnEnabled() bool {
return true
}

func (d DubboLoggerWrapper) Error(err error, msg string, v ...interface{}) {
d.Logger.Error(err, msg, v)
}

func (d DubboLoggerWrapper) ErrorEnabled() bool {
return true
}

func (d DubboLoggerWrapper) Fatal(v ...interface{}) {
d.Logger.Error(v...)
}
Expand Down
41 changes: 21 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
module github.com/apache/dubbo-go

go 1.15

require (
github.com/NYTimes/gziphandler v1.1.1 // indirect
github.com/RoaringBitmap/roaring v0.5.5
github.com/Workiva/go-datastructures v1.0.52
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5
github.com/alibaba/sentinel-golang v0.6.2
github.com/apache/dubbo-getty v1.3.10
github.com/apache/dubbo-go-hessian2 v1.7.0
github.com/alibaba/sentinel-golang v1.0.1
github.com/apache/dubbo-getty v1.4.1
github.com/apache/dubbo-go-hessian2 v1.8.0
github.com/coreos/etcd v3.3.25+incompatible
github.com/creasty/defaults v1.5.1
github.com/dubbogo/go-zookeeper v1.0.2
github.com/dubbogo/gost v1.9.2
github.com/dubbogo/gost v1.10.1
github.com/dubbogo/triple v0.0.0-20210109081225-7eb79b3a65e1
github.com/elazarl/go-bindata-assetfs v1.0.0 // indirect
github.com/emicklei/go-restful/v3 v3.0.0
github.com/emicklei/go-restful/v3 v3.4.0
github.com/frankban/quicktest v1.4.1 // indirect
github.com/fsnotify/fsnotify v1.4.7
github.com/fsnotify/fsnotify v1.4.9
github.com/go-co-op/gocron v0.1.1
github.com/go-resty/resty/v2 v2.3.0
github.com/golang/mock v1.4.4
Expand All @@ -27,32 +30,30 @@ require (
github.com/hashicorp/vault/api v1.0.5-0.20191108163347-bdd38fca2cff // indirect
github.com/hashicorp/vault/sdk v0.1.14-0.20191112033314-390e96e22eb2
github.com/jinzhu/copier v0.0.0-20190625015134-976e0346caa8
github.com/magiconair/properties v1.8.1
github.com/mitchellh/mapstructure v1.3.3
github.com/magiconair/properties v1.8.4
github.com/mitchellh/mapstructure v1.4.0
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/nacos-group/nacos-sdk-go v1.0.1
github.com/nacos-group/nacos-sdk-go v1.0.3
github.com/opentracing/opentracing-go v1.2.0
github.com/pierrec/lz4 v2.2.6+incompatible // indirect
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.1.0
github.com/prometheus/client_golang v1.8.0
github.com/satori/go.uuid v1.2.1-0.20181028125025-b2ce2384e17b
github.com/stretchr/objx v0.2.0 // indirect
github.com/stretchr/testify v1.6.1
github.com/zouyx/agollo/v3 v3.4.5
go.uber.org/atomic v1.6.0
go.etcd.io/bbolt v1.3.4 // indirect
go.uber.org/atomic v1.7.0
go.uber.org/zap v1.16.0
google.golang.org/grpc v1.26.0
gopkg.in/yaml.v2 v2.2.8
golang.org/x/sys v0.0.0-20201223074533-0d417f636930 // indirect
google.golang.org/grpc v1.34.0
google.golang.org/grpc/examples v0.0.0-20210109011638-fb40d83340e8 // indirect
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.16.9
k8s.io/apimachinery v0.16.9
k8s.io/client-go v0.16.9
k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a // indirect
)

replace (
github.com/envoyproxy/go-control-plane => github.com/envoyproxy/go-control-plane v0.8.0
github.com/shirou/gopsutil => github.com/shirou/gopsutil v0.0.0-20181107111621-48177ef5f880
launchpad.net/gocheck => github.com/go-check/check v0.0.0-20140225173054-eb6ee6f84d0a
)

go 1.13
//github.com/coreos/bbolt => go.etcd.io/bbolt v1.3.4
replace github.com/envoyproxy/go-control-plane => github.com/envoyproxy/go-control-plane v0.8.0
Loading