You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by xi...@apache.org on 2019/11/23 06:28:42 UTC
[dubbo-go] branch develop updated (52cce96 -> 4f25df1)
This is an automated email from the ASF dual-hosted git repository.
xinminghe pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git.
from 52cce96 Mod: format feature list
new 7aa4218 Final version
new deec46e Fix BUG & DEBUG
new 9e9fc3c Fix BUG
new 634aeac Add:File License
new b5dfb5e Adding GracefulShutdownFilter
new df91a1c put shutdown filter into default filter
new 2eca338 Add UT for shutdown_config
new 5289c06 Add UT
new a993531 Fix UT
new af9741a Finish Test
new 3422685 Add Configuration example
new a17a95a Fix review comments
new d7b5f50 fix review comment
new 4f25df1 Merge pull request #255 from flycash/feature/GracefulExit
The 1092 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
before_ut.bat | 16 ++
before_ut.sh | 17 ++
common/constant/default.go | 4 +-
common/constant/key.go | 3 +
.../{loadbalance.go => graceful_shutdown.go} | 35 +++-
config/base_config_test.go | 8 +
config/config_loader.go | 2 +
config/consumer_config.go | 11 +-
config/graceful_shutdown.go | 231 +++++++++++++++++++++
config/graceful_shutdown_config.go | 82 ++++++++
...ls_test.go => graceful_shutdown_config_test.go} | 28 ++-
config/graceful_shutdown_test.go | 99 +++++++++
config/provider_config.go | 2 +
config/provider_config_test.go | 17 ++
config/testdata/consumer_config.yml | 4 +
.../testdata/consumer_config_with_configcenter.yml | 4 +
.../testdata/consumer_config_withoutProtocol.yml | 4 +
config/testdata/provider_config.yml | 4 +
.../testdata/provider_config_withoutProtocol.yml | 4 +
dubbogo.png | Bin 58085 -> 0 bytes
filter/impl/graceful_shutdown_filter.go | 87 ++++++++
filter/impl/graceful_shutdown_filter_test.go | 76 +++++++
go.sum | 4 -
protocol/mock/mock_invoker.go | 16 ++
registry/etcdv3/listener.go | 17 ++
registry/etcdv3/listener_test.go | 17 ++
registry/etcdv3/registry.go | 17 ++
registry/etcdv3/registry_test.go | 17 ++
registry/nacos/listener.go | 17 ++
registry/nacos/registry.go | 17 ++
registry/nacos/registry_test.go | 17 ++
registry/zookeeper/listener.go | 2 +-
remoting/etcdv3/client.go | 17 ++
remoting/etcdv3/client_test.go | 17 ++
remoting/etcdv3/facade.go | 17 ++
remoting/etcdv3/listener.go | 17 ++
remoting/etcdv3/listener_test.go | 17 ++
37 files changed, 931 insertions(+), 33 deletions(-)
copy common/extension/{loadbalance.go => graceful_shutdown.go} (50%)
create mode 100644 config/graceful_shutdown.go
create mode 100644 config/graceful_shutdown_config.go
copy config/{config_utils_test.go => graceful_shutdown_config_test.go} (62%)
create mode 100644 config/graceful_shutdown_test.go
delete mode 100644 dubbogo.png
create mode 100644 filter/impl/graceful_shutdown_filter.go
create mode 100644 filter/impl/graceful_shutdown_filter_test.go