Skip to content

ELIXIR On-Cloud

DRS-Filer

An implementation of the GA4GH Data Repository Service (DRS) API, brought to you by ELIXIR On-Cloud. Clients such as workflow engines and execution services resolve data objects by their identifiers and get their metadata, checksums and the URLs to access them; additional endpoints list, register, update and delete objects and set the service info. DRS-Filer stores the metadata only, not the data itself. It is built with FOCA. Run it with Docker Compose for development and testing; a Helm chart for Kubernetes is in deployment/.

Contents

  • Getting started: run DRS-Filer with Docker Compose and send the first requests.
  • Configuration: the app configuration, overlays, environment variables, the host name, identifiers and the service info.
  • API: the endpoints, registering objects, and errors.
  • Access control: authentication and authorization.
  • Deployment: the Helm chart for Kubernetes and OpenShift.
  • Operations: the components, the server, the image and logs.
  • Upgrading: changes to existing deployments and data.
  • Development: development setup, checks, tests, CI, dependency updates and the documentation.
  • Contributing: how to contribute, citation metadata and the Python guidelines.
  • API reference: the code, generated from its docstrings.
  • Changelog: release notes.

Architecture

DRS-Filer is a Flask app built with FOCA, configured declaratively in YAML. It serves the GA4GH DRS API 1.5.0, with the GA4GH service info API 1.0.0, and adds endpoints to register and manage objects (see API). It stores the metadata of objects and the service info in a MongoDB database; the data itself stays where its access methods point to. A Helm chart and a Docker Compose setup are provided for deployments on Kubernetes and for development, respectively.

Work in progress

DRS-Filer is being aligned with the other services of ELIXIR On-Cloud: the rest of DRS 1.5 (#88), owners of objects (#95) and optional login for reads (#96).

Citation

If you use DRS-Filer, please cite it with the metadata in CITATION.cff: on GitHub, "Cite this repository" in the sidebar of the repository formats it as APA or BibTeX. A DOI follows with the first release archived on Zenodo.

License

This project is covered by the Apache License 2.0 also shipped with this repository.

Contact

The project is a collaborative effort under the umbrella of ELIXIR On-Cloud. Follow the link to get in touch with us via chat or email. Please mention the name of this service for any inquiry, proposal, question etc. Report bugs and request features in the issue tracker.