This is an automated email from the ASF dual-hosted git repository.
marsevilspirit pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
from 941fde77c delete all polaris (#2920)
add 7dc58203d Revert "delete all polaris (#2920)" (#2924)
add 247c46b97 chore(sonar): ignore sonar cloud ai bot useless warning
(#2944)
add 44a3c3176 feat: Add Apollo config center (#2857) (#2871)
add 3e819307a Correct type assertion for service info in exportServices
method (#2938)
add 056e801b3 feat(client): add WithInterface option for service interface
name (#2946)
add 07293072d fix: Fixing the bug where the client fails to receive
attachments from the server response (#2928)
add 1c75359bc feat(triple): add timeout for graceful stop (#2943)
add 9b62e2056 fix(triple): harden openServer against config errors (#2945)
add 43c8bd03a Feat: Add Experimental Triple HTTP/3 Support (#2916)
No new revisions were added by this update.
Summary of changes:
README.md | 2 +-
client/action.go | 4 +-
client/options.go | 22 +-
.../router/polaris/default.go | 14 +-
.../router/polaris/factory.go | 29 +-
cluster/router/polaris/router.go | 331 ++++++++++++++++++++
common/constant/default.go | 6 +-
common/constant/key.go | 13 +-
.../constant/polaris_key.go | 34 +-
compat.go | 157 ++++++++--
...{config_setter.go => client_protocol_config.go} | 8 +-
config/{metric_config_test.go => http3_config.go} | 32 +-
config/reference_config.go | 44 +--
config/service_config_test.go | 2 +-
config/triple_config.go | 12 +-
.../forking => config_center/apollo}/doc.go | 4 +-
config_center/{nacos => apollo}/factory.go | 16 +-
config_center/apollo/impl.go | 243 ++++++++++++++
config_center/apollo/impl_test.go | 237 ++++++++++++++
config_center/apollo/listener.go | 81 +++++
config_center/options.go | 6 +
filter/context/filter.go | 138 --------
filter/filter_impl/import.go | 2 +-
.../client.go => filter/polaris/limit/default.go | 12 +-
filter/polaris/limit/limiter.go | 173 ++++++++++
..._client_config.go => client_protocol_config.go} | 16 +-
global/config_test.go | 21 ++
.../{protocol_client_config.go => http3_config.go} | 42 +--
global/reference_config.go | 16 +-
global/triple_config.go | 33 +-
go.mod | 48 ++-
go.sum | 189 +++++++++--
imports/imports.go | 5 +-
protocol/options.go | 4 +-
protocol/triple/client.go | 112 ++++---
protocol/triple/options.go | 13 +
protocol/triple/server.go | 89 +++---
protocol/triple/triple.go | 15 +-
protocol/triple/triple_invoker.go | 9 +
protocol/triple/triple_protocol/handler.go | 20 +-
protocol/triple/triple_protocol/protocol_grpc.go | 6 +-
protocol/triple/triple_protocol/server.go | 156 ++++++++-
protocol/triple/triple_protocol/triple_ext_test.go | 2 +-
registry/options.go | 6 +
registry/polaris/core.go | 131 ++++++++
{filter/auth => registry/polaris}/doc.go | 4 +-
registry/polaris/listener.go | 123 ++++++++
registry/polaris/registry.go | 287 +++++++++++++++++
registry/polaris/service_discovery.go | 348 +++++++++++++++++++++
.../polaris/utils.go | 27 +-
remoting/polaris/builder.go | 160 ++++++++++
.../polaris/builder_test.go | 23 +-
remoting/polaris/parser/parser.go | 125 ++++++++
remoting/polaris/parser/parser_test.go | 168 ++++++++++
remoting/polaris/polaris.yaml | 84 +++++
server/options.go | 21 +-
server/server.go | 5 +-
tools/dubbo-go-schema/dubbo-go.json | 1 +
58 files changed, 3419 insertions(+), 512 deletions(-)
copy tools/dubbogo-cli/generator/application/gitignore.go =>
cluster/router/polaris/default.go (79%)
copy config/profiles_config.go => cluster/router/polaris/factory.go (65%)
create mode 100644 cluster/router/polaris/router.go
copy filter/handler/rejected_execution_handler_only_log_test.go =>
common/constant/polaris_key.go (56%)
copy config/{config_setter.go => client_protocol_config.go} (73%)
copy config/{metric_config_test.go => http3_config.go} (60%)
copy {cluster/cluster/forking => config_center/apollo}/doc.go (91%)
copy config_center/{nacos => apollo}/factory.go (69%)
create mode 100644 config_center/apollo/impl.go
create mode 100644 config_center/apollo/impl_test.go
create mode 100644 config_center/apollo/listener.go
delete mode 100644 filter/context/filter.go
copy protocol/dubbo3/internal/client.go => filter/polaris/limit/default.go
(75%)
create mode 100644 filter/polaris/limit/limiter.go
copy global/{protocol_client_config.go => client_protocol_config.go} (75%)
rename global/{protocol_client_config.go => http3_config.go} (51%)
create mode 100644 registry/polaris/core.go
copy {filter/auth => registry/polaris}/doc.go (91%)
create mode 100644 registry/polaris/listener.go
create mode 100644 registry/polaris/registry.go
create mode 100644 registry/polaris/service_discovery.go
copy filter/handler/rejected_execution_handler_only_log_test.go =>
registry/polaris/utils.go (59%)
create mode 100644 remoting/polaris/builder.go
copy protocol/base/base_invoker_test.go => remoting/polaris/builder_test.go
(68%)
create mode 100644 remoting/polaris/parser/parser.go
create mode 100644 remoting/polaris/parser/parser_test.go
create mode 100644 remoting/polaris/polaris.yaml