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/10 10:59:09 UTC

[skywalking-satellite] branch delete-plugin-framework-examples updated (578bb61 -> 217ab07)

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

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


    from 578bb61  Merge branch 'delete-plugin-framework-examples' of https://github.com/apache/skywalking-satellite into delete-plugin-framework-examples
     add 217ab07  add module

No new revisions were added by this update.

Summary of changes:
 plugins/filter/api/filter.go => cmd/command.go     |  43 +++--
 main.go => cmd/main.go                             |  22 ++-
 configs/config.yaml                                |  48 ------
 configs/satellite_config.yaml                      |  65 +++++++
 docs/design/module_structure.md                    |  17 +-
 docs/design/plugin_structure.md                    |  31 ++--
 go.mod                                             |   2 +
 go.sum                                             |  11 ++
 internal/pkg/event/event.go                        |   6 +-
 internal/pkg/log/log.go                            | 146 ++++++++++++++++
 internal/pkg/{logger => log}/log_test.go           |  44 ++++-
 internal/pkg/logger/log.go                         | 106 ------------
 internal/pkg/plugin/default_plugin.go              |  76 --------
 internal/pkg/plugin/definition.go                  |  28 +--
 internal/pkg/plugin/plugin_test.go                 |  10 +-
 internal/pkg/plugin/registry.go                    |  61 ++++---
 internal/satellite/boot/boot.go                    | 161 +++++++++++++++++
 internal/satellite/config/loader.go                |  69 ++++++++
 internal/satellite/config/loader_test.go           | 127 ++++++++++++++
 internal/satellite/config/satellite_config.go      |  40 +++++
 .../satellite/module/api/module.go                 |  28 ++-
 internal/satellite/module/buffer/buffer.go         |  94 ++++++++++
 .../satellite/module/buffer/buffer_test.go         |  63 +++++--
 internal/satellite/module/clientmanager.go         | 181 +++++++++++++++++++
 internal/satellite/module/gatherer.go              | 108 ++++++++++++
 internal/satellite/module/processor.go             | 108 ++++++++++++
 internal/satellite/module/sender.go                | 191 +++++++++++++++++++++
 plugins/client/api/client.go                       |  11 --
 .../filter.go => client/api/client_repository.go}  |  26 +--
 plugins/collector/api/collector.go                 |  11 --
 .../api/collector_repository.go}                   |  26 ++-
 plugins/fallbacker/api/fallbacker.go               |  14 +-
 .../api/fallbacker_repository.go}                  |  28 +--
 plugins/fallbacker/timer/timer_fallbacker.go       |   6 +-
 plugins/filter/api/filter.go                       |  11 --
 .../filter/api/{filter.go => filter_repository.go} |  24 ++-
 plugins/forwarder/api/forwarder.go                 |  12 --
 .../api/forwarder_repository.go}                   |  26 ++-
 plugins/{filter/api/filter.go => init.go}          |  36 ++--
 plugins/parser/api/parser.go                       |  10 --
 .../parser/api/{parser.go => parser_repository.go} |  26 ++-
 plugins/queue/api/queue.go                         |  10 --
 .../filter.go => queue/api/queue_repository.go}    |  26 ++-
 43 files changed, 1634 insertions(+), 555 deletions(-)
 copy plugins/filter/api/filter.go => cmd/command.go (54%)
 copy main.go => cmd/main.go (61%)
 delete mode 100644 configs/config.yaml
 create mode 100644 configs/satellite_config.yaml
 create mode 100644 internal/pkg/log/log.go
 rename internal/pkg/{logger => log}/log_test.go (66%)
 delete mode 100644 internal/pkg/logger/log.go
 delete mode 100644 internal/pkg/plugin/default_plugin.go
 create mode 100644 internal/satellite/boot/boot.go
 create mode 100644 internal/satellite/config/loader.go
 create mode 100644 internal/satellite/config/loader_test.go
 create mode 100644 internal/satellite/config/satellite_config.go
 copy plugins/filter/api/filter.go => internal/satellite/module/api/module.go (58%)
 create mode 100644 internal/satellite/module/buffer/buffer.go
 copy plugins/fallbacker/api/fallbacker.go => internal/satellite/module/buffer/buffer_test.go (50%)
 create mode 100644 internal/satellite/module/clientmanager.go
 create mode 100644 internal/satellite/module/gatherer.go
 create mode 100644 internal/satellite/module/processor.go
 create mode 100644 internal/satellite/module/sender.go
 copy plugins/{filter/api/filter.go => client/api/client_repository.go} (64%)
 copy plugins/{filter/api/filter.go => collector/api/collector_repository.go} (63%)
 copy plugins/{filter/api/filter.go => fallbacker/api/fallbacker_repository.go} (60%)
 copy plugins/filter/api/{filter.go => filter_repository.go} (68%)
 copy plugins/{filter/api/filter.go => forwarder/api/forwarder_repository.go} (62%)
 copy plugins/{filter/api/filter.go => init.go} (51%)
 copy plugins/parser/api/{parser.go => parser_repository.go} (63%)
 copy plugins/{filter/api/filter.go => queue/api/queue_repository.go} (62%)