suppression-backup-service can be used to speed-up loading of suppression regulation at gateway after it's restart.
It regularly syncs with suppression-service & then creates latest and full backuped badgerdb, which are served from following endpoints:-
this endpoint returns the full backup of suppression regulation till date.
As the above data might be really large and a little less relevant, so this endpoint returns suppression data of last 30 days.
- WORKSPACE_TOKEN #workspace secret is required only in case single tenant.
- HOSTED_SERVICE_SECRET #namespace secret is required only in case of multi-tenant.
- CONFIG_BACKEND_URL #url to hit for getting config SUPPRESS_USER_BACKEND_URL #url to hit for getting regulation-manager