Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • hive hive
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 99
    • Issues 99
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 27
    • Merge requests 27
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • hive
  • hivehive
  • Merge requests
  • !253

Merged
Created Aug 24, 2021 by Krzysztof Mochocki@kmochockiDeveloper

Notification system

  • Overview 6
  • Commits 25
  • Changes 20

Changes:

  • Add notifications system to hived. Thanks to this enchantment it's possible to send any info from application to any given endpoints via HTTP method (PUT).
  • Add flag --list-plugins which prints names of all available plugins

Minor changes:

  • Move test of hived behavior on unsupported plugin request from TestTools to hived
  • Cleanup python_tests/cli_wallet/conftest.py and python_tests/hived/test_hived_options.py
  • Update TestTools' logger configuration

Possible usage of notifications:

  • monitoring state of hived (replaying, producing block, shutting down, etc.)
  • alternative form of broadcasting statistics (currently only via JSON)
  • alerting about on-chain assertions
  • easier way for plugins to broadcast some information outside (ex. usage in AH [not implemented, just suggestion]: subscribe for some account and get all updates via this system, so there is no need to constantly ask for blocks)

Corresponding merge request in TestTools: test-tools!19 (merged)

@pbatko @bwrona @gandalf

Edited Dec 10, 2021 by Piotr Batko
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: km_notificiation