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 2020/04/09 06:30:31 UTC
[dubbo-go] branch feature/dubbo-2.7.5 updated (e4e5ff7 -> a594afd)
This is an automated email from the ASF dual-hosted git repository.
xinminghe pushed a change to branch feature/dubbo-2.7.5
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git.
from e4e5ff7 Merge pull request #461 from flycash/nacos-discovery
add f8c3aed Mod: readme.md & change.md
add 5267222 Merge pull request #448 from fangyincheng/develop
add ce2155e Mod:enhance url init code
add 9102dd8 Mod:format code
add 7903d54 Del:rm osx in travis.yml
add 9a2cc81 Merge pull request #443 from hxmhlt/code_enhance_of_urlinit
add 09db044 Mod:release key
add c43d705 Merge pull request #452 from hxmhlt/code_enhance_of_urlinit
add 3ce0905 parent bde7db3b33067ee4115ea3f8666ec1169226a5de author pantianying <60...@qq.com> 1583982179 +0800 committer pantianying <60...@qq.com> 1584417587 +0800
add 6ee83c7 repair according to code review
add 31bc678 Improved code style
add 9edd794 complement UT
add 50a1609 code optimization
add 030a008 add comment for tagRouter Create
add ffd7685 add comment
add 4ca4e0c delete router util
add 49223eb fix import
add 9002b99 Merge pull request #415 from pantianying/tagRouter
add c0d143f add license checker
add 010b249 add license checker to travis
add 5b7790c fix travis problem
add cd23859 fix script download problem
add 334774e fix validate script problem
add 85b5500 fix validate script problem
add 21aa371 add before validate script and fix travis problem
add 59e4497 fix travis problem
add 913ebac fix travis validate license problem
add 9ec288f Merge branch 'develop' into feature/addLicenseChecker
add bdfc980 fix travis problem and test license checker
add 9900e4d add ignore file to .gitignore
add 83f1285 put validate license before before_ut.sh
add a4423a3 Update .travis.yml
add cfc29d4 Update config_reader.go
add 7fbea82 modify .gitignore
add 0a6462c debug travis
add c6b781c modify travis script
add ef257b6 modify travis script
add 2d90871 Update .travis.yml
add b4df9ad Update .gitignore
add a17dfd6 move checker to /tmp
add 4c6d523 delete old lisence
add 2a60e2b Merge pull request #433 from zouyx/feature/addLicenseChecker
add 4657f3d Add: GetInterface for rpc_service.go
add 04ee0b9 Mod: fix comments
add 1479852 Merge pull request #454 from fangyincheng/improve-rpcservice
add c25cfee optimized code
add cf0961c use adapter model to modify restServer
add f8e2978 remove adapter
add baa1125 optimize header transmit in RestClient and RestServer
add dacdada add some comments
add e7999f5 modify some comments and when parsing parameters occurred error, return error immediately
add a606b64 modify comments
add 6bd3ac6 remove new function
add dcc2d26 modify some comments
add ad958fa modify some comments and modify some logger's message
add 97c9c22 upgrade the dubbo-go architecture png
add ee40cd4 changed the architecture png
add f94b4ff changed some short naming
add b910c18 add the architecture extend png.
add 9340e82 Merge pull request #457 from Isaac-Zhang/develop
add e151ab2 Fix: bug of subscribe
add 2bdbce5 Fix: bug of subscribe
add 805ffd6 Merge pull request #462 from hxmhlt/fix_subscribe_bug
add 487c8b7 Mod: README.md
add 6c0afbe Merge pull request #463 from fangyincheng/modify-readme
add b2f70f6 Merge branch 'develop' into rest-modify
add 7a5b916 optimized code
add 183b70a remove the category
add 57c58d8 remove the reference url category
add 7ab3493 Merge pull request #460 from Patrick0308/rest-modify
add 64d8751 Fix: remove category key
add 284aa48 Merge pull request #465 from hxmhlt/rm_category_key
add e10ef06 Modify registryProtocol as a singleton to fix graceful shutdown
add d3f3af0 fix notification confusion caused by multiple references sharing the same zk listener
add db27238 fix fmt failure
add 5e99201 use the once.do to init the registryprotocol
add 8588bda use the once.do to init the registryprotocol
add 7a17cab add mutex when use subscribed map
add 43972d9 fix comments
add 2d14439 fix comments
add 319ca56 fix comments
add 52354fb fix the zk HandleClientRestart issues
add 9657b39 change some comments
add c808d5c change some comments
add 774bd01 remove unused import
add 68cc420 remove consumer category in referenceConfig
add ff0f376 fix not delete the node when shutdown gracefully and compare the path when subscribe the providers
add a530ed5 rm debug logs and fix ut
add 08e9d84 fix ut
add bda0ddc Merge pull request #432 from CodingSinger/BUG_FIX
add ae5ec56 Merge branch 'feature/dubbo-2.7.5' into develop
new a594afd Merge pull request #470 from apache/develop
The 1 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:
.travis.yml | 6 +-
CHANGE.md | 1 +
README.md | 15 +-
README_CN.md | 16 +-
before_validate_license.sh | 26 ++
cluster/cluster_impl/available_cluster.go | 30 +--
cluster/cluster_impl/available_cluster_invoker.go | 30 +--
.../cluster_impl/available_cluster_invoker_test.go | 30 +--
cluster/cluster_impl/broadcast_cluster.go | 30 +--
cluster/cluster_impl/broadcast_cluster_invoker.go | 30 +--
.../cluster_impl/broadcast_cluster_invoker_test.go | 30 +--
cluster/cluster_impl/failback_cluster_test.go | 30 +--
cluster/cluster_impl/failfast_cluster.go | 30 +--
cluster/cluster_impl/failfast_cluster_invoker.go | 30 +--
cluster/cluster_impl/failfast_cluster_test.go | 30 +--
cluster/cluster_impl/failsafe_cluster_test.go | 30 +--
cluster/cluster_impl/forking_cluster.go | 30 +--
cluster/cluster_impl/forking_cluster_invoker.go | 30 +--
cluster/cluster_impl/forking_cluster_test.go | 30 +--
cluster/router/condition/app_router_test.go | 2 +-
cluster/router/condition/file.go | 2 +-
cluster/router/condition/listenable_router.go | 2 +-
cluster/router/condition/router.go | 9 +-
cluster/router/condition/router_rule.go | 20 +-
cluster/router/condition/router_rule_test.go | 14 +-
cluster/router/match/match_utils.go | 63 -----
cluster/router/match/match_utils_test.go | 46 ----
cluster/router/router.go | 2 +-
cluster/router/{healthcheck => tag}/factory.go | 24 +-
.../router/tag/factory_test.go | 19 +-
cluster/router/tag/file.go | 82 ++++++
cluster/router/{condition => tag}/file_test.go | 50 ++--
cluster/router/{condition => tag}/router_rule.go | 29 +-
.../router/tag/router_rule_test.go | 17 +-
cluster/router/tag/tag_router.go | 94 +++++++
cluster/router/tag/tag_router_test.go | 147 ++++++++++
common/constant/key.go | 12 +-
common/extension/auth.go | 17 ++
common/extension/router_factory.go | 6 +-
common/rpc_service.go | 82 ++++--
common/rpc_service_test.go | 22 +-
common/yaml/yaml.go | 4 +
common/yaml/yaml_test.go | 12 +
config/config_loader.go | 2 +-
config/config_loader_test.go | 7 +-
config/interfaces/config_reader.go | 17 ++
config/reference_config.go | 9 +-
...condition_router_config.go => router_config.go} | 5 +-
...router_config_test.go => router_config_test.go} | 0
config/service_config.go | 10 +-
config_center/apollo/factory.go | 30 +--
config_center/apollo/impl.go | 30 +--
config_center/apollo/listener.go | 30 +--
config_center/zookeeper/impl.go | 4 +-
doc/pic/arch/dubbo-go-arch.png | Bin 215602 -> 131372 bytes
doc/pic/arch/dubbo-go-ext.png | Bin 0 -> 122231 bytes
filter/filter_impl/active_filter_test.go | 17 ++
filter/filter_impl/generic_service_filter_test.go | 2 +-
filter/filter_impl/token_filter.go | 30 +--
filter/filter_impl/token_filter_test.go | 30 +--
filter/filter_impl/tps/tps_limit_strategy_mock.go | 31 +--
filter/filter_impl/tps/tps_limiter_mock.go | 31 +--
filter/handler/rejected_execution_handler_mock.go | 31 +--
protocol/dubbo/client_test.go | 2 +-
protocol/dubbo/dubbo_exporter.go | 3 +-
protocol/grpc/client.go | 30 +--
protocol/grpc/client_test.go | 30 +--
protocol/grpc/common_test.go | 30 +--
protocol/grpc/grpc_exporter.go | 33 +--
protocol/grpc/grpc_invoker.go | 30 +--
protocol/grpc/grpc_invoker_test.go | 30 +--
protocol/grpc/grpc_protocol.go | 30 +--
protocol/grpc/grpc_protocol_test.go | 30 +--
protocol/grpc/internal/client.go | 30 +--
protocol/grpc/internal/doc.go | 30 +--
protocol/grpc/internal/helloworld.pb.go | 30 +--
protocol/grpc/internal/server.go | 30 +--
.../protoc-gen-dubbo/examples/helloworld.pb.go | 30 +--
protocol/grpc/protoc-gen-dubbo/main.go | 30 +--
protocol/grpc/protoc-gen-dubbo/plugin/dubbo/doc.go | 30 +--
.../grpc/protoc-gen-dubbo/plugin/dubbo/dubbo.go | 30 +--
protocol/grpc/server.go | 30 +--
protocol/jsonrpc/http_test.go | 2 +-
protocol/jsonrpc/jsonrpc_exporter.go | 3 +-
protocol/jsonrpc/jsonrpc_invoker_test.go | 2 +-
protocol/mock/mock_invoker.go | 31 +--
protocol/rest/client/client_impl/resty_client.go | 16 +-
protocol/rest/client/rest_client.go | 12 +-
protocol/rest/rest_exporter.go | 3 +-
protocol/rest/rest_invoker.go | 26 +-
protocol/rest/rest_invoker_test.go | 4 +-
protocol/rest/rest_protocol.go | 4 +-
protocol/rest/rest_protocol_test.go | 4 +-
protocol/rest/server/rest_server.go | 297 ++++++++++++++++++++-
.../rest/server/server_impl/go_restful_server.go | 291 +++++---------------
protocol/rpc_status_test.go | 17 ++
registry/base_registry.go | 19 +-
registry/directory/directory.go | 5 +-
registry/etcdv3/registry.go | 4 +-
registry/etcdv3/registry_test.go | 2 +-
registry/kubernetes/registry.go | 5 +-
registry/protocol/protocol.go | 11 +-
registry/zookeeper/listener.go | 71 +++--
registry/zookeeper/listener_test.go | 8 +-
registry/zookeeper/registry.go | 96 ++++---
registry/zookeeper/registry_test.go | 2 +-
remoting/zookeeper/client.go | 12 +-
remoting/zookeeper/facade.go | 4 +-
remoting/zookeeper/facade_test.go | 12 +-
remoting/zookeeper/listener.go | 22 +-
remoting/zookeeper/listener_test.go | 2 +-
111 files changed, 1886 insertions(+), 1196 deletions(-)
create mode 100644 before_validate_license.sh
delete mode 100644 cluster/router/match/match_utils.go
delete mode 100644 cluster/router/match/match_utils_test.go
copy cluster/router/{healthcheck => tag}/factory.go (61%)
copy config_center/parser/configuration_parser_test.go => cluster/router/tag/factory_test.go (68%)
create mode 100644 cluster/router/tag/file.go
copy cluster/router/{condition => tag}/file_test.go (53%)
copy cluster/router/{condition => tag}/router_rule.go (71%)
copy config/metric_config_test.go => cluster/router/tag/router_rule_test.go (75%)
create mode 100644 cluster/router/tag/tag_router.go
create mode 100644 cluster/router/tag/tag_router_test.go
rename config/{condition_router_config.go => router_config.go} (89%)
rename config/{condition_router_config_test.go => router_config_test.go} (100%)
create mode 100644 doc/pic/arch/dubbo-go-ext.png
[dubbo-go] 01/01: Merge pull request #470 from apache/develop
Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xinminghe pushed a commit to branch feature/dubbo-2.7.5
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
commit a594afd74a0370cd7292f21e35af315eae8f2d63
Merge: e4e5ff7 ae5ec56
Author: vito.he <hx...@gmail.com>
AuthorDate: Thu Apr 9 14:30:23 2020 +0800
Merge pull request #470 from apache/develop
Develop 2 feature/dubbo-2.7.5
.travis.yml | 6 +-
CHANGE.md | 1 +
README.md | 15 +-
README_CN.md | 16 +-
before_validate_license.sh | 26 ++
cluster/cluster_impl/available_cluster.go | 30 +--
cluster/cluster_impl/available_cluster_invoker.go | 30 +--
.../cluster_impl/available_cluster_invoker_test.go | 30 +--
cluster/cluster_impl/broadcast_cluster.go | 30 +--
cluster/cluster_impl/broadcast_cluster_invoker.go | 30 +--
.../cluster_impl/broadcast_cluster_invoker_test.go | 30 +--
cluster/cluster_impl/failback_cluster_test.go | 30 +--
cluster/cluster_impl/failfast_cluster.go | 30 +--
cluster/cluster_impl/failfast_cluster_invoker.go | 30 +--
cluster/cluster_impl/failfast_cluster_test.go | 30 +--
cluster/cluster_impl/failsafe_cluster_test.go | 30 +--
cluster/cluster_impl/forking_cluster.go | 30 +--
cluster/cluster_impl/forking_cluster_invoker.go | 30 +--
cluster/cluster_impl/forking_cluster_test.go | 30 +--
cluster/router/condition/app_router_test.go | 2 +-
cluster/router/condition/file.go | 2 +-
cluster/router/condition/listenable_router.go | 2 +-
cluster/router/condition/router.go | 9 +-
cluster/router/condition/router_rule.go | 20 +-
cluster/router/condition/router_rule_test.go | 14 +-
cluster/router/match/match_utils.go | 63 -----
cluster/router/match/match_utils_test.go | 46 ----
cluster/router/router.go | 2 +-
.../router/tag/factory.go | 40 ++-
.../router/tag/factory_test.go | 24 +-
cluster/router/tag/file.go | 82 ++++++
cluster/router/tag/file_test.go | 62 +++++
cluster/router/{condition => tag}/router_rule.go | 29 +-
.../router/tag/router_rule_test.go | 27 +-
cluster/router/tag/tag_router.go | 94 +++++++
cluster/router/tag/tag_router_test.go | 147 ++++++++++
common/constant/key.go | 12 +-
common/extension/auth.go | 17 ++
common/extension/router_factory.go | 6 +-
common/rpc_service.go | 82 ++++--
common/rpc_service_test.go | 22 +-
common/yaml/yaml.go | 4 +
common/yaml/yaml_test.go | 12 +
config/config_loader.go | 2 +-
config/config_loader_test.go | 7 +-
config/interfaces/config_reader.go | 17 ++
config/reference_config.go | 9 +-
...condition_router_config.go => router_config.go} | 5 +-
...router_config_test.go => router_config_test.go} | 0
config/service_config.go | 10 +-
config_center/apollo/factory.go | 30 +--
config_center/apollo/impl.go | 30 +--
config_center/apollo/listener.go | 30 +--
config_center/zookeeper/impl.go | 4 +-
doc/pic/arch/dubbo-go-arch.png | Bin 215602 -> 131372 bytes
doc/pic/arch/dubbo-go-ext.png | Bin 0 -> 122231 bytes
filter/filter_impl/active_filter_test.go | 17 ++
filter/filter_impl/generic_service_filter_test.go | 2 +-
filter/filter_impl/token_filter.go | 30 +--
filter/filter_impl/token_filter_test.go | 30 +--
filter/filter_impl/tps/tps_limit_strategy_mock.go | 31 +--
filter/filter_impl/tps/tps_limiter_mock.go | 31 +--
filter/handler/rejected_execution_handler_mock.go | 31 +--
protocol/dubbo/client_test.go | 2 +-
protocol/dubbo/dubbo_exporter.go | 3 +-
protocol/grpc/client.go | 30 +--
protocol/grpc/client_test.go | 30 +--
protocol/grpc/common_test.go | 30 +--
protocol/grpc/grpc_exporter.go | 33 +--
protocol/grpc/grpc_invoker.go | 30 +--
protocol/grpc/grpc_invoker_test.go | 30 +--
protocol/grpc/grpc_protocol.go | 30 +--
protocol/grpc/grpc_protocol_test.go | 30 +--
protocol/grpc/internal/client.go | 30 +--
protocol/grpc/internal/doc.go | 30 +--
protocol/grpc/internal/helloworld.pb.go | 30 +--
protocol/grpc/internal/server.go | 30 +--
.../protoc-gen-dubbo/examples/helloworld.pb.go | 30 +--
protocol/grpc/protoc-gen-dubbo/main.go | 30 +--
protocol/grpc/protoc-gen-dubbo/plugin/dubbo/doc.go | 30 +--
.../grpc/protoc-gen-dubbo/plugin/dubbo/dubbo.go | 30 +--
protocol/grpc/server.go | 30 +--
protocol/jsonrpc/http_test.go | 2 +-
protocol/jsonrpc/jsonrpc_exporter.go | 3 +-
protocol/jsonrpc/jsonrpc_invoker_test.go | 2 +-
protocol/mock/mock_invoker.go | 31 +--
protocol/rest/client/client_impl/resty_client.go | 16 +-
protocol/rest/client/rest_client.go | 12 +-
protocol/rest/rest_exporter.go | 3 +-
protocol/rest/rest_invoker.go | 26 +-
protocol/rest/rest_invoker_test.go | 4 +-
protocol/rest/rest_protocol.go | 4 +-
protocol/rest/rest_protocol_test.go | 4 +-
protocol/rest/server/rest_server.go | 297 ++++++++++++++++++++-
.../rest/server/server_impl/go_restful_server.go | 291 +++++---------------
protocol/rpc_status_test.go | 17 ++
registry/base_registry.go | 19 +-
registry/directory/directory.go | 5 +-
registry/etcdv3/registry.go | 4 +-
registry/etcdv3/registry_test.go | 2 +-
registry/kubernetes/registry.go | 5 +-
registry/protocol/protocol.go | 11 +-
registry/zookeeper/listener.go | 71 +++--
registry/zookeeper/listener_test.go | 8 +-
registry/zookeeper/registry.go | 96 ++++---
registry/zookeeper/registry_test.go | 2 +-
remoting/zookeeper/client.go | 12 +-
remoting/zookeeper/facade.go | 4 +-
remoting/zookeeper/facade_test.go | 12 +-
remoting/zookeeper/listener.go | 22 +-
remoting/zookeeper/listener_test.go | 2 +-
111 files changed, 1935 insertions(+), 1190 deletions(-)