Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved message handler pluggability #29

Conversation

stoyan-zoubev
Copy link
Contributor

@stoyan-zoubev stoyan-zoubev commented Oct 12, 2022

[#17] Improve message handler pluggability

  • removed internal registries for telemetry and command handlers
  • launcher now expects to get handlers instead of using the internal registries
  • handlers.go moved from message/handlers/common to message/handlers, package changed to handlers, common directory deleted
  • packages command and telemetry merged into one package passthrough
  • message/handlers/command/passthrough_handler_*.go moved as message/handlers/passthrough/command_handler_*.go
  • message/handlers/telemetry/passthrough_handler_*.go moved as message/handlers/passthrough/telemetry_handler_*.go
  • "passthrough" strings inside the source files removed as it now matches the package name
  • removed unused stopRouter method from main.go

Signed-off-by: Stoyan Zoubev [email protected]

- removed internal registries for telemetry and command handlers
- launcher now expects to get handlers instead of using the internal registries
- handlers.go moved from message/handlers/common to message/handlers, package changed to handlers, common directory deleted
- packages command and telemetry merged into one package passthrough
- message/handlers/command/passthrough_handler_*.go moved as message/handlers/passthrough/command_handler_*.go
- message/handlers/telemetry/passthrough_handler_*.go moved as message/handlers/passthrough/telemetry_handler_*.go
- "passthrough" strings inside the source files removed as it now matches the package name
- removed unused stopRouter method from main.go

Signed-off-by: Stoyan Zoubev <[email protected]>
@e-grigorov e-grigorov linked an issue Oct 13, 2022 that may be closed by this pull request
- added some extra log messages in case of errors
- fixed typos and text descriptions.
@e-grigorov e-grigorov merged commit f6cdcde into eclipse-kanto:main Oct 13, 2022
@stoyan-zoubev stoyan-zoubev deleted the pluggable-message-handlers branch October 13, 2022 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve message handler pluggability
3 participants