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

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


    from 9a7642b  Merge pull request #121 from dubbo-x/consul
     new a828482  hystrix filter added
     new b485e8d  config for hystrix filter added
     new dd05253  fmt the code
     new 0781ce5  delete unused constants
     new c089a43  change panic in confit initializaiton to error
     new d2a61dc  fallback config added, see examples/hystrix_example
     new 0ee30d0  Changes in fallback function, now it receives 4 parameters: 
error, invoker, invocation, circuitbreaker And returns a new result
     new ef3b42c  Change comments
     new 7f579b1  Add nil check for fallback func return
     new 08dd542  wrong spell
     new 75aba16  Make the fallback func an interface
     new 79ab52c  Unit tests: invoke and refresh to be done
     new b7e9c61  Unit tests for hystrix filter done
     new 431eeb9  Merge pull request #1 from apache/master
     new 8e647d4  Merge pull request #2 from apache/master
     new 508d9a0  Update from master
     new ca9793d  Examples change
     new 08b064a  Merge branch 'develop' into hystrix_filter
     new b6a964b  Fix example
     new faa779c  Fix the probelm occurs when filter_conf is nil
     new 3e7042d  Unit test fix
     new f604d42  fix
     new 40689de  Fix import cycle in protocol_filter_wrapper_test For 
implement of hystrix filter depends on config package to get user config, it 
causes import cycle in test for protocol filter wrapper. Now the test depends 
on filter interface instead of filter implement, so that the cycle is solved.
     new c50bd5a  fmt
     new 4b52478  Standardize the import format, add lisences infomation for 
new file
     new 67bae9a  Overhaul: Fix concurrency problems; Add support for server 
end; Add error whitelist(omit) TODO: Make downgrade a standalone filter, so it 
can offer more freedom for users and avoid extensions on extensions TODO: Add a 
new example
     new 588a5a8  Example Added for client and fallback fix the problem that 
all methods under one service share the regexp rules
     new b954e6a  Merge branch 'develop' into hystrix_filter
     new 3c4722a  Add some unit tests
     new a939b43  fix unit tests
     new 83aad3f  fix unit tests
     new aedf81b  Add license info for example
     new 515c472  Merge apache/develop into ygrylls/hystrix_filter
     new 4fe6fa3  Change hystrix example directory and modified to follow other 
new examples
     new 7e88874  Remove old hessian in go.mod
     new 207fb39  Merge and fix the problems found in review
     new 67bc50d  Merge remote-tracking branch 'upstream/develop' into 
hystrix_filter
     new 10103db  Merge branch 'develop' into hystrix_filter
     new 14436e9  Merge pull request #133 from YGrylls/hystrix_filter

The 810 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:
 config/consumer_config.go                          |   1 +
 config/provider_config.go                          |   1 +
 .../dubbo/with-hystrix-go-client}/app/client.go    | 104 ++++----
 .../app/example_fallback_filter.go                 |  80 ++++++
 .../dubbo/with-hystrix-go-client}/app/user.go      |   2 +-
 .../dubbo/with-hystrix-go-client}/app/version.go   |   0
 .../with-hystrix-go-client}/assembly/bin/load.sh   |   0
 .../assembly/common/app.properties                 |   0
 .../assembly/common/build.sh                       |   0
 .../with-hystrix-go-client}/assembly/linux/dev.sh  |   0
 .../assembly/linux/release.sh                      |   0
 .../with-hystrix-go-client}/assembly/linux/test.sh |   0
 .../with-hystrix-go-client}/assembly/mac/dev.sh    |   0
 .../assembly/mac/release.sh                        |   0
 .../with-hystrix-go-client}/assembly/mac/test.sh   |   0
 .../assembly/windows/dev.sh                        |   0
 .../assembly/windows/release.sh                    |   0
 .../assembly/windows/test.sh                       |   0
 .../profiles/dev}/client.yml                       |  55 +++--
 .../with-hystrix-go-client}/profiles/dev/log.yml   |  56 ++---
 .../profiles/release/client.yml                    |  53 ++--
 .../profiles/release/log.yml                       |  56 ++---
 .../profiles/test}/client.yml                      |  56 +++--
 .../with-hystrix-go-client}/profiles/test/log.yml  |  56 ++---
 filter/impl/hystrix_filter.go                      | 269 +++++++++++++++++++++
 filter/impl/hystrix_filter_test.go                 | 217 +++++++++++++++++
 go.mod                                             |   2 +
 go.sum                                             |   8 +
 .../protocol_filter_wrapper_test.go                |  35 ++-
 29 files changed, 841 insertions(+), 210 deletions(-)
 copy examples/{configcenter/zookeeper/dubbo/with-configcenter-go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/app/client.go (56%)
 create mode 100644 
examples/hystrixfilter/dubbo/with-hystrix-go-client/app/example_fallback_filter.go
 copy examples/{general/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/app/user.go (98%)
 copy examples/{general/jsonrpc/go-server => 
hystrixfilter/dubbo/with-hystrix-go-client}/app/version.go (100%)
 copy examples/{helloworld/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/assembly/bin/load.sh (100%)
 copy examples/{helloworld/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/assembly/common/app.properties 
(100%)
 copy examples/{helloworld/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/assembly/common/build.sh (100%)
 copy examples/{helloworld/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/assembly/linux/dev.sh (100%)
 copy examples/{helloworld/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/assembly/linux/release.sh (100%)
 copy examples/{helloworld/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/assembly/linux/test.sh (100%)
 copy examples/{helloworld/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/assembly/mac/dev.sh (100%)
 copy examples/{helloworld/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/assembly/mac/release.sh (100%)
 copy examples/{helloworld/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/assembly/mac/test.sh (100%)
 copy examples/{helloworld/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/assembly/windows/dev.sh (100%)
 copy examples/{helloworld/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/assembly/windows/release.sh (100%)
 copy examples/{helloworld/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/assembly/windows/test.sh (100%)
 copy examples/{general/dubbo/go-client/profiles/release => 
hystrixfilter/dubbo/with-hystrix-go-client/profiles/dev}/client.yml (57%)
 copy examples/{configcenter/zookeeper/dubbo/with-configcenter-go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/profiles/dev/log.yml (94%)
 copy examples/{general/dubbo/go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/profiles/release/client.yml (61%)
 copy examples/{configcenter/zookeeper/dubbo/with-configcenter-go-server => 
hystrixfilter/dubbo/with-hystrix-go-client}/profiles/release/log.yml (94%)
 copy examples/{general/dubbo/go-client/profiles/release => 
hystrixfilter/dubbo/with-hystrix-go-client/profiles/test}/client.yml (59%)
 copy examples/{configcenter/zookeeper/jsonrpc/with-configcenter-go-client => 
hystrixfilter/dubbo/with-hystrix-go-client}/profiles/test/log.yml (94%)
 create mode 100644 filter/impl/hystrix_filter.go
 create mode 100644 filter/impl/hystrix_filter_test.go

Reply via email to