directory
Version:
v1.10.0
Opens a new window with list of versions in this module.
Published: Jun 26, 2023
License: AGPL-3.0
Opens a new window with license information.
README
¶
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:-
1. /full-export
this endpoint returns the full backup of suppression regulation till date.
2. /latest-export
As the above data might be really large and a little less relevant, so this endpoint returns suppression data of last 30 days.
To run this service following envs are requried:-
- 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
Directories
¶
Click to show internal directories.
Click to hide internal directories.