SimplyStaking / panic

PANIC Monitoring and Alerting For Blockchains
Apache License 2.0
85 stars 31 forks source link

Make the POC ConfigsManager as the new ConfigsManager Step 2 #334

Closed rider-cantuaria-eng closed 2 years ago

rider-cantuaria-eng commented 2 years ago

Technical Story

The alerter needs to be notified whenever there is a configuration change.

Description

Since we are now storing the configurations inside the database we must be able to detect a configuration change by listening to database events. This means that we need to migrate the POC logic that @simplyrider has developed and replace the old ConfigsManager

Requirements

Extra attention should be put towards the following:

Blocked by

147

Acceptance criteria

Given: Any Substrate configuration change Then: The ConfigsManager sends the correct configuration update with the correct routing key

Given: Any Cosmos configuration change Then: The ConfigsManager sends the correct configuration update with the correct routing key

Given: Any Chainlink configuration change Then: The ConfigsManager sends the correct configuration update with the correct routing key

Given: Any General configuration change Then: The ConfigsManager sends the correct configuration update with the correct routing key

itsciccio commented 2 years ago

To be merged into https://github.com/SimplyVC/panic/issues/147