What does this PR do?
This PR adds an endpoint /health/ to check if the following endpoints are working as expected, i.e. authentication, mapathon summary, mapathon detail, and raw data.
How to test:
Run git fetch origin && git checkout feature/health-check to pull the branch.
To your config.txt, under the [API_MONITORING] header, add these:
MAIN_API_URL=http://127.0.0.1:8000/v1
ACCESS_TOKEN=''NB: The access token is generated using valid credentials of an OSM account. Follow these steps on how to generate a valid token to test authenticated routes in Galaxy.
What does this PR do? This PR adds an endpoint
/health/
to check if the following endpoints are working as expected, i.e. authentication, mapathon summary, mapathon detail, and raw data.How to test:
git fetch origin && git checkout feature/health-check
to pull the branch.config.txt
, under the [API_MONITORING] header, add these:MAIN_API_URL=http://127.0.0.1:8000/v1
ACCESS_TOKEN=''
NB: The access token is generated using valid credentials of an OSM account. Follow these steps on how to generate a valid token to test authenticated routes in Galaxy.uvicorn API.main:app --reload
Issues: