You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2024/01/31 10:03:43 UTC
(dubbo-kubernetes) branch control-plane updated (68144314 -> 4813d538)
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a change to branch control-plane
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git
from 68144314 Merge pull request #185 from sjmshsh/control-plane
add dde00afe fix
add 266db5ea fix
add be09141e feat: test
add c6dc7167 feat: test
add 335013d7 feat: test
add cd7e1565 feat: test
add 2f1612ec add test
new 4813d538 Merge pull request #190 from sjmshsh/control-plane
The 1 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:
api/mesh/options.pb.go | 40 +-
api/mesh/options.proto | 4 +-
api/mesh/v1alpha1/dataplane.proto | 2 +-
api/mesh/v1alpha1/dataplane_helper.go | 8 +-
api/mesh/v1alpha1/dataplane_insight.pb.go | 2 +-
api/mesh/v1alpha1/dataplane_insight.proto | 4 +-
api/mesh/v1alpha1/dataplane_insight_helper.go | 2 +-
api/mesh/v1alpha1/mesh.pb.go | 1283 +++++++++++++++++++-
api/mesh/v1alpha1/mesh.proto | 170 ++-
api/mesh/v1alpha1/mesh_insight.pb.go | 760 ++++++++++++
api/mesh/v1alpha1/mesh_insight.proto | 68 ++
api/mesh/v1alpha1/zone_ingress.proto | 2 +-
api/mesh/v1alpha1/zone_ingress_insight.pb.go | 2 +-
api/mesh/v1alpha1/zone_ingress_insight.proto | 4 +-
api/mesh/v1alpha1/zone_ingress_insight_helpers.go | 2 +-
api/system/v1alpha1/config.proto | 2 +-
...datasources.yaml => dubbo.io_meshinsights.yaml} | 12 +-
docs/guides/new-policies.md | 2 +-
go.mod | 5 +-
go.sum | 105 --
mk/check.mk | 6 +-
pkg/bufman/gen/data/datawkt/datawkt.gen.go | 310 +----
pkg/bufman/pkg/dag/dag.go | 2 +-
pkg/config/app/dubbo-cp/config.go | 20 +-
pkg/config/dp-server/config.go | 16 +-
pkg/config/intercp/config.go | 14 +-
pkg/config/multizone/dds.go | 6 +-
pkg/config/multizone/multicluster.go | 10 +-
pkg/config/plugins/runtime/universal/config.go | 2 +-
pkg/config/xds/bootstrap/config.go | 22 +-
pkg/config/xds/config.go | 8 +-
.../resources/apis/mesh/dataplane_validator.go | 2 +-
.../resources/apis/mesh/zz_generated.resources.go | 130 +-
.../apis/system/zz_generated.resources.go | 2 +-
pkg/core/resources/manager/cache_test.go | 253 ++++
pkg/core/resources/manager/manager.go | 17 +-
.../core/resources/manager/manager_suite_test.go | 10 +-
pkg/core/resources/manager/manager_test.go | 143 +++
pkg/core/resources/model/resource.go | 28 +-
.../runtime/component/component_manager_test.go | 84 ++
.../core/runtime/component/component_suite_test.go | 10 +-
pkg/defaults/components.go | 2 +-
pkg/defaults/components_test.go | 119 ++
.../main.go => pkg/defaults/defaults_suite_test.go | 10 +-
.../main.go => pkg/events/enventbus_suite_test.go | 10 +-
pkg/events/enventbus_test.go | 81 ++
pkg/gc/collector_test.go | 121 ++
app/dubboctl/main.go => pkg/gc/gc_suite_test.go | 10 +-
.../main.go => pkg/hds/cache/cache_suite_test.go | 10 +-
pkg/hds/cache/snapshot_test.go | 220 ++++
pkg/hds/tracker/callbacks.go | 4 +-
.../main.go => pkg/hds/tracker/hds_suite_test.go | 10 +-
pkg/hds/tracker/healthcheck_generator.go | 21 -
pkg/hds/tracker/healthcheck_generator_test.go | 160 +++
pkg/hds/tracker/testdata/hds.1.golden.yaml | 31 +
pkg/hds/tracker/testdata/hds.2.golden.yaml | 31 +
pkg/hds/tracker/testdata/hds.3.golden.yaml | 31 +
.../api/v1alpha1/zz_generated.resource.go | 2 +-
.../native/api/v1alpha1/zz_generated.deepcopy.go | 22 +-
.../k8s/native/api/v1alpha1/zz_generated.mesh.go | 38 +-
.../plugins/resources/memory/memory_suite_test.go | 10 +-
.../resources/memory/store_template_test.go | 14 +-
pkg/plugins/runtime/k8s/webhooks/validation.go | 4 +-
pkg/test/runtime/runtime.go | 2 +-
pkg/test/store/owner_test_templates.go | 251 ++++
pkg/util/http/client_test.go | 131 ++
.../main.go => pkg/util/http/http_suite_test.go | 10 +-
.../main.go => pkg/util/maps/maps_suite_test.go | 10 +-
pkg/util/maps/sorted_keys_test.go | 28 +
pkg/util/{files/project.go => net/ips_test.go} | 61 +-
.../main.go => pkg/util/net/net_suite_test.go | 10 +-
pkg/util/net/tcpsock_test.go | 215 ++++
pkg/util/os/limits_test.go | 41 +
.../main.go => pkg/util/os/os_suite_test.go | 10 +-
.../v3/tags_metadata.go => util/proto/any_test.go} | 41 +-
pkg/util/proto/google_proto_test.go | 69 ++
.../main.go => pkg/util/proto/proto_suite_test.go | 10 +-
.../util/protocol/protocol_suite_test.go | 10 +-
pkg/util/protocol/protocol_test.go | 131 ++
.../util/watchdog/watchdog_suite_test.go | 10 +-
pkg/util/watchdog/watchdog_test.go | 167 +++
pkg/util/xds/stats_callbacks.go | 8 +-
pkg/util/xds/v3/callbacks_chain_test.go | 228 ++++
.../main.go => pkg/util/xds/v3/xds_suite_test.go | 10 +-
pkg/xds/cache/cla/cache.go | 1 -
pkg/xds/envoy/names/resource_names.go | 4 +-
.../routes/route_configuration_configurers.go | 2 +-
pkg/xds/envoy/tags/match.go | 2 +-
pkg/xds/server/callbacks/dataplane_callbacks.go | 2 +-
pkg/xds/server/callbacks/dataplane_lifecycle.go | 6 +-
pkg/xds/server/callbacks/dataplane_status_sink.go | 2 +-
pkg/xds/server/v3/resource_warming_forcer.go | 8 +-
tools/policy-gen/generator/cmd/core_resource.go | 2 +-
tools/resource-gen/genutils/util.go | 20 +-
tools/resource-gen/main.go | 4 +-
95 files changed, 5232 insertions(+), 809 deletions(-)
create mode 100644 api/mesh/v1alpha1/mesh_insight.pb.go
create mode 100644 api/mesh/v1alpha1/mesh_insight.proto
copy deploy/charts/admin/crds/{dubbo.io_datasources.yaml => dubbo.io_meshinsights.yaml} (91%)
create mode 100644 pkg/core/resources/manager/cache_test.go
copy app/dubboctl/main.go => pkg/core/resources/manager/manager_suite_test.go (84%)
create mode 100644 pkg/core/resources/manager/manager_test.go
create mode 100644 pkg/core/runtime/component/component_manager_test.go
copy app/dubboctl/main.go => pkg/core/runtime/component/component_suite_test.go (84%)
create mode 100644 pkg/defaults/components_test.go
copy app/dubboctl/main.go => pkg/defaults/defaults_suite_test.go (85%)
copy app/dubboctl/main.go => pkg/events/enventbus_suite_test.go (85%)
create mode 100644 pkg/events/enventbus_test.go
create mode 100644 pkg/gc/collector_test.go
copy app/dubboctl/main.go => pkg/gc/gc_suite_test.go (86%)
copy app/dubboctl/main.go => pkg/hds/cache/cache_suite_test.go (84%)
create mode 100644 pkg/hds/cache/snapshot_test.go
copy app/dubboctl/main.go => pkg/hds/tracker/hds_suite_test.go (84%)
create mode 100644 pkg/hds/tracker/healthcheck_generator_test.go
create mode 100644 pkg/hds/tracker/testdata/hds.1.golden.yaml
create mode 100644 pkg/hds/tracker/testdata/hds.2.golden.yaml
create mode 100644 pkg/hds/tracker/testdata/hds.3.golden.yaml
copy app/dubboctl/main.go => pkg/plugins/resources/memory/memory_suite_test.go (83%)
copy app/dubboctl/main.go => pkg/plugins/resources/memory/store_template_test.go (70%)
create mode 100644 pkg/test/store/owner_test_templates.go
create mode 100644 pkg/util/http/client_test.go
copy app/dubboctl/main.go => pkg/util/http/http_suite_test.go (85%)
copy app/dubboctl/main.go => pkg/util/maps/maps_suite_test.go (85%)
create mode 100644 pkg/util/maps/sorted_keys_test.go
copy pkg/util/{files/project.go => net/ips_test.go} (51%)
copy app/dubboctl/main.go => pkg/util/net/net_suite_test.go (86%)
create mode 100644 pkg/util/net/tcpsock_test.go
create mode 100644 pkg/util/os/limits_test.go
copy app/dubboctl/main.go => pkg/util/os/os_suite_test.go (86%)
copy pkg/{xds/envoy/listeners/v3/tags_metadata.go => util/proto/any_test.go} (58%)
create mode 100644 pkg/util/proto/google_proto_test.go
copy app/dubboctl/main.go => pkg/util/proto/proto_suite_test.go (84%)
copy app/dubboctl/main.go => pkg/util/protocol/protocol_suite_test.go (84%)
create mode 100644 pkg/util/protocol/protocol_test.go
copy app/dubboctl/main.go => pkg/util/watchdog/watchdog_suite_test.go (84%)
create mode 100644 pkg/util/watchdog/watchdog_test.go
create mode 100644 pkg/util/xds/v3/callbacks_chain_test.go
copy app/dubboctl/main.go => pkg/util/xds/v3/xds_suite_test.go (86%)
(dubbo-kubernetes) 01/01: Merge pull request #190 from sjmshsh/control-plane
Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch control-plane
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git
commit 4813d53893cbde18ee8d4554b128aac913ce8736
Merge: 68144314 2f1612ec
Author: Ken Liu <ke...@gmail.com>
AuthorDate: Wed Jan 31 09:52:12 2024 +0800
Merge pull request #190 from sjmshsh/control-plane
fix cp
api/mesh/options.pb.go | 40 +-
api/mesh/options.proto | 4 +-
api/mesh/v1alpha1/dataplane.proto | 2 +-
api/mesh/v1alpha1/dataplane_helper.go | 8 +-
api/mesh/v1alpha1/dataplane_insight.pb.go | 2 +-
api/mesh/v1alpha1/dataplane_insight.proto | 4 +-
api/mesh/v1alpha1/dataplane_insight_helper.go | 2 +-
api/mesh/v1alpha1/mesh.pb.go | 1283 +++++++++++++++++++-
api/mesh/v1alpha1/mesh.proto | 170 ++-
api/mesh/v1alpha1/mesh_insight.pb.go | 760 ++++++++++++
api/mesh/v1alpha1/mesh_insight.proto | 68 ++
api/mesh/v1alpha1/zone_ingress.proto | 2 +-
api/mesh/v1alpha1/zone_ingress_insight.pb.go | 2 +-
api/mesh/v1alpha1/zone_ingress_insight.proto | 4 +-
api/mesh/v1alpha1/zone_ingress_insight_helpers.go | 2 +-
api/system/v1alpha1/config.proto | 2 +-
.../charts/admin/crds/dubbo.io_meshinsights.yaml | 50 +
docs/guides/new-policies.md | 2 +-
go.mod | 5 +-
go.sum | 105 --
mk/check.mk | 6 +-
pkg/bufman/gen/data/datawkt/datawkt.gen.go | 310 +----
pkg/bufman/pkg/dag/dag.go | 2 +-
pkg/config/app/dubbo-cp/config.go | 20 +-
pkg/config/dp-server/config.go | 16 +-
pkg/config/intercp/config.go | 14 +-
pkg/config/multizone/dds.go | 6 +-
pkg/config/multizone/multicluster.go | 10 +-
pkg/config/plugins/runtime/universal/config.go | 2 +-
pkg/config/xds/bootstrap/config.go | 22 +-
pkg/config/xds/config.go | 8 +-
.../resources/apis/mesh/dataplane_validator.go | 2 +-
.../resources/apis/mesh/zz_generated.resources.go | 130 +-
.../apis/system/zz_generated.resources.go | 2 +-
pkg/core/resources/manager/cache_test.go | 253 ++++
pkg/core/resources/manager/manager.go | 17 +-
.../resources/manager/manager_suite_test.go} | 16 +-
pkg/core/resources/manager/manager_test.go | 143 +++
pkg/core/resources/model/resource.go | 28 +-
.../runtime/component/component_manager_test.go | 84 ++
.../runtime/component/component_suite_test.go} | 16 +-
pkg/defaults/components.go | 2 +-
pkg/defaults/components_test.go | 119 ++
.../dds.go => defaults/defaults_suite_test.go} | 16 +-
.../dds.go => events/enventbus_suite_test.go} | 16 +-
pkg/events/enventbus_test.go | 81 ++
pkg/gc/collector_test.go | 121 ++
.../multizone/dds.go => gc/gc_suite_test.go} | 16 +-
.../dds.go => hds/cache/cache_suite_test.go} | 16 +-
pkg/hds/cache/snapshot_test.go | 220 ++++
pkg/hds/tracker/callbacks.go | 4 +-
.../dds.go => hds/tracker/hds_suite_test.go} | 16 +-
pkg/hds/tracker/healthcheck_generator.go | 21 -
pkg/hds/tracker/healthcheck_generator_test.go | 160 +++
pkg/hds/tracker/testdata/hds.1.golden.yaml | 31 +
pkg/hds/tracker/testdata/hds.2.golden.yaml | 31 +
pkg/hds/tracker/testdata/hds.3.golden.yaml | 31 +
.../api/v1alpha1/zz_generated.resource.go | 2 +-
.../native/api/v1alpha1/zz_generated.deepcopy.go | 22 +-
.../k8s/native/api/v1alpha1/zz_generated.mesh.go | 38 +-
.../resources/memory/memory_suite_test.go} | 16 +-
.../resources/memory/store_template_test.go} | 20 +-
pkg/plugins/runtime/k8s/webhooks/validation.go | 4 +-
pkg/test/runtime/runtime.go | 2 +-
pkg/test/store/owner_test_templates.go | 251 ++++
pkg/util/http/client_test.go | 131 ++
.../dds.go => util/http/http_suite_test.go} | 16 +-
.../dds.go => util/maps/maps_suite_test.go} | 16 +-
pkg/util/maps/sorted_keys_test.go | 28 +
pkg/util/net/ips_test.go | 47 +
.../dds.go => util/net/net_suite_test.go} | 16 +-
pkg/util/net/tcpsock_test.go | 215 ++++
pkg/util/os/limits_test.go | 41 +
.../multizone/dds.go => util/os/os_suite_test.go} | 16 +-
.../multizone/dds.go => util/proto/any_test.go} | 34 +-
pkg/util/proto/google_proto_test.go | 69 ++
.../dds.go => util/proto/proto_suite_test.go} | 16 +-
.../protocol/protocol_suite_test.go} | 16 +-
pkg/util/protocol/protocol_test.go | 131 ++
.../watchdog/watchdog_suite_test.go} | 16 +-
pkg/util/watchdog/watchdog_test.go | 167 +++
pkg/util/xds/stats_callbacks.go | 8 +-
pkg/util/xds/v3/callbacks_chain_test.go | 228 ++++
.../dds.go => util/xds/v3/xds_suite_test.go} | 16 +-
pkg/xds/cache/cla/cache.go | 1 -
pkg/xds/envoy/names/resource_names.go | 4 +-
.../routes/route_configuration_configurers.go | 2 +-
pkg/xds/envoy/tags/match.go | 2 +-
pkg/xds/server/callbacks/dataplane_callbacks.go | 2 +-
pkg/xds/server/callbacks/dataplane_lifecycle.go | 6 +-
pkg/xds/server/callbacks/dataplane_status_sink.go | 2 +-
pkg/xds/server/v3/resource_warming_forcer.go | 8 +-
tools/policy-gen/generator/cmd/core_resource.go | 2 +-
tools/resource-gen/genutils/util.go | 20 +-
tools/resource-gen/main.go | 4 +-
95 files changed, 5337 insertions(+), 823 deletions(-)