This is an automated email from the ASF dual-hosted git repository.
fangyc pushed a change to branch refact-seri
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git.
from 6338a82 Fix: fix
add af3176f fix nacos unit test failed
add 4681874 add scope and key support for condition router
add 08a0877 enable digesting multiple router rule in router_config.yml
add a41c36e format the change
add b501734 fix the test error
add b33167b enable service level router configuration
add 740be76 resolve comment from zouyx
add 95e863e add default priority 0 for condition url which neither
application nor service level router
add 01910a0 reduce cognitive in base_directory.go
add 96a3688 fix empty application configure always return true in
base_directory setup
add 5f02d53 added comment to file.go
add 2aafdeb Merge pull request #662 from
williamfeng323/feature/application-level-router
add 380ad21 Nearest first for multiple registry #597
add 8f8a028 make zone_aware_cluster_invoker_test for weight better
add 41a0fd1 import split
add 313fc65 Merge pull request #1 from apache/develop
add 4a1625a Ftr:Nearest first for multiple registry, Merge develop.
add 08c3674 add comment for public method
add 6f77a0c add code format and comment
add ddf63de ugly code to elegant
add debd07c Merge pull request #3 from apache/develop
add b8ec301 Merge branch 'develop' into zoneware
add 4c250c2 add cluster interceptor
add 03bde75 import split
add 4dfc8aa change format
add f0017a8 Merge pull request #659 from DogBaoBao/zoneware
add 4ef45c6 Merge remote-tracking branch 'remotes/dubbogo/develop' into
develop
add 6dc42eb Merge pull request #705 from lzp0412/develop
add bd7c5ca stack level
add cf75539 replace bzr to git
add 967faf8 Merge pull request #702 from dubbo-x/fix
add 58dc145 Correct words and Format codes
add 2791895 Format codes
add 25281bf add nolint
add 30c587e get application from both dir.url and dir.url.suburl
add 25ddfa5 Merge pull request #707 from
williamfeng323/bugfix-application-router
add 457dc0c add tls support
add 01c14c3 change module version
add 3b2dc85 upgrade getty version
add c7cb13b fix getty const
add addc4b4 fix getty const
add 49d1c94 rm go version
add 9603daa fix
add 49ebaba add tls support
add 443c1b8 change module version
add bef03b4 upgrade getty version
add c62ec2e fix getty const
add b75fcea fix getty const
add 5a51b7f Merge remote-tracking branch 'origin/AddTslSupport' into
AddTslSupport
add cb30a98 rm go version
add b8e15bf fix
add 07bf1c4 fix
add bdf48c7 Merge remote-tracking branch 'remotes/upstream/develop' into
AddTslSupport
add 67abe6b fix
add ee46d46 split pkg
add 6c606c1 split pkg
add f2d2ba6 make a comment variable
add 88e097f fix
add d0345ec fix
add 622e6c5 fix
add c7e0522 fix
add aa0ee1c Merge pull request #685 from aliiohs/AddTslSupport
add ddb2504 Add: add setInvoker function for router chain
add f4481b0 Mod: merge branch to resolve conflict
add a3dcb22 Add: add notify router for tag router
add 316e276 Mod: modify tag router strings compare
add 6cf2dc8 Mod: move match codes to gost net
add 6708d24 Mod: modify comments
add 0a475bf Mod: add router tag unit tests scripts
add 9d8afcd Merge pull request #703 from watermelo/featrue/tagRouter
add 8f032b7 Mrg: from develop
No new revisions were added by this update.
Summary of changes:
README.md | 2 +-
before_ut.bat | 3 +
before_ut.sh | 3 +
cluster/cluster_impl/base_cluster_invoker.go | 19 ++
cluster/cluster_impl/failover_cluster.go | 5 +-
cluster/cluster_impl/registry_aware_cluster.go | 40 ----
.../cluster_impl/registry_aware_cluster_invoker.go | 56 ------
.../cluster_impl/registry_aware_cluster_test.go | 71 -------
.../{failfast_cluster.go => zone_aware_cluster.go} | 23 +--
cluster/cluster_impl/zone_aware_cluster_invoker.go | 133 +++++++++++++
.../zone_aware_cluster_invoker_test.go | 206 +++++++++++++++++++
.../reporter.go => cluster/cluster_interceptor.go | 22 +-
cluster/directory/base_directory.go | 39 +++-
cluster/directory/base_directory_test.go | 64 +++++-
cluster/loadbalance/consistent_hash.go | 2 +-
cluster/loadbalance/util.go | 36 ++--
cluster/router/chain/chain.go | 13 +-
cluster/router/chain/chain_test.go | 19 +-
cluster/router/condition/app_router_test.go | 21 +-
cluster/router/condition/file.go | 45 ++++-
cluster/router/condition/file_test.go | 74 ++++++-
cluster/router/condition/listenable_router.go | 2 +-
cluster/router/condition/router.go | 12 +-
cluster/router/condition/router_rule.go | 5 +-
cluster/router/condition/router_rule_test.go | 26 ++-
cluster/router/condition/router_test.go | 88 ++++++++
cluster/router/healthcheck/default_health_check.go | 10 +-
cluster/router/router.go | 8 +
cluster/router/tag/file.go | 2 +-
cluster/router/tag/router_rule.go | 69 ++++++-
.../version.go => cluster/router/tag/tag.go | 9 +-
cluster/router/tag/tag_router.go | 192 +++++++++++++++++-
cluster/router/tag/tag_router_test.go | 221 ++++++++++++++++++++-
.../version.go => common/constant/cluster.go | 8 +-
common/constant/key.go | 17 +-
common/logger/log.yml | 3 +-
common/url.go | 2 +-
common/yaml/yaml.go | 10 +-
config/config_loader.go | 7 +
config/config_loader_test.go | 6 +-
config/reference_config.go | 21 +-
config/reference_config_test.go | 10 +-
config/registry_config.go | 25 ++-
config/router_config.go | 31 ++-
config/router_config_test.go | 8 +
config/service_config.go | 1 +
config/service_config_test.go | 2 +-
...eful_shutdown_signal_linux.go => ssl_config.go} | 29 ++-
config/testdata/router_config.yml | 13 +-
config/testdata/router_config_error.yml | 11 +-
config/testdata/router_multi_config.yml | 16 ++
go.mod | 11 +-
go.sum | 92 +--------
protocol/dubbo/dubbo_protocol.go | 3 +-
protocol/grpc/server.go | 2 +-
protocol/invocation.go | 2 +
protocol/invocation/rpcinvocation.go | 4 +-
protocol/result.go | 2 +-
registry/etcdv3/service_discovery.go | 2 +-
registry/nacos/listener.go | 6 +-
registry/nacos/service_discovery_test.go | 6 +-
registry/registry.go | 2 +-
remoting/exchange_server.go | 2 +
remoting/getty/config.go | 2 +
remoting/getty/getty_client.go | 8 +
remoting/getty/getty_server.go | 36 +++-
remoting/getty/pool.go | 62 ++++--
remoting/kubernetes/registry_controller.go | 2 +-
remoting/zookeeper/client.go | 2 +-
test/integrate/dubbo/go-client/log.yml | 3 +-
test/integrate/dubbo/go-server/log.yml | 3 +-
71 files changed, 1559 insertions(+), 453 deletions(-)
delete mode 100644 cluster/cluster_impl/registry_aware_cluster.go
delete mode 100644 cluster/cluster_impl/registry_aware_cluster_invoker.go
delete mode 100644 cluster/cluster_impl/registry_aware_cluster_test.go
copy cluster/cluster_impl/{failfast_cluster.go => zone_aware_cluster.go} (63%)
create mode 100644 cluster/cluster_impl/zone_aware_cluster_invoker.go
create mode 100644 cluster/cluster_impl/zone_aware_cluster_invoker_test.go
copy metrics/reporter.go => cluster/cluster_interceptor.go (68%)
create mode 100644 cluster/router/condition/router_test.go
copy test/integrate/dubbo/go-client/version.go => cluster/router/tag/tag.go
(91%)
copy test/integrate/dubbo/go-client/version.go => common/constant/cluster.go
(87%)
copy config/{graceful_shutdown_signal_linux.go => ssl_config.go} (61%)
create mode 100644 config/testdata/router_multi_config.yml