Skip to content

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

Installation

Clone the tapvalidator

git clone https://github.com/stvoutsin/tapvalidator/

Install Using Pip

pip install -r requirements.txt
pip install .

Usage

Command-Line Interface (CLI)

python tap_validator.py --mode TABLE_VALIDATION_ONLY --tap_service tap_service_url  --slack_webhook your_slack_webhook_url

Docker

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