A FastAPI app providing the tools backend microservice for Ensembl 2020 client.
/api/tools/blast/config
/api/tools/blast/job
/api/tools/blast/jobs/:api_path
(e.g.jobs/status/:id
, see API docs for details)
With docker-compose:
docker-compose up
Directly:
pip3 install --no-cache-dir -r requirements.txt
uvicorn app.main:app --proxy-headers --host 0.0.0.0 --port 80
See the documentation for usage: http://localhost/docs
The service/ingress templates in k8s
directory root are stored in ensembl-k8s-manifests
repo and used for integration to Ensembl 2020 review apps CI/CD pipeline in ensembl-client
repo. Rest of the configuration files (in base
and overlays
subdirs) are used to deploy updates in Tools API (see .gitlab-ci.yml
; ingress applied manually).
pip3 install pytest
pytest
(run in the repo root directory)