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

merge from 1.5 to 3.0 #1070

Merged
merged 494 commits into from
Mar 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
494 commits
Select commit Hold shift + click to select a range
ac7acc7
fix: fix merge conflict
Dec 28, 2020
8e92b2d
fix: change from trigger to event driven refresh cache
Dec 28, 2020
f466966
ticker refresh chain cache only when needed
Dec 29, 2020
c822cfa
fix: go fmt file
Dec 29, 2020
3cb769a
fix: go fmt project
Dec 29, 2020
56f23ed
fix: fix conflict
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
c1cc113
fix: add router change refresh cache logic
Dec 30, 2020
8d0ccff
fix: ut error
watermelo Dec 30, 2020
482f9dc
feat: router change event driven chain cache refresh
Dec 31, 2020
c634ab2
fix: new base directory func add default chain
Dec 31, 2020
425c03f
Merge pull request #975 from LaurenceLiZhixin/Ftr/grpc-ctx-meta
AlexStocks Dec 31, 2020
4bce431
fix: base directory_test good
Dec 31, 2020
f5030fe
fix: fix test and add another gr to push notify
Dec 31, 2020
c5532cb
fix test notify bug
Dec 31, 2020
b812794
fix test notify bug
Dec 31, 2020
5fe6029
fix: add notify test
Dec 31, 2020
bdd3546
add liner for github action script
cjphaha Jan 1, 2021
94dd46c
Merge pull request #2 from apache/master
jack15083 Jan 1, 2021
4df7595
Merge branch 'develop' of https://github.com/apache/dubbo-go into apa…
Jan 1, 2021
5a8c599
Merge branch 'apache-develop' into develop
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
2ea37cc
修复zk连接丢失服务调不通的bug
Jan 3, 2021
a08392c
fix remoting linter error
AlexStocks Jan 2, 2021
9b94fb0
fix zk reconnect issue
Jan 3, 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
a856678
fix: conflict
LaurenceLiZhixin Jan 4, 2021
9e40791
fix ctx linter error
AlexStocks Jan 4, 2021
b5784d2
fix: fix err
LaurenceLiZhixin 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
e4eb1f6
Merge pull request #944 from georgehao/develop
zouyx Dec 20, 2020
75c693d
Merge pull request #945 from fangyincheng/fix-object
AlexStocks Dec 20, 2020
f11f1f9
fix duplicate error
AlexStocks Jan 4, 2021
111abaa
Update CHANGE.md
zouyx Jan 4, 2021
ded3c49
Merge pull request #879 from watermelo/opt_taskpool
AlexStocks Jan 5, 2021
44bf5e9
Merge pull request #984 from apache/1.5.5
AlexStocks Jan 5, 2021
838c847
Merge pull request #983 from yakecanlee/feature/fix-client-timeout-er…
AlexStocks Jan 5, 2021
e981df8
rollback
Jan 5, 2021
41fd617
Merge branch 'develop'
AlexStocks Jan 5, 2021
ba38dbc
fix refresh cache invoker nil when zk disconnect
Jan 5, 2021
34fa1da
delete travis script
AlexStocks Jan 5, 2021
5d6b250
Merge branch 'develop'
AlexStocks Jan 6, 2021
85a21e8
Merge branch 'develop' into develop
AlexStocks Jan 6, 2021
359482c
优化代码
Jan 7, 2021
e5bee95
fix: lint
LaurenceLiZhixin Jan 7, 2021
84bfb9d
fix: lint
LaurenceLiZhixin Jan 7, 2021
a15546a
fix: lint
LaurenceLiZhixin Jan 7, 2021
0960b23
fix: change trigger
LaurenceLiZhixin Jan 7, 2021
082a0bd
fix: fix lint
LaurenceLiZhixin Jan 7, 2021
e633a73
Merge pull request #981 from lzp0412/develop
AlexStocks Jan 6, 2021
374a01a
Merge pull request #973 from LaurenceLiZhixin/fix/consulUnreg
AlexStocks Jan 10, 2021
d305b67
Merge remote-tracking branch 'upstream/develop' into develop
LaurenceLiZhixin Jan 10, 2021
93168df
fix: fix conflict
LaurenceLiZhixin Jan 10, 2021
34289f4
Fix: go fmt
LaurenceLiZhixin Jan 10, 2021
1ab564f
fix: go mod tidy
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
60415e6
fix golint errors
AlexStocks Jan 9, 2021
6288e18
avoid cache effect event, just for test
mark4z Jan 11, 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
ed0b174
fix
LaurenceLiZhixin Jan 17, 2021
be89b70
fix: chinglish
LaurenceLiZhixin Jan 17, 2021
3dc2f17
Merge remote-tracking branch 'upstream/develop' into develop
LaurenceLiZhixin Jan 17, 2021
833c829
fix
LaurenceLiZhixin Jan 17, 2021
add1618
fix: conflict
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
f634b6c
fix zk reconnect issue
Jan 18, 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
62e95d5
错误日志级别降为warning
Jan 18, 2021
36c0681
Imp: add trim for filter
fangyincheng Jan 20, 2021
0735f8e
优化代码
Jan 21, 2021
4f3d161
fix: delete logic of invocation get invoker
LaurenceLiZhixin Jan 22, 2021
55737aa
Merge remote-tracking branch 'upstream/develop' into develop
LaurenceLiZhixin Jan 22, 2021
ddc7c88
fix: graceful shutdown bug
LaurenceLiZhixin Jan 22, 2021
d9f71f7
fix
LaurenceLiZhixin Jan 22, 2021
1f1bb12
recall ci
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
242462e
add community info
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
30e36d0
Merge branch 'develop' into fix/eventDrivenChainCache
AlexStocks Jan 23, 2021
89f8ac8
优化代码
Jan 24, 2021
2c2c35f
fix: split import block
LaurenceLiZhixin Jan 24, 2021
569bacd
Merge branch 'fix/eventDrivenChainCache' of https://github.com/Lauren…
LaurenceLiZhixin Jan 24, 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
c86547f
Merge branch 'develop' into fix_zk_reconnect_issue
jack15083 Jan 25, 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
78652c7
Refactor Proxy with ImplementFunc to allow override impl
Jan 25, 2021
ca5a470
run go fmt
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
df4ca6d
Merge remote-tracking branch 'apache-dubbogo/master'
Jan 26, 2021
65cd856
Merge remote-tracking branch 'upstream/develop' into develop
LaurenceLiZhixin Jan 26, 2021
39f5bfe
feat: add config api
LaurenceLiZhixin Jan 26, 2021
0135e95
fix: split import block
LaurenceLiZhixin Jan 26, 2021
f671d4b
fix: fmt
LaurenceLiZhixin Jan 26, 2021
cea0a55
fix: add api test
LaurenceLiZhixin Jan 26, 2021
25c1e44
fix: add log to show blacklist changes
LaurenceLiZhixin Jan 26, 2021
042a53f
fix: liscence
LaurenceLiZhixin Jan 26, 2021
04348d5
Merge branch 'develop' into fix/gracefulShutdown
LaurenceLiZhixin Jan 26, 2021
f3ef409
Merge branch 'develop' into feature/cli-support
LaurenceLiZhixin Jan 26, 2021
8df4cea
fix consul security problem
zouyx Jan 26, 2021
9c3ee3a
fix panic when connect to provider fail
wenxuwan Jan 26, 2021
7883fd9
Rename and format code
Jan 27, 2021
8d734cb
Doc: add comments
Jan 27, 2021
8414d85
feat: add ip level self discovery
LaurenceLiZhixin Jan 27, 2021
bfa9f5f
fix panic when close pool
wenxuwan Jan 27, 2021
512b6c6
fix: change comment
LaurenceLiZhixin Jan 27, 2021
d2a40aa
Merge pull request #1015 from apache/dependabot/go_modules/develop/gi…
AlexStocks Jan 25, 2021
6a6e805
fix: change model to self
LaurenceLiZhixin Jan 27, 2021
8354e91
fix: some style bug
LaurenceLiZhixin Jan 27, 2021
e49d2f2
resolve confict
cityiron Jan 29, 2021
1353c33
fix: delete unused gost version
LaurenceLiZhixin Jan 29, 2021
c698ef2
Merge remote-tracking branch 'upstream/develop' into develop
LaurenceLiZhixin Jan 29, 2021
e65c046
Merge branch 'develop' into Ftr/selfDiscovery
LaurenceLiZhixin Jan 29, 2021
b04e7c1
fix: fmt project
LaurenceLiZhixin Jan 29, 2021
17bfc3a
fix: go mod tidy
LaurenceLiZhixin Jan 29, 2021
a5b3ed4
fix: change directory name
LaurenceLiZhixin Jan 29, 2021
5399c8e
fix: delete item in go sun
LaurenceLiZhixin Jan 29, 2021
d826f34
fix
LaurenceLiZhixin Jan 29, 2021
bac1527
support getty send Length, when the data transfer failed and transfer…
cvictory Jan 30, 2021
5c76040
Merge pull request #1021 from wenxuwan/newestVersion
AlexStocks Jan 30, 2021
929daac
Merge pull request #1022 from zouyx/feature/fixConsul
AlexStocks Jan 30, 2021
8b2351b
Merge branch 'develop' into feature/1.5.6
cityiron Jan 30, 2021
17763bf
update go mod
cityiron Jan 30, 2021
fd90e20
fmt
cityiron Jan 30, 2021
890953e
Revert "Fix: consul security problem"
zouyx Jan 31, 2021
58a3fba
fix: change name to self priority router
LaurenceLiZhixin Jan 31, 2021
81b5d08
fix: change name to self priority router
LaurenceLiZhixin Jan 31, 2021
e1484dc
Merge remote-tracking branch 'apache-dubbogo/develop' into fix_zk_rec…
Jan 31, 2021
152d4dd
fix: change name to self priority router
LaurenceLiZhixin Jan 31, 2021
fc20cb5
add some log
cvictory Jan 31, 2021
55b1e4b
resolve consul
cityiron Jan 31, 2021
e1b52d0
fix: change name
LaurenceLiZhixin Feb 1, 2021
c01cea2
Merge pull request #1024 from cityiron/feature/1.5.6
AlexStocks Feb 1, 2021
d7e46dc
远程调用次数变量读取未使用原子操作
sks126 Feb 1, 2021
9b007f0
Merge branch '1.5' into revert-1022-feature/fixConsul
AlexStocks Feb 1, 2021
96a2c92
Merge pull request #1029 from apache/revert-1022-feature/fixConsul
AlexStocks Feb 1, 2021
48de79c
Merge pull request #1034 from lin-jianjun/1.5
AlexStocks Feb 1, 2021
d52b7bf
add read configuration from the command line when start
cjphaha Feb 1, 2021
a29700a
fix git checkout error
cjphaha Feb 1, 2021
93d25b5
ftr: add read registry ip and port from env
LaurenceLiZhixin Feb 2, 2021
fdd545b
merge community code and fix conflict
cvictory Feb 2, 2021
0abac1d
Merge pull request #1028 from cvictory/feature/getty_write_length
AlexStocks Feb 2, 2021
18ab1c4
fix: add comment
LaurenceLiZhixin Feb 2, 2021
ab56cd8
优化代码
Feb 2, 2021
ca32dcd
mod keep the original way to get the path of the configuration file
cjphaha Feb 2, 2021
6a63a99
Merge pull request #985 from jack15083/fix_zk_reconnect_issue
AlexStocks Feb 3, 2021
7d673d1
Merge remote-tracking branch 'apache-dubbogo/develop' into fix_generi…
Feb 3, 2021
16c301d
还原
Feb 3, 2021
f7e31c4
fix generic map issue
Feb 3, 2021
52fc46b
Merge pull request #1041 from jack15083/fix_generic_map_issue
AlexStocks Feb 3, 2021
0362da9
replace ci icon
xiaoliu10 Feb 3, 2021
e396a96
replace ci icon
xiaoliu10 Feb 3, 2021
3ae865a
Merge pull request #818 from LaurenceLiZhixin/feature/cli-support
cityiron Feb 3, 2021
e5d53ca
fix: change notify chain
LaurenceLiZhixin Feb 3, 2021
edd99f5
fix: range
LaurenceLiZhixin Feb 3, 2021
2126ce0
Merge pull request #1039 from cjphaha/develop
AlexStocks Feb 3, 2021
7d0b63a
Merge pull request #1019 from yongjiapro/refactor/proxy-impl
cityiron Feb 4, 2021
9c3bd0e
Merge pull request #1043 from xiaoliu10/replace_ci_icon
AlexStocks Feb 4, 2021
93094ed
fix: cr
LaurenceLiZhixin Feb 5, 2021
498a8f8
Merge pull request #1043 from xiaoliu10/replace_ci_icon
AlexStocks Feb 4, 2021
6ad4ede
Merge pull request #976 from LaurenceLiZhixin/fix/eventDrivenChainCache
cityiron Feb 7, 2021
790b353
replace id to path
Patrick0308 Feb 7, 2021
c29026c
replace id to path
Patrick0308 Feb 7, 2021
004e160
Merge pull request #1046 from Patrick0308/fix-path-in-rest
cityiron Feb 8, 2021
d330894
Bump actions/cache from v2 to v2.1.4
dependabot[bot] Feb 8, 2021
58efd7b
Bump github.com/nacos-group/nacos-sdk-go from 1.0.5 to 1.0.6
dependabot[bot] Feb 8, 2021
c3b3b56
Update: improve dubbogo motto
AlexStocks Feb 9, 2021
2a3269a
fix: add comment
LaurenceLiZhixin Feb 10, 2021
fa5c18e
destroy invoker smoothly
AlexStocks Feb 6, 2021
d84ece5
using lock instead atomic reqNum
AlexStocks Feb 10, 2021
9605504
Rft: remove trailing whitespace
jbampton Feb 12, 2021
9f89759
docs: fix grammar and fix links
jbampton Feb 12, 2021
99ed78f
goland always format go.mod automatically
Patrick0308 Feb 20, 2021
cf2ffd4
Merge remote-tracking branch 'upstream/1.5' into 1.5
Patrick0308 Feb 20, 2021
9c8fc77
Revert "goland always format go.mod automatically"
Patrick0308 Feb 20, 2021
3c68eee
format go.mod for goland
Patrick0308 Feb 20, 2021
2ef29cb
up change.md
cityiron Feb 21, 2021
5051104
test up to 1.5.6
cityiron Feb 21, 2021
4da8511
update test
cityiron Feb 21, 2021
c89648e
Stop Integration Test
cityiron Feb 21, 2021
490f70b
Merge pull request #1059 from cityiron/1.5.6-change-list
cityiron Feb 21, 2021
aee0823
update gost version in dubbogo-cli
Patrick0308 Feb 22, 2021
a920b27
replace bbolt version in dubbogo-cli
Patrick0308 Feb 22, 2021
0b1ec2c
Merge pull request #1050 from jbampton/fix-links
AlexStocks Feb 22, 2021
d72fcd4
Merge pull request #1049 from jbampton/remove-trailing-whitespace
AlexStocks Feb 22, 2021
7d52dd1
Merge pull request #1045 from apache/feature/dubbo_invoker_reqnum
AlexStocks Feb 22, 2021
3b58d24
Merge pull request #1048 from apache/dependabot/go_modules/develop/gi…
AlexStocks Feb 22, 2021
9113096
Merge pull request #1047 from apache/dependabot/github_actions/develo…
AlexStocks Feb 23, 2021
8dcef26
Merge pull request #1058 from Patrick0308/1.5
AlexStocks Feb 23, 2021
e3d1fb5
Merge pull request #1036 from LaurenceLiZhixin/Ftr/registryIp
AlexStocks Feb 23, 2021
e92358f
Merge pull request #1007 from LaurenceLiZhixin/fix/gracefulShutdown
AlexStocks Feb 23, 2021
96e3f2b
Merge pull request #1020 from LaurenceLiZhixin/feat/config-api
AlexStocks Feb 25, 2021
051cfb2
fix: change name to local
LaurenceLiZhixin Feb 25, 2021
8a817a5
fix: fix merge conflict
LaurenceLiZhixin Feb 25, 2021
56c9324
Merge pull request #1062 from LaurenceLiZhixin/Ftr/selfDiscovery
AlexStocks Feb 25, 2021
a9b7bf2
fix: fix bugs caused by 1.5
LaurenceLiZhixin Feb 25, 2021
7e8de41
fix: time bug
LaurenceLiZhixin Feb 25, 2021
f1f81eb
Merge pull request #1063 from LaurenceLiZhixin/Ftr/selfDiscovery
AlexStocks Feb 25, 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/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Thanks for sending a pull request!
Read https://github.com/apache/dubbo-go/blob/master/contributing.md before commit pull request.
Read https://github.com/apache/dubbo-go/blob/master/contributing.md before commit pull request.
-->

**What this PR does**:
Expand Down
6 changes: 4 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ updates:
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
interval: "weekly"
target-branch: "develop"

- package-ecosystem: "github-actions"
# Workflow files stored in the
# default location of `.github/workflows`
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
target-branch: "develop"
59 changes: 15 additions & 44 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/checkout@v2

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v2.1.4
with:
# Cache
path: ~/go/pkg/mod
Expand All @@ -54,57 +54,28 @@ jobs:
go get -v -t -d ./...
fi

- name: gofmt
run: |
go fmt ./... && git checkout -- go.mod && git status && [[ -z `git status -s` ]]
# diff -u <(echo -n) <(gofmt -d -s .)

- name: Install go ci lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0

- name: Run Linter
run: golangci-lint run --timeout=10m -v

- name: Verify
run: |
make verify

- name: Integrate Test
run: |
chmod +x integrate_test.sh && ./integrate_test.sh
# - name: Integrate Test
# run: |
# chmod +x integrate_test.sh && ./integrate_test.sh ${{github.event.pull_request.head.repo.full_name}} ${{github.event.pull_request.head.sha}}

- name: Post Coverage
run: bash <(curl -s https://codecov.io/bash)

- name: Hello world
run: echo Hello world ${{ secrets.DING_TOKEN }} ${{ secrets.DING_SIGN }}

# Because the contexts of push and PR are different, there are two Notify.
# Notifications are triggered only in the dubbogo/gost repository.
- name: DingTalk Message Notify only Push
uses: zcong1993/actions-ding@v3.0.1
# Whether job is successful or not, always () is always true.
if: |
always() &&
github.event_name == 'push' &&
github.repository == 'apache/dubbo-go'
with:
# DingDing bot token
dingToken: ${{ env.DING_TOKEN }}
secret: ${{ env.DING_SIGN }}
# Post Body to send
body: |
{
"msgtype": "markdown",
"markdown": {
"title": "Github Actions",
"text": "## Github Actions \n - name: CI \n - repository: ${{ github.repository }} \n - trigger: ${{ github.actor }} \n - event: ${{ github.event_name }} \n - ref: ${{ github.ref }} \n - status: [${{ job.status }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) \n - environment: ${{ runner.os }} \n > SHA: [${{ github.sha }}](${{ github.event.compare }})"
}
}

- name: DingTalk Message Notify only PR
uses: zcong1993/actions-ding@v3.0.1
if: |
always() &&
github.event_name == 'pull_request' &&
github.repository == 'dubbogo/gost'
with:
dingToken: ${{ env.DING_TOKEN }}
secret: ${{ env.DING_SIGN }}
body: |
{
"msgtype": "markdown",
"markdown": {
"title": "Github Actions",
"text": "## Github Actions \n - name: CI \n - repository: ${{ github.repository }} \n - pr_title: **${{ github.event.pull_request.title }}** \n - trigger: ${{ github.actor }} \n - event: ${{ github.event_name }} \n - ref: [${{ github.ref }}](${{ github.event.pull_request._links.html.href }}) \n - status: [${{ job.status }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) \n - environment: ${{ runner.os }} \n > SHA: [${{ github.sha }}](${{ github.event.pull_request._links.html.href }})"
}
}
63 changes: 63 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
linters-settings:
govet:
check-shadowing: true
golint:
min-confidence: 0
gocyclo:
min-complexity: 10
maligned:
suggest-new: true
dupl:
threshold: 100
goconst:
min-len: 2
min-occurrences: 2
depguard:
list-type: blacklist
packages:
# logging is allowed only by logutils.Log, logrus
# is allowed to use only in logutils package
- github.com/sirupsen/logrus
misspell:
locale: US
lll:
line-length: 140
goimports:
local-prefixes: github.com/golangci/golangci-lint
gocritic:
enabled-tags:
- performance
- style
- experimental
disabled-checks:
- wrapperFunc

linters:
disable-all: true
enable:
- govet
- staticcheck
- ineffassign
- misspell

run:
skip-dirs:
- test/testdata_etc
- pkg/golinters/goanalysis/(checker|passes)

issues:
exclude-rules:
- text: "weak cryptographic primitive"
linters:
- gosec
- linters:
- staticcheck
text: "SA1019:"

# golangci.com configuration
# https://github.com/golangci/golangci/wiki/Configuration
service:
golangci-lint-version: 1.15.x # use the fixed version to not introduce new linters unexpectedly
prepare:
- echo "here I can run custom commands, but no preparation needed for this repo"

27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

117 changes: 115 additions & 2 deletions CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,125 @@
# Release Notes
---
## 1.5.6

### New Features
- [Add dubbo-go-cli telnet tool](https://github.com/apache/dubbo-go/pull/818)
- [Add Prox ImplementFunc to allow override impl](https://github.com/apache/dubbo-go/pull/1019)
- [Add read configuration path from the command line when start](https://github.com/apache/dubbo-go/pull/1039)

### Enhancement
- [introduce ConfigPostProcessor extension](https://github.com/apache/dubbo-go/pull/943)
- [Impl extension of two urls comparison](https://github.com/apache/dubbo-go/pull/854)
- [using event-driven to let router send signal to notify channel](https://github.com/apache/dubbo-go/pull/976)
- [lint codes](https://github.com/apache/dubbo-go/pull/941)

### Bugfixes
- [Fix: generic struct2MapAll key of map keep type](https://github.com/apache/dubbo-go/pull/928)
- [Fix: when events empty, delete all the invokers](https://github.com/apache/dubbo-go/pull/758)
- [Fix: file service discovery run in windows](https://github.com/apache/dubbo-go/pull/932)
- [Fix: make metadata report work without serviceDiscovery](https://github.com/apache/dubbo-go/pull/948)
- [Fix: consumer invoker cache set nil after the ZK connection is lost](https://github.com/apache/dubbo-go/pull/985)
- [Fix: integration test in Github action](https://github.com/apache/dubbo-go/pull/1012)
- [Fix: etcd exit panic](https://github.com/apache/dubbo-go/pull/1013)
- [Fix: when connect to provider fail, will occur panic](https://github.com/apache/dubbo-go/pull/1021)
- [Fix: support getty send Length, when the data transfer failed](https://github.com/apache/dubbo-go/pull/1028)

Milestone: [https://github.com/apache/dubbo-go/milestone/7](https://github.com/apache/dubbo-go/milestone/7?closed=1)

## 1.5.5

### New Features
- [Add Address notification batch mode](https://github.com/apache/dubbo-go/pull/741)
- [Add dubbo-gen stream support](https://github.com/apache/dubbo-go/pull/794)
- [Add Change verify to Makefile](https://github.com/apache/dubbo-go/pull/831)
- [Add more automatic components](https://github.com/apache/dubbo-go/pull/832)
- [Add grpc max message size config](https://github.com/apache/dubbo-go/pull/824)

### Enhancement
- [when it need local ip, it will get it every time. We can get local ip once, and reused it](https://github.com/apache/dubbo-go/pull/807)
- [enhance client's connectivity](https://github.com/apache/dubbo-go/pull/800)
- [Imp: get local ip once and reused it](https://github.com/apache/dubbo-go/pull/808)
- [Remove unmeaning logic](https://github.com/apache/dubbo-go/pull/855)

### Bugfixes
- [Fix: nacos registry can not get namespaceId](https://github.com/apache/dubbo-go/pull/778) [@peaman](https://github.com/peaman)
- [Fix: url encode](https://github.com/apache/dubbo-go/pull/802)
- [Fix: try to fix too many files open error](https://github.com/apache/dubbo-go/pull/797)
- [Fix: refact heartbeat](https://github.com/apache/dubbo-go/pull/889)
- [Fix: router_config add &url to url](https://github.com/apache/dubbo-go/pull/910)
- [Fix: Router chain can not build immediately when started](https://github.com/apache/dubbo-go/pull/927)
- [Fix: client block until timeout when provider return with PackageResponse_Exception](https://github.com/apache/dubbo-go/pull/926)
- [Fix: URL.String() data race panic](https://github.com/apache/dubbo-go/pull/944)
- [Fix: generic "encode hessian.Object"](https://github.com/apache/dubbo-go/pull/945)

### Dependencies
- [Bump github.com/mitchellh/mapstructure from 1.2.3 to 1.3.3](https://github.com/apache/dubbo-go/pull/838)
- [Bump github.com/go-resty/resty/v2 from 2.1.0 to 2.3.0](https://github.com/apache/dubbo-go/pull/837)
- [Bump github.com/opentracing/opentracing-go from 1.1.0 to 1.2.0](https://github.com/apache/dubbo-go/pull/836)
- [Bump github.com/creasty/defaults from 1.3.0 to 1.5.1](https://github.com/apache/dubbo-go/pull/835)
- [Bump github.com/dubbogo/gost from 1.9.1 to 1.9.2](https://github.com/apache/dubbo-go/pull/834)
- [Bump github.com/zouyx/agollo/v3 from 3.4.4 to 3.4.5](https://github.com/apache/dubbo-go/pull/845)
- [Bump github.com/golang/mock from 1.3.1 to 1.4.4](https://github.com/apache/dubbo-go/pull/844)
- [Bump github.com/nacos-group/nacos-sdk-go from 1.0.0 to 1.0.1](https://github.com/apache/dubbo-go/pull/843)
- [Bump github.com/magiconair/properties from 1.8.1 to 1.8.4](https://github.com/apache/dubbo-go/pull/861)
- [Bump github.com/prometheus/client_golang from 1.1.0 to 1.8.0 ](https://github.com/apache/dubbo-go/pull/860)
- [Bump go.uber.org/atomic from 1.6.0 to 1.7.0](https://github.com/apache/dubbo-go/pull/859)
- [](https://github.com/apache/dubbo-go/pull/843)

Milestone: [https://github.com/apache/dubbo-go/milestone/5](https://github.com/apache/dubbo-go/milestone/5?closed=1)

## 1.4.5

### Bugfixes
- [Fix too many files open error](https://github.com/apache/dubbo-go/pull/828) [@wenxuwan](https://github.com/wenxuwan) Milestone: [https://github.com/apache/dubbo-go/milestone/6](https://github.com/apache/dubbo-go/milestone/6?closed=1)

## 1.5.4

### Bugfixes
- [Fix etcd cluster reconnect](https://github.com/apache/dubbo-go/pull/828)
- [Fix zookeeper deadlock problem](https://github.com/apache/dubbo-go/pull/826)
- [Fix generic struct2MapAll](https://github.com/apache/dubbo-go/pull/822)
- [Fix Consumer panic when restart provider](https://github.com/apache/dubbo-go/pull/803)
- [Fix etcd can not registry](https://github.com/apache/dubbo-go/pull/819) [@lin-jianjun](https://github.com/lin-jianjun)
- [Fix cannot call go provider service when used by java dubbo 2.7.7 version](https://github.com/apache/dubbo-go/pull/815) [@jack15083](https://github.com/jack15083)
- [Fix go client quit abnormally when it connects java server](https://github.com/apache/dubbo-go/pull/820) [@wenxuwan](https://github.com/wenxuwan)
- [Fix sentinel windows issue](https://github.com/apache/dubbo-go/pull/821) [@louyuting](https://github.com/louyuting)
- [Fix metadata default port](https://github.com/apache/dubbo-go/pull/821) [@sanxun0325](https://github.com/sanxun0325)
- [Fix consul can not destory](https://github.com/apache/dubbo-go/pull/788) [@LaurenceLiZhixin](https://github.com/LaurenceLiZhixin)

Milestone: [https://github.com/apache/dubbo-go/milestone/6](https://github.com/apache/dubbo-go/milestone/6?closed=1)

## 1.5.3

### New Features
- [Add consul service discovery](https://github.com/apache/dubbo-go/pull/701) [@zhangshen023](https://github.com/zhangshen023)
- [Add File system service discovery](https://github.com/apache/dubbo-go/pull/732) [@DogBaoBao](https://github.com/DogBaoBao)
- [Migrate travis Ci to Github Actions](https://github.com/apache/dubbo-go/pull/752) [@sdttttt](https://github.com/sdttttt)
- [Add sentinel-golang flow control/circuit breaker](https://github.com/apache/dubbo-go/pull/748) [@louyuting](https://github.com/louyuting)
- [Add dubbo-go docs and blog into doc directory](https://github.com/apache/dubbo-go/pull/767) [@oaoit](https://github.com/oaoit)

### Enhancement
- [Add address notification batch mode](https://github.com/apache/dubbo-go/pull/741) [@beiwei30](https://github.com/beiwei30)
- [Refactor network and codec model](https://github.com/apache/dubbo-go/pull/673) [@fangyincheng](https://github.com/fangyincheng) [@georgehao](https://github.com/georgehao)
- [Remove unnecessary return and judgement](https://github.com/apache/dubbo-go/pull/730) [@YongHaoWu](https://github.com/YongHaoWu)
- [Improve exporter append method](https://github.com/apache/dubbo-go/pull/722) [@gaoxinge](https://github.com/gaoxinge)
- [Refactor for proxyInvoker cannot be extended](https://github.com/apache/dubbo-go/pull/747) [@cvictory](https://github.com/cvictory)
- [Refactor attachment type from map\[string\]stiring to map\[string\]interface{}](https://github.com/apache/dubbo-go/pull/713) [@cvictory](https://github.com/cvictory)
- [Improve map access concurrency](https://github.com/apache/dubbo-go/pull/739) [@skyao](https://github.com/skyao)
- [Improve code quantity](https://github.com/apache/dubbo-go/pull/763) [@gaoxinge](https://github.com/gaoxinge)

### Bugfixes
- [Fix etcdv3 lease](https://github.com/apache/dubbo-go/pull/738) [@zhangshen023](https://github.com/zhangshen023)
- [Fix rename SethealthChecker to SetHealthChecker](https://github.com/apache/dubbo-go/pull/746) [@watermelo](https://github.com/watermelo)
- [Fix init config problem in HystrixFilter](https://github.com/apache/dubbo-go/pull/731) [@YGrylls](https://github.com/YGrylls)
- [Fix zookeeper listener report error after started](https://github.com/apache/dubbo-go/pull/735) [@wenxuwan](https://github.com/wenxuwan)

Milestone: [https://github.com/apache/dubbo-go/milestone/4](https://github.com/apache/dubbo-go/milestone/4?closed=1)

Project: [https://github.com/apache/dubbo-go/projects/10](https://github.com/apache/dubbo-go/projects/10)

## 1.5.4

### Bugfixes
- [Fix etcd cluster reconnect](https://github.com/apache/dubbo-go/pull/828)
- [Fix zookeeper deadlock problem](https://github.com/apache/dubbo-go/pull/826)
Expand Down Expand Up @@ -171,7 +284,7 @@ Project: [https://github.com/apache/dubbo-go/projects/8](https://github.com/apac
- [Add grpc protocol](https://github.com/apache/dubbo-go/pull/311)

### Enhancement

- [The SIGSYS and SIGSTOP are not supported in windows platform](https://github.com/apache/dubbo-go/pull/262)
- [Error should be returned when `NewURL` failed](https://github.com/apache/dubbo-go/pull/266)
- [Split config center GetConfig method](https://github.com/apache/dubbo-go/pull/267)
Expand All @@ -181,7 +294,7 @@ Project: [https://github.com/apache/dubbo-go/projects/8](https://github.com/apac
- [Change zk version and add base_registry](https://github.com/apache/dubbo-go/pull/355)

### Bugfixes

- [Fix negative wait group count](https://github.com/apache/dubbo-go/pull/253)
- [After disconnection with ZK registry, cosumer can't listen to provider changes](https://github.com/apache/dubbo-go/pull/258)
- [The generic filter and default reference filters lack ','](https://github.com/apache/dubbo-go/pull/260)
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache Dubbo-go
Copyright 2018-2020 The Apache Software Foundation
Copyright 2018-2021 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Loading