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 0074a01 Merge pull request #342 from flycash/feature/prometheus
new a86c8e3 [WIP] support sign and auth for request
new d20349a add junit test
new c0d3321 fmt the auth
new 4b1aa36 fix comment issue
new 3611b38 wrap the common auth logic
new 768012f mv Accesskey into auth_ext.go
new c2158c4 rename file
new 16e49e6 add some comments
new e16d391 add some comments
new bd6ee75 add some comments
new 9398a2e Merge pull request #323 from CodingSinger/auth
The 1377 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:
common/constant/key.go | 18 +++
common/extension/auth.go | 32 +++++
common/url.go | 22 ++++
common/url_test.go | 14 +++
config/service_config.go | 6 +
filter/access_key.go | 22 ++++
filter/authenticator.go | 18 +++
filter/filter_impl/auth/accesskey_storage.go | 31 +++++
filter/filter_impl/auth/accesskey_storage_test.go | 28 +++++
filter/filter_impl/auth/consumer_sign.go | 43 +++++++
filter/filter_impl/auth/consumer_sign_test.go | 37 ++++++
filter/filter_impl/auth/default_authenticator.go | 120 +++++++++++++++++++
.../filter_impl/auth/default_authenticator_test.go | 131 +++++++++++++++++++++
filter/filter_impl/auth/provider_auth.go | 43 +++++++
filter/filter_impl/auth/provider_auth_test.go | 57 +++++++++
filter/filter_impl/auth/sign_util.go | 55 +++++++++
filter/filter_impl/auth/sign_util_test.go | 84 +++++++++++++
17 files changed, 761 insertions(+)
create mode 100644 common/extension/auth.go
create mode 100644 filter/access_key.go
create mode 100644 filter/authenticator.go
create mode 100644 filter/filter_impl/auth/accesskey_storage.go
create mode 100644 filter/filter_impl/auth/accesskey_storage_test.go
create mode 100644 filter/filter_impl/auth/consumer_sign.go
create mode 100644 filter/filter_impl/auth/consumer_sign_test.go
create mode 100644 filter/filter_impl/auth/default_authenticator.go
create mode 100644 filter/filter_impl/auth/default_authenticator_test.go
create mode 100644 filter/filter_impl/auth/provider_auth.go
create mode 100644 filter/filter_impl/auth/provider_auth_test.go
create mode 100644 filter/filter_impl/auth/sign_util.go
create mode 100644 filter/filter_impl/auth/sign_util_test.go