forked from stvoutsin/taplib
-
Notifications
You must be signed in to change notification settings - Fork 0
How to deploy TAP Healthchecker
stvoutsin edited this page Apr 9, 2024
·
2 revisions
The following describes how to run the TAP healthchecker for the WFAU TAP services
git clone https://github.com/stvoutsin/tapvalidator/
pip install -r requirements.txt
pip install .
python tap_validator.py --mode TABLE_VALIDATION_ONLY --tap_service tap_service_url --slack_webhook your_slack_webhook_url
The library can also be used via Docker:
First create an .env file with the required params:
TAP_SERVICE=http://your_tap_service_url
MODE=your_mode_value # Can be one of (COMPARISON,VALIDATION,TABLE_VALIDATION_ONLY)
SLACK_WEBHOOK=https://your_slack_webhook_url
Using docker-compose, run the stack:
docker-compose --env-file .env up
Note: This will bring up Redis, Dramatiq and run the tapvalidator