You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2020/03/16 14:57:15 UTC

[dubbo-go] branch master updated (f01d60d -> e8f7526)

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

alexstocks pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git.


    from f01d60d  Merge pull request #406 from fangyincheng/develop
     add 9a4db99  fix the problem in before_ut.bat
     add 085b915  Merge pull request #409 from zouyx/develop
     add f7846a6  1.4 release note
     add bad24d6  Add k8s and rest protocol
     add 716af8d  fix the url for k8s feature
     add bfc481e  Merge pull request #401 from flycash/release_not
     add eb4804c  Change readme
     add 7a7acef  Merge pull request #411 from flycash/release_not
     add 64b9439  init rest protocol
     add 5cbba12  rest configs and invoker
     add 2d3a6f7  fix
     add 69020c0  fixed
     add b3fabce  Merge branch 'develop' into rest_protocol
     add 547372f  init rest exporter and modify rest invoker
     add 5120254  header params
     add d5fccd6  resty add header params
     add c31030f  fix
     add cbc59d3  go restful server and some unit tests
     add f1908a0  modify
     add 567acb1  modify test
     add 9acc7aa  Merge branch 'develop' into rest_protocol
     add e899345  Merge pull request #347 from apache/develop
     add 6a6717f  Merge branch 'feature/rest' into rest_protocol
     add f48a644  fix
     add eb1d850  fix tests
     add 756f87f  use "default" constant and remove default timeout options
     add 88300f4  add licenses
     add d9c61c4  fmt imports
     add 9538a34  fix config initializer
     add f51ae5d  add some unit tests
     add 8d1dc02  add testdata about rest config file
     add a957054  add licenses
     add d93a2a3  Merge pull request #329 from Patrick0308/rest_protocol
     add 114fe40  change service key to path key
     add 01361a6  fix serviceKey
     add 8b884cc  support req[]
     add fd0a076  fix when args is req[]
     add b67b76a  fix path bug
     add b692796  modify server default consumes and produces
     add bc64aed  Merge pull request #353 from Patrick0308/rest_protocol
     add 5f90f48  Merge develop
     add fd61cc2  Fix review and test
     add cd58dfa  Fix review and test
     add 5af6942  Fix review and test
     add eb22fbd  Fix review and test
     add b8ac514  Merge pull request #368 from flycash/rest
     add 5b76b7c  split import
     add a9c5f8f  split import
     add c8a5d15  Merge branch 'rest_protocol' of https://github.com/Patrick0308/dubbo-go into rest_protocol
     add 4738480  Merge pull request #370 from Patrick0308/rest_protocol
     add 4e6aa04  add licenses
     add 3b46dce  split import
     add 5add5e2  remove x/tools
     add 4b01d83  Merge pull request #387 from Patrick0308/rest_protocol
     add b40361e  fix haven't read error msg
     add 182a367  Merge pull request #392 from Patrick0308/rest_protocol
     add 1829072  modify rest
     add 3a46e04  add rest unit tests
     add fa27aa2  modify rest protocol
     add 84a2b65  Merge pull request #394 from Patrick0308/rest
     add fa5ee68  rest protocol modify
     add f3b5be5  Merge remote-tracking branch 'upstream/develop' into rest
     add 47e3150  change yaml unmarshal function to common package
     add f184ee9  modify yaml
     add f8f2b56  Merge pull request #395 from Patrick0308/rest
     add 1fd0ddb  modify rest
     add 73119b4  Merge pull request #396 from Patrick0308/rest
     add 0c55d99  add yaml unit test
     add 46af97f  Merge pull request #399 from Patrick0308/rest
     add fea9106  modify rest config
     add c77e8ff  modify rest interface dir
     add f5fdc0e  modify rest
     add 007dd79  modify default reader
     add 3271f08  modify error info
     add 3364d36  modify
     add e9fc1f8  modify
     add dafc2f4  Merge pull request #402 from Patrick0308/rest
     add 2d8a5cc  Merge remote-tracking branch 'apache/develop' into feature/rest
     add 69de204  Ref: refact config loader
     add b988571  Merge remote-tracking branch 'apache/develop' into feature/rest
     add a1ff189  fix rest
     add e81095f  add license
     add 72fac64  fix test
     add 8c53128  Merge pull request #408 from Patrick0308/rest
     add 57a2a8f  Mrg: merge upstream
     add 66d8a1a  Del: delete config/rest
     add 4c50edc  Fix: resolve travis
     add 1e9392a  Imp: improve config reader
     add 17c29b5  Fix: fix nil point
     add d7cc3af  Fix: reviews
     add a4c9d8c  Merge pull request #410 from fangyincheng/feature/rest
     add 639ddef  Fix: fomat import
     add 7e7dfdb  Mod: rename file name
     add cfbd042  Merge pull request #352 from apache/feature/rest
     add 06b1070  change arch pic
     add a189bdd  condition router
     add 36fdb01  Merge pull request #413 from flycash/release_not
     add 456f58f  Release 1.2.0
     add daa1fc3  Release 1.2.0
     add fe43eec  Merge branch 'master' into 1.2.0-release
     add 11878c4  Release 1.2.0
     add 55ab09e  Fix kubernetes import block and make map param
     add 32e5758  Fix the kubernetes && etcd registry race-condition
     add 723aa68  Fix bool value return
     add 2ec84e5  Delete the unused check block
     add daac5e1  Add apache license
     add 347124d  Fix test embed etcd-server workdir
     add 460fed6  Delete the etcd test-server workdir after ut
     add 156bf40  Fix etcd work-dir conflict
     add 04ee311  fix latest issue
     add 5975ca0  Fix registry concurrent close panic
     add 00b1fb1  Merge pull request #289 from sxllwx/k8s
     add 7a71b3a  Merge develop branch
     add 4e5debc  Add ut for remote/kubernetes
     add 60eaf55  Delete unused method
     add 34ebc72  adapte for new registry
     add 29c8888  Add ut for registry/kubernetes
     add f29c788  Fix ci client close race condition
     add f11f6fb  Fix remote/kubernetes unit-test race condition
     add e5c3ff5  Fix nil init
     add 9af6c53  Fix latest comment
     add ae667e9  Fix latest alex comment
     add 059f9b8  Add double check for RWMutex
     add d7ae998  Fix registry package unit test cover
     add 3349096  Add test cover for remote/kubernetes
     add dfa8267  sync watch unit goroutine
     add c7474fa  Fix method name bug,and handle the del event in config-listener.
     add d776f8e  Fix remote/kubernetes sendMsg locker
     add 0886257  delete unused  http pprof suite
     add bf8bf85  Rename watcher and store name
     add bc536bb  Fix named err
     add 7b13b44  Fix named err
     add b9bf7d9  Fix time gap
     add aee4f90  delete unused select case
     add 06b0da8  Add more rich log
     add 83d3975  move handle-client-restart from remote to registry
     add 603c1b9  Fix wg bug, add(1) out of goroutine
     add 8773a7d  Fix interest url slice-> map
     add 59fe063  Fix lock scop
     add 168a978  Fix kubernetes registry configListener nil condition
     add 92f9ea2  Fix zookeeper wg bug
     add 6b04b96  Fix create-path and push to test
     add 25f366c  Fix listener slice -> map
     add 5b87f8e  Fix missing protocol scheme bug
     add b7af875  Fix nil point, the make slice will import a nil object in slice
     add 1ed3e91  Fix go.sum  conflict
     add 8941796  Merge pull request #1 from apache/develop
     add a47cf73  Fix go.sum conflict
     add 46f5c9a  Fix CHANGE.md
     add d7a37ba  Fix CHANGE.md
     add b88cf66  Mod: split long line codes
     add 35624ed  Imp: set the init len for a map
     add eeaa817  Fix latest comment
     add 5a60988  Fix ci flow block issue
     add 14ba4ff  etcdv3 unit test, adapte for windows
     add ab7db8a  simple the client validate method
     add cef0d5d  short test time-cost for watch set
     add 938d5ed  Add more rich unit-test
     add 52a9e28  etcdv3 unit test, adapte for windows
     add 0769966  Fix ut nil pointer issue
     add 2eeb732  Fix kubernetes registry ut block issue
     add 164bf89  Fix kubernetes registry ut block issue
     add e48b698  Add new registry block time, wait the watch groutine start
     add e8f7526  Merge pull request #400 from sxllwx/k8s_merge

No new revisions were added by this update.

Summary of changes:
 CHANGE.md                                          |  28 +
 README.md                                          |  15 +-
 README_CN.md                                       |  17 +-
 before_ut.bat                                      |   6 +-
 common/constant/default.go                         |   2 +
 common/constant/key.go                             |  43 +-
 common/constant/time.go                            |   2 +
 common/extension/auth.go                           |   6 +
 .../extension/config_reader.go                     |  35 +-
 common/extension/{cluster.go => rest_client.go}    |  18 +-
 common/extension/{cluster.go => rest_server.go}    |  18 +-
 common/yaml/testdata/config.yml                    |   7 +
 .../condition/app_router.go => common/yaml/yaml.go |  40 +-
 common/yaml/yaml_test.go                           |  58 ++
 config/base_config.go                              |  29 +-
 config/base_config_test.go                         |  11 -
 config/condition_router_config.go                  |   3 +-
 config/config_loader.go                            |  30 +
 config/consumer_config.go                          |  14 +-
 config/interfaces/config_reader.go                 |   9 +
 config/provider_config.go                          |  12 +-
 config_center/nacos/client.go                      |   2 +-
 config_center/nacos/facade.go                      |   9 +-
 doc/pic/arch/dubbo-go-arch.png                     | Bin 113541 -> 215602 bytes
 go.mod                                             |   6 +
 go.sum                                             |  54 +-
 protocol/rest/client/client_impl/resty_client.go   |  85 +++
 .../rest/client/rest_client.go                     |  32 +-
 protocol/rest/config/reader/rest_config_reader.go  | 158 +++++
 .../rest/config/reader/rest_config_reader_test.go  |  43 +-
 .../config/reader/testdata/consumer_config.yml     |  50 +-
 .../config/reader}/testdata/provider_config.yml    | 188 +++---
 protocol/rest/config/rest_config.go                | 153 +++++
 .../dubbo_exporter.go => rest/rest_exporter.go}    |  22 +-
 protocol/rest/rest_invoker.go                      | 109 ++++
 protocol/rest/rest_invoker_test.go                 | 196 ++++++
 protocol/rest/rest_protocol.go                     | 156 +++++
 protocol/rest/rest_protocol_test.go                | 186 ++++++
 .../rest/server/rest_server.go                     |  13 +-
 .../rest/server/server_impl/go_restful_server.go   | 311 +++++++++
 registry/base_registry.go                          |  46 +-
 registry/etcdv3/listener.go                        |  14 +-
 registry/etcdv3/listener_test.go                   |  13 +-
 registry/etcdv3/registry_test.go                   |   4 +-
 registry/{etcdv3 => kubernetes}/listener.go        |  30 +-
 registry/kubernetes/listener_test.go               | 259 ++++++++
 registry/kubernetes/registry.go                    | 237 +++++++
 registry/kubernetes/registry_test.go               | 147 +++++
 registry/zookeeper/listener.go                     |  12 +-
 remoting/etcdv3/client_test.go                     |  13 +-
 remoting/etcdv3/listener.go                        |   7 +-
 remoting/kubernetes/client.go                      | 692 +++++++++++++++++++++
 remoting/kubernetes/client_test.go                 | 513 +++++++++++++++
 common/node.go => remoting/kubernetes/facade.go    |  10 +-
 .../kubernetes/facade_test.go                      |  67 +-
 remoting/{etcdv3 => kubernetes}/listener.go        | 146 ++---
 remoting/{etcdv3 => kubernetes}/listener_test.go   |  42 +-
 remoting/kubernetes/watch.go                       | 336 ++++++++++
 remoting/kubernetes/watch_test.go                  |  95 +++
 remoting/zookeeper/listener.go                     |   6 +-
 60 files changed, 4354 insertions(+), 511 deletions(-)
 copy cluster/cluster_impl/registry_aware_cluster.go => common/extension/config_reader.go (52%)
 copy common/extension/{cluster.go => rest_client.go} (62%)
 copy common/extension/{cluster.go => rest_server.go} (67%)
 create mode 100644 common/yaml/testdata/config.yml
 copy cluster/router/condition/app_router.go => common/yaml/yaml.go (51%)
 create mode 100644 common/yaml/yaml_test.go
 create mode 100644 config/interfaces/config_reader.go
 create mode 100644 protocol/rest/client/client_impl/resty_client.go
 copy metrics/reporter.go => protocol/rest/client/rest_client.go (65%)
 create mode 100644 protocol/rest/config/reader/rest_config_reader.go
 copy config_center/nacos/client_test.go => protocol/rest/config/reader/rest_config_reader_test.go (54%)
 copy config/testdata/consumer_config_withoutProtocol.yml => protocol/rest/config/reader/testdata/consumer_config.yml (56%)
 copy {config => protocol/rest/config/reader}/testdata/provider_config.yml (60%)
 create mode 100644 protocol/rest/config/rest_config.go
 copy protocol/{dubbo/dubbo_exporter.go => rest/rest_exporter.go} (70%)
 create mode 100644 protocol/rest/rest_invoker.go
 create mode 100644 protocol/rest/rest_invoker_test.go
 create mode 100644 protocol/rest/rest_protocol.go
 create mode 100644 protocol/rest/rest_protocol_test.go
 copy cluster/directory.go => protocol/rest/server/rest_server.go (76%)
 create mode 100644 protocol/rest/server/server_impl/go_restful_server.go
 copy registry/{etcdv3 => kubernetes}/listener.go (78%)
 create mode 100644 registry/kubernetes/listener_test.go
 create mode 100644 registry/kubernetes/registry.go
 create mode 100644 registry/kubernetes/registry_test.go
 create mode 100644 remoting/kubernetes/client.go
 create mode 100644 remoting/kubernetes/client_test.go
 copy common/node.go => remoting/kubernetes/facade.go (89%)
 copy cluster/router/condition/router_rule.go => remoting/kubernetes/facade_test.go (51%)
 copy remoting/{etcdv3 => kubernetes}/listener.go (54%)
 copy remoting/{etcdv3 => kubernetes}/listener_test.go (95%)
 create mode 100644 remoting/kubernetes/watch.go
 create mode 100644 remoting/kubernetes/watch_test.go