You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by zh...@apache.org on 2021/10/04 07:48:57 UTC

[dubbo-go] 01/01: Merge pull request #1499 from apache/config-api

This is an automated email from the ASF dual-hosted git repository.

zhaoyunxing pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git

commit a32573b7479ec87c65136b5f75aac32f98355819
Merge: a9e9f9a f7ecfb6
Author: zhaoyunxing <zh...@apache.org>
AuthorDate: Mon Oct 4 15:48:50 2021 +0800

    Merge pull request #1499 from apache/config-api
    
    New Config API support

 common/url.go                                      |   2 +-
 config/application_config.go                       |  69 ++-
 config/config_center_config.go                     | 143 ++---
 config/config_loader.go                            |  14 +-
 config/config_loader_test.go                       | 593 ---------------------
 config/consumer_config.go                          | 165 ++----
 config/dubbo_bootstrap.go                          | 110 ----
 config/graceful_shutdown_config.go                 |  37 ++
 config/graceful_shutdown_test.go                   |   6 +-
 config/logger_config.go                            |  35 +-
 config/metadata_report_config.go                   |  59 +-
 config/metric_config.go                            |  57 +-
 config/protocol_config.go                          |  72 +--
 config/provider_config.go                          | 127 +++--
 config/provider_config_test.go                     |  10 +-
 config/reference_config.go                         | 100 ++--
 config/registry_config.go                          | 109 +++-
 config/remote_config.go                            |  80 ++-
 config/root_config.go                              | 336 +++++++-----
 config/router_config.go                            |  93 +++-
 config/service_config.go                           | 191 +++----
 config/service_discovery_config.go                 |  34 +-
 config/testdata/application.yaml                   |   4 +-
 config/testdata/config/app/application.yaml        |   2 +-
 config/testdata/config/provider/application.yaml   |   4 +-
 .../config/provider/registry_application.yaml      |   4 +-
 config/testdata/consumer_config.yml                |   2 +-
 .../testdata/consumer_config_with_configcenter.yml |   2 +-
 .../testdata/consumer_config_withoutProtocol.yml   |   2 +-
 config/testdata/provider_config.yml                |   2 +-
 .../testdata/provider_config_withoutProtocol.yml   |   2 +-
 go.mod                                             |   2 +-
 go.sum                                             |   4 +-
 metadata/service/exporter/configurable/exporter.go |  29 +-
 .../service/exporter/configurable/exporter_test.go |   7 +-
 metrics/prometheus/reporter.go                     |   1 +
 protocol/dubbo3/internal/server.go                 |  29 +-
 protocol/grpc/grpc_protocol_test.go                |   4 +-
 registry/protocol/protocol.go                      |   2 +-
 remoting/nacos/builder_test.go                     |   2 +-
 40 files changed, 1051 insertions(+), 1495 deletions(-)