elixir-cloud-aai / drs-filer

Lightweight, flexible Flask/Gunicorn-based GA4GH DRS implementation
Apache License 2.0
5 stars 8 forks source link

feat: add operation to list all objects #56

Closed psankhe28 closed 2 months ago

psankhe28 commented 2 months ago

Description

Added a GET endpoint that lists the metadata of all the DRS objects.

Fixes #55

Type of change

Please delete options that are not relevant.

Checklist:

sourcery-ai[bot] commented 2 months ago

Reviewer's Guide by Sourcery

This pull request introduces a new feature that adds an endpoint for retrieving all DRS objects. The changes include modifications to the Swagger API definition to add the new endpoint and the implementation of the GetAllObjects function in the server code to handle the retrieval of objects from the database.

File-Level Changes

Files Changes
drs_filer/api/20200622.383121d.data_repository_service.swagger.yaml
drs_filer/ga4gh/drs/server.py
Introduced a new endpoint to list all DRS objects and implemented the corresponding server-side logic to fetch and return these objects from the database.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - You can change your review settings at any time by accessing your [dashboard](https://sourcery.ai/dashboard): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.