This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git.
from f668fe0 Merge pull request #238 from MasterKenway/feat/ci-release
new a149063 update
new 0771b88 update
new 32e767a update
new 71b1fd5 update
new 0ed2ec0 filter
new 04ec65d update
new d831eef update
new 648dcb7 update
new 16c6dba update
new b31ee68 Merge branch 'config' of
https://github.com/ztelur/dubbo-go-pixiu into config
new c345b97 router and cluster
new 5e4152b update
new be5bfae filter manager
new 32cadd7 filter manager
new 6e3ccfc filter manager
new b491863 Merge branch 'develop' of
https://github.com/apache/dubbo-go-pixiu into filter
new 6fddf27 filter manager
new 6850a0c filter manager
new 05b0460 acl & ratelimit
new 9eb232e auth
new 52a9804 metirc
new 63b4823 metirc
new 1a2c8ff delete old samples/admin
new b63e352 recovery
new 6f1193f Merge branch 'develop' into develop
new b16f10b Merge branch 'develop' into develop
new d1bcc58 Merge branch 'apache:develop' into develop
new 20cc4b5 Merge branch 'apache:develop' into develop
new 704df39 update
new 4cb543a Merge branch 'config' into filter
new 586e0a5 all filter refactor succ
new a309a6a ready to load filters
new 2c8d7e3 Merge branch 'filter' of
https://github.com/mark4z/dubbo-go-pixiu into mark4z-filter
new d29cc19 Merge branch 'mark4z-filter' into merge
new 7002b3f update
new 280bc7e update
new 08a967e update
new ac07317 fix problem
new 9ca84a0 fix misspell
new 1e40593 add license header
new aaa506b fix ci problem
new aedfc72 remove dependency replace
new b856264 sleep a while for docker up
new 036297a add more integration test and assert response body content
not only httpcode
new 581505b add more integration test and assert response body content
not only httpcode
new d8386cd fix proxy problem
new 9ac09a7 add more unit test
new 8a82d13 add unit test
new d7b349e add unit test
new f75c886 add more integration test and assert response body content
not only httpcode
new 795a590 Merge branch 'config' into more-test
new 9e96ddc add unit test
new 8363149 fix ci assert bug because time zone
new b3c4226 add more unit test and fix reviewdog
new 3acb508 Merge branch 'config' of
https://github.com/ztelur/dubbo-go-pixiu into config
new 1bdf4f6 fix ci assert bug because time zone
new a0fb076 add test dir not added because .gitignore
new 9bc5129 follow review suggestion
new 3687164 rename filter name and fix reviewdog bugs
new 0ee51a4 fix replace filter name
new ee699f0 Update api_config.go
new d5a9b2b Merge branch 'develop' into config
new 99a6296 fix reviewdog problem
new 8b17845 Merge pull request #242 from ztelur/config
The 948 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:
cmd/pixiu/gateway.go | 6 +-
cmd/pixiu/pixiu.go | 14 +-
configs/api_config.yaml | 110 +++++----
configs/conf.yaml | 108 +++------
docs/sample/dubbo-universality.md | 2 +-
docs/sample/mock.md | 2 +-
docs/sample/zh-cn/dubbo-universality.md | 2 +-
go.mod | 1 -
go.sum | 63 ++---
igt/Makefile | 2 +-
integrate_test.sh | 4 +-
pkg/adapter/springcloud/cloud.go | 121 ++++++++++
pkg/client/client.go | 5 +-
pkg/client/{response.go => dubbo/config.go} | 16 +-
pkg/client/dubbo/dubbo.go | 53 +++--
pkg/client/http/http.go | 4 +-
pkg/common/constant/key.go | 29 +--
pkg/common/constant/pixiu.go | 2 +-
pkg/common/extension/adapter/adapter.go | 80 +++++++
.../extension/adapter/adapter_test.go} | 52 ++++-
pkg/common/extension/filter.go | 39 ----
pkg/common/extension/filter/filter.go | 121 ++++++++++
pkg/common/extension/filter/filter_manager.go | 104 +++++++++
pkg/common/extension/filter/filter_manager_test.go | 124 ++++++++++
pkg/common/http/manager.go | 99 ++++++++
pkg/common/http/manager_test.go | 141 +++++++++++
pkg/common/mock/router.go | 1 -
pkg/common/router/router.go | 76 ++++++
pkg/common/router/router_test.go | 94 ++++++++
.../util/stringutil/stringutil.go} | 14 +-
pkg/common/yaml/yaml.go | 15 ++
pkg/config/api_config.go | 57 -----
pkg/config/api_config_test.go | 5 +-
pkg/config/conf_test.yaml | 30 ++-
pkg/config/config_load.go | 30 +--
pkg/config/config_load_test.go | 114 ++++-----
pkg/config/mock/api_config.yml | 14 --
pkg/context/base_context.go | 78 ++-----
pkg/context/http/context.go | 109 ++++++---
pkg/context/http/context_test.go | 23 +-
pkg/context/http/util.go | 24 --
pkg/context/mock/context.go | 48 +---
pkg/filter/accesslog/access_log.go | 94 +++++---
pkg/filter/accesslog/access_log_test.go | 7 +-
pkg/{model => filter/accesslog}/log.go | 15 +-
pkg/filter/api/api.go | 68 ------
pkg/filter/authority/authority.go | 63 ++---
pkg/filter/authority/authority_test.go | 43 ++--
pkg/filter/authority/config.go | 75 ++++++
pkg/filter/filter.go | 18 --
pkg/filter/header/header.go | 100 +++++---
pkg/filter/header/header_test.go | 18 +-
pkg/filter/host/host.go | 57 +++--
pkg/filter/host/host_test.go | 11 +-
.../http/apiconfig}/api/discovery_service.go | 43 ++--
.../http/apiconfig}/api/discovery_service_test.go | 9 +-
pkg/filter/http/apiconfig/api_config.go | 134 +++++++++++
.../init_test.go => http/apiconfig/config.go} | 19 +-
pkg/filter/http/httpproxy/routerfilter.go | 176 ++++++++++++++
pkg/filter/{ => http}/remote/call.go | 101 ++++----
pkg/filter/metric/metric.go | 88 ++++---
pkg/filter/metric/metric_test.go | 6 +-
.../network/httpconnectionmanager/plugin.go} | 45 ++--
pkg/filter/ratelimit/config.go | 59 +++++
pkg/filter/ratelimit/{matcher => }/exact.go | 10 +-
pkg/filter/ratelimit/init.go | 75 ------
pkg/filter/ratelimit/{matcher => }/matcher.go | 43 ++--
pkg/filter/ratelimit/matcher_test.go | 47 +++-
pkg/filter/ratelimit/rate_limit.go | 121 ++++++----
.../rate_limit_test.go} | 26 ++-
pkg/filter/ratelimit/{matcher => }/regex.go | 10 +-
pkg/filter/recovery/recovery.go | 79 ++++---
pkg/filter/recovery/recovery_test.go | 37 ++-
pkg/filter/response/response.go | 86 ++++---
pkg/filter/timeout/timeout.go | 120 +++++-----
pkg/filter/timeout/timeout_test.go | 33 +--
pkg/initialize/init.go | 57 -----
pkg/logger/logger.go | 8 +-
pkg/model/{tracing.go => adapter.go} | 13 +-
pkg/model/authority.go | 72 ------
pkg/model/base.go | 174 +++++++-------
pkg/model/bootstrap.go | 24 +-
pkg/model/cluster.go | 114 +++++----
pkg/model/filter.go | 4 +-
pkg/model/http.go | 15 +-
pkg/model/match.go | 58 +++--
pkg/model/router.go | 151 +++++++++---
pkg/pixiu/listener.go | 258 ---------------------
pkg/pixiu/listener_test.go | 106 ---------
.../registry.go} | 36 ++-
pkg/server/adapter_manager.go | 77 ++++++
pkg/server/adapter_manager_test.go | 93 ++++++++
pkg/server/cluster_manager.go | 105 +++++++++
.../cluster_manager_test.go} | 61 +++--
pkg/{pixiu => server}/http.go | 8 +-
pkg/server/listener.go | 217 +++++++++++++++++
pkg/{pixiu/http.go => server/listener_manager.go} | 53 +++--
pkg/{pixiu/http.go => server/listener_test.go} | 43 ++--
pkg/{pixiu => server}/otel.go | 2 +-
pkg/{pixiu => server}/pixiu_start.go | 83 ++++---
pkg/{pixiu/http.go => server/router_manager.go} | 52 +++--
pkg/service/discovery_service.go | 98 --------
.../{simple/uri => http}/docker/docker-compose.yml | 0
samples/dubbogo/http/pixiu/api_config.yaml | 9 +-
samples/dubbogo/http/pixiu/conf.yaml | 48 +++-
samples/dubbogo/{simple/body => http}/request.sh | 7 +-
samples/dubbogo/http/server/app/user.go | 8 +-
.../{simple/uri => http}/test/pixiu_test.go | 29 ++-
samples/dubbogo/multi/config/conf.yaml | 46 ++--
samples/dubbogo/simple/body/pixiu/api_config.yaml | 8 +-
samples/dubbogo/simple/body/pixiu/conf.yaml | 36 +++
samples/dubbogo/simple/body/server/app/user.go | 8 +-
.../simple/body/server/profiles/release/server.yml | 2 +-
.../simple/body/server/profiles/test/server.yml | 2 +-
samples/dubbogo/simple/body/test/pixiu_test.go | 7 +
samples/dubbogo/simple/mix/pixiu/api_config.yaml | 6 +-
samples/dubbogo/simple/mix/pixiu/conf.yaml | 36 +++
samples/dubbogo/simple/mix/server/app/user.go | 8 +-
.../simple/mix/server/profiles/release/server.yml | 2 +-
.../simple/mix/server/profiles/test/server.yml | 2 +-
samples/dubbogo/simple/mix/test/pixiu_test.go | 7 +
samples/dubbogo/simple/proxy/pixiu/api_config.yaml | 2 +-
samples/dubbogo/simple/proxy/pixiu/conf.yaml | 36 +++
samples/dubbogo/simple/proxy/server/app/user.go | 8 +-
.../proxy/server/profiles/release/server.yml | 2 +-
.../simple/proxy/server/profiles/test/server.yml | 2 +-
samples/dubbogo/simple/proxy/test/pixiu_test.go | 7 +
samples/dubbogo/simple/query/pixiu/api_config.yaml | 6 +-
samples/dubbogo/simple/query/pixiu/conf.yaml | 36 +++
samples/dubbogo/simple/query/server/app/user.go | 8 +-
.../query/server/profiles/release/server.yml | 2 +-
.../simple/query/server/profiles/test/server.yml | 2 +-
samples/dubbogo/simple/query/test/pixiu_test.go | 8 +
.../simple/server/profiles/release/server.yml | 2 +-
.../dubbogo/simple/server/profiles/test/server.yml | 2 +-
samples/dubbogo/simple/uri/api_config.yaml | 10 +-
samples/dubbogo/simple/uri/pixiu/api_config.yaml | 6 +-
samples/dubbogo/simple/uri/pixiu/conf.yaml | 36 +++
samples/dubbogo/simple/uri/server/app/user.go | 8 +-
.../simple/uri/server/profiles/release/server.yml | 2 +-
.../simple/uri/server/profiles/test/server.yml | 2 +-
samples/dubbogo/simple/uri/test/pixiu_test.go | 8 +
.../uri => http/simple}/docker/docker-compose.yml | 0
.../multi/config => http/simple/pixiu}/conf.yaml | 45 ++--
.../{dubbogo/simple/uri => http/simple}/request.sh | 13 +-
samples/http/{ => simple}/server/app/server.go | 0
samples/http/{ => simple}/server/app/user.go | 8 +-
.../simple/uri => http/simple}/test/pixiu_test.go | 30 ++-
start_integrate_test.sh | 3 +
149 files changed, 4068 insertions(+), 2451 deletions(-)
mode change 100644 => 100755 integrate_test.sh
create mode 100644 pkg/adapter/springcloud/cloud.go
copy pkg/client/{response.go => dubbo/config.go} (69%)
create mode 100644 pkg/common/extension/adapter/adapter.go
copy pkg/{filter/host/host_test.go =>
common/extension/adapter/adapter_test.go} (55%)
delete mode 100644 pkg/common/extension/filter.go
create mode 100644 pkg/common/extension/filter/filter.go
create mode 100644 pkg/common/extension/filter/filter_manager.go
create mode 100644 pkg/common/extension/filter/filter_manager_test.go
create mode 100644 pkg/common/http/manager.go
create mode 100644 pkg/common/http/manager_test.go
create mode 100644 pkg/common/router/router.go
create mode 100644 pkg/common/router/router_test.go
copy pkg/{model/metric.go => common/util/stringutil/stringutil.go} (79%)
rename pkg/{model => filter/accesslog}/log.go (93%)
delete mode 100644 pkg/filter/api/api.go
create mode 100644 pkg/filter/authority/config.go
delete mode 100644 pkg/filter/filter.go
rename pkg/{service => filter/http/apiconfig}/api/discovery_service.go (83%)
rename pkg/{service => filter/http/apiconfig}/api/discovery_service_test.go
(93%)
create mode 100644 pkg/filter/http/apiconfig/api_config.go
rename pkg/filter/{ratelimit/init_test.go => http/apiconfig/config.go} (72%)
create mode 100644 pkg/filter/http/httpproxy/routerfilter.go
rename pkg/filter/{ => http}/remote/call.go (64%)
copy pkg/{pixiu/http.go => filter/network/httpconnectionmanager/plugin.go}
(59%)
create mode 100644 pkg/filter/ratelimit/config.go
rename pkg/filter/ratelimit/{matcher => }/exact.go (86%)
delete mode 100644 pkg/filter/ratelimit/init.go
rename pkg/filter/ratelimit/{matcher => }/matcher.go (63%)
copy pkg/filter/{metric/metric_test.go => ratelimit/rate_limit_test.go} (63%)
rename pkg/filter/ratelimit/{matcher => }/regex.go (87%)
delete mode 100644 pkg/initialize/init.go
copy pkg/model/{tracing.go => adapter.go} (72%)
delete mode 100644 pkg/model/authority.go
delete mode 100644 pkg/pixiu/listener.go
delete mode 100644 pkg/pixiu/listener_test.go
rename pkg/{common/extension/discovery_service.go =>
pluginregistry/registry.go} (50%)
create mode 100644 pkg/server/adapter_manager.go
create mode 100644 pkg/server/adapter_manager_test.go
create mode 100644 pkg/server/cluster_manager.go
copy pkg/{filter/accesslog/access_log_test.go =>
server/cluster_manager_test.go} (52%)
copy pkg/{pixiu => server}/http.go (91%)
create mode 100644 pkg/server/listener.go
copy pkg/{pixiu/http.go => server/listener_manager.go} (50%)
copy pkg/{pixiu/http.go => server/listener_test.go} (61%)
rename pkg/{pixiu => server}/otel.go (99%)
rename pkg/{pixiu => server}/pixiu_start.go (60%)
rename pkg/{pixiu/http.go => server/router_manager.go} (58%)
delete mode 100644 pkg/service/discovery_service.go
copy samples/dubbogo/{simple/uri => http}/docker/docker-compose.yml (100%)
copy samples/dubbogo/{simple/body => http}/request.sh (73%)
copy samples/dubbogo/{simple/uri => http}/test/pixiu_test.go (70%)
copy samples/{dubbogo/simple/uri => http/simple}/docker/docker-compose.yml
(100%)
copy samples/{dubbogo/multi/config => http/simple/pixiu}/conf.yaml (58%)
copy samples/{dubbogo/simple/uri => http/simple}/request.sh (66%)
rename samples/http/{ => simple}/server/app/server.go (100%)
rename samples/http/{ => simple}/server/app/user.go (89%)
copy samples/{dubbogo/simple/uri => http/simple}/test/pixiu_test.go (69%)
mode change 100644 => 100755 start_integrate_test.sh