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 2023/03/06 05:08:32 UTC

[dubbo-admin] branch refactor-with-go updated (8b4f30ec -> 6b9f606c)

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

albumenj pushed a change to branch refactor-with-go
in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git


    from 8b4f30ec add license (#1012)
     add 6b9f606c Support crd observe (#1014)

No new revisions were added by this update.

Summary of changes:
 .codecov.yml                                       |  23 +-
 .github/workflows/lint.yml                         |   2 +-
 .github/workflows/unit-test.yml                    |   2 +
 .licenserc.yaml                                    |   1 +
 cmd/authority/main.go                              |  17 +-
 deploy/example-peerauthentication.yaml             |   2 +-
 go.mod                                             |   3 +-
 pkg/admin/config/address_config.go                 |   3 +-
 pkg/admin/config/config.go                         |  14 +-
 pkg/admin/handlers/service.go                      |   3 +-
 pkg/admin/imports/imports.go                       |   2 +-
 pkg/admin/services/provider_service_impl.go        |   3 +-
 pkg/admin/services/registry_service_sync.go        |  17 +-
 pkg/authority/cert/storage.go                      |   9 +-
 pkg/authority/cert/storage_test.go                 |  15 +-
 pkg/authority/cert/util.go                         |  32 +-
 pkg/authority/cert/util_test.go                    |  17 +-
 .../generated/applyconfiguration/utils.go          |  32 +-
 .../generated/clientset/versioned/clientset.go     |   2 +-
 .../v1beta1/authenticationpolicy.go                |   6 +-
 .../v1beta1/authorizationpolicy.go                 |   6 +-
 .../v1beta1/dubbo.apache.org_client.go             |   4 +-
 .../v1beta1/fake/fake_authenticationpolicy.go      |  50 +-
 .../v1beta1/fake/fake_authorizationpolicy.go       |  50 +-
 .../v1beta1/fake/fake_dubbo.apache.org_client.go   |   6 +-
 .../externalversions/dubbo.apache.org/interface.go |   4 +-
 .../v1beta1/authenticationpolicy.go                |   8 +-
 .../v1beta1/authorizationpolicy.go                 |   8 +-
 .../dubbo.apache.org/v1beta1/interface.go          |   2 +-
 .../informers/externalversions/factory.go          |   6 +-
 .../informers/externalversions/generic.go          |   2 +-
 .../internalinterfaces/factory_interfaces.go       |   2 +-
 .../v1beta1/authenticationpolicy.go                |  22 +-
 .../v1beta1/authorizationpolicy.go                 |  22 +-
 pkg/authority/k8s/client.go                        | 137 ++--
 pkg/authority/k8s/controller.go                    | 125 ++--
 pkg/authority/patch/javasdk.go                     | 219 +++---
 pkg/authority/patch/javasdk_test.go                | 611 ++++++++++++++++-
 pkg/authority/rule/authentication/definition.go    |  10 +-
 pkg/authority/rule/authentication/handler.go       | 119 +++-
 pkg/authority/rule/authentication/handler_test.go  | 314 +++++++++
 pkg/authority/rule/authentication/rule.go          |  74 ++
 pkg/authority/rule/authentication/rule_test.go     | 119 ++++
 pkg/authority/rule/authorization/definition.go     |  10 +-
 pkg/authority/rule/authorization/handler.go        | 104 ++-
 pkg/authority/rule/authorization/handler_test.go   | 314 +++++++++
 pkg/authority/rule/authorization/rule.go           |  72 ++
 pkg/authority/rule/authorization/rule_test.go      | 109 +++
 pkg/authority/rule/connection/storage.go           | 306 +++++++++
 pkg/authority/rule/connection/storage_test.go      | 762 +++++++++++++++++++++
 .../{k8s/controller_test.go => rule/endpoint.go}   |  28 +-
 .../generated_expansion.go => rule/rule.go}        |  16 +-
 pkg/authority/security/server.go                   | 103 ++-
 pkg/authority/security/server_test.go              |  26 +-
 pkg/authority/v1alpha1/ca.pb.go                    | 312 ++-------
 pkg/authority/v1alpha1/ca.proto                    |  19 +-
 pkg/authority/v1alpha1/ca_grpc.pb.go               |  14 +-
 pkg/authority/v1alpha1/ca_impl.go                  | 112 ---
 pkg/authority/v1alpha1/certificate.go              |  85 +++
 .../{ca_impl_test.go => certificate_test.go}       |  22 +-
 pkg/authority/v1alpha1/rule.go                     |  95 +++
 pkg/authority/v1alpha1/tools.go                    |  67 ++
 pkg/authority/webhook/server.go                    | 110 ++-
 pkg/authority/webhook/server_test.go               | 392 +++++++++++
 pkg/{authority => }/logger/log.go                  |  42 +-
 65 files changed, 4330 insertions(+), 915 deletions(-)
 create mode 100644 pkg/authority/rule/authentication/handler_test.go
 create mode 100644 pkg/authority/rule/authentication/rule.go
 create mode 100644 pkg/authority/rule/authentication/rule_test.go
 create mode 100644 pkg/authority/rule/authorization/handler_test.go
 create mode 100644 pkg/authority/rule/authorization/rule.go
 create mode 100644 pkg/authority/rule/authorization/rule_test.go
 create mode 100644 pkg/authority/rule/connection/storage.go
 create mode 100644 pkg/authority/rule/connection/storage_test.go
 rename pkg/authority/{k8s/controller_test.go => rule/endpoint.go} (70%)
 copy pkg/authority/{generated/clientset/versioned/typed/dubbo.apache.org/v1beta1/generated_expansion.go => rule/rule.go} (80%)
 delete mode 100644 pkg/authority/v1alpha1/ca_impl.go
 create mode 100644 pkg/authority/v1alpha1/certificate.go
 rename pkg/authority/v1alpha1/{ca_impl_test.go => certificate_test.go} (95%)
 create mode 100644 pkg/authority/v1alpha1/rule.go
 create mode 100644 pkg/authority/v1alpha1/tools.go
 create mode 100644 pkg/authority/webhook/server_test.go
 rename pkg/{authority => }/logger/log.go (73%)