Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 709 Bytes

Readme.md

File metadata and controls

37 lines (29 loc) · 709 Bytes

DMS - Dead (Wo)man Switch

Simple aggregate dead (wo)man switch

Use

Register

curl --user <basic_auth_user>:<basic_auc_password> -d "environment=<environment_name>" <dms_endpoint>/register

Ingest

curl -H "Authorization: Bearer <jwt_token>" -XPOST <dms_endpoint>/ingest

Pingdom

curl <dms_endpoint>/pingdom

Status

curl --user <basic_auth_user>:<basic_auc_password> <dms_endpoint>/status

Incidents

curl --user <basic_auth_user>:<basic_auc_password> <dms_endpoint>/incidents

Test

go test -parallel 1 -v ./pkg/routes/... ./pkg/storage/... -cover

Author