You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by li...@apache.org on 2020/12/02 11:49:07 UTC

[skywalking-satellite] branch plugin-framework updated (05ee3e1 -> ad2e6be)

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

liujiapeng pushed a change to branch plugin-framework
in repository https://gitbox.apache.org/repos/asf/skywalking-satellite.git.


    from 05ee3e1  refactor registry.go
     add ad2e6be  refactor the plugin registry

No new revisions were added by this update.

Summary of changes:
 docs/project_structue.md                           |  53 ++-
 internal/pkg/{api => event}/event.go               |   8 +-
 internal/pkg/{api/plugin.go => plugin/define.go}   |  24 +-
 internal/pkg/plugin/registry.go                    |  79 ++++
 internal/satellite/event/event.go                  |  14 +-
 internal/satellite/registry/registry.go            | 130 ------
 internal/satellite/registry/registry_test.go       | 455 ---------------------
 .../api => plugins/client/defineclient}/client.go  |  27 +-
 .../queue.go => plugins/client/example/client.go   |  59 ++-
 plugins/client/example/client_test.go              |  71 ++++
 .../collector/definecollector}/collector.go        |  30 +-
 plugins/collector/example/collector.go             |  70 ++++
 plugins/collector/example/collector_test.go        |  71 ++++
 .../fallbacker/definefallbacker}/fallbacker.go     |  24 +-
 .../fallbacker/example/fallbacker.go               |  49 ++-
 plugins/fallbacker/example/fallbacker_test.go      |  71 ++++
 .../api => plugins/filter/deinefilter}/filter.go   |  24 +-
 .../pkg/api => plugins/filter/example}/filter.go   |  44 +-
 plugins/filter/example/filter_test.go              |  71 ++++
 .../forwarder/defineforwarder}/forwarder.go        |  27 +-
 .../forwarder/example/forwarder.go                 |  54 ++-
 plugins/forwarder/example/forwarder_test.go        |  71 ++++
 .../api => plugins/parser/defineparser}/parser.go  |  25 +-
 plugins/parser/example/parser.go                   |  62 +++
 plugins/parser/example/parser_test.go              |  71 ++++
 .../pkg/api => plugins/queue/definequeue}/queue.go |  29 +-
 plugins/queue/example/queue.go                     |  72 ++++
 plugins/queue/example/queue_test.go                |  71 ++++
 28 files changed, 1129 insertions(+), 727 deletions(-)
 rename internal/pkg/{api => event}/event.go (97%)
 rename internal/pkg/{api/plugin.go => plugin/define.go} (89%)
 create mode 100644 internal/pkg/plugin/registry.go
 delete mode 100644 internal/satellite/registry/registry.go
 delete mode 100644 internal/satellite/registry/registry_test.go
 rename {internal/pkg/api => plugins/client/defineclient}/client.go (66%)
 copy internal/pkg/api/queue.go => plugins/client/example/client.go (51%)
 create mode 100644 plugins/client/example/client_test.go
 rename {internal/pkg/api => plugins/collector/definecollector}/collector.go (69%)
 create mode 100644 plugins/collector/example/collector.go
 create mode 100644 plugins/collector/example/collector_test.go
 rename {internal/pkg/api => plugins/fallbacker/definefallbacker}/fallbacker.go (65%)
 copy internal/pkg/api/queue.go => plugins/fallbacker/example/fallbacker.go (50%)
 create mode 100644 plugins/fallbacker/example/fallbacker_test.go
 copy {internal/pkg/api => plugins/filter/deinefilter}/filter.go (71%)
 rename {internal/pkg/api => plugins/filter/example}/filter.go (56%)
 create mode 100644 plugins/filter/example/filter_test.go
 rename {internal/pkg/api => plugins/forwarder/defineforwarder}/forwarder.go (73%)
 copy internal/pkg/api/queue.go => plugins/forwarder/example/forwarder.go (50%)
 create mode 100644 plugins/forwarder/example/forwarder_test.go
 rename {internal/pkg/api => plugins/parser/defineparser}/parser.go (65%)
 create mode 100644 plugins/parser/example/parser.go
 create mode 100644 plugins/parser/example/parser_test.go
 rename {internal/pkg/api => plugins/queue/definequeue}/queue.go (70%)
 create mode 100644 plugins/queue/example/queue.go
 create mode 100644 plugins/queue/example/queue_test.go