elixir-cloud-aai / ga4gh-sdk

Generic SDK and CLI for GA4GH API services
Apache License 2.0
13 stars 2 forks source link

feat: adding service info #24

Closed aaravm closed 4 months ago

aaravm commented 4 months ago

This is the service info class, which can take in the details of any implementation of the main GA4GH API's and return its details. For unit testing, currently Funnel is used

Summary by Sourcery

This pull request adds a new ServiceInfo class to manage and retrieve details of GA4GH API implementations. It also includes a unit test to ensure the correct functionality of the ServiceInfo class using Funnel.

sourcery-ai[bot] commented 4 months ago

Reviewer's Guide by Sourcery

This pull request introduces a new ServiceInfo module that provides functionality to retrieve service information from any implementation of the GA4GH API. The module includes methods for initialization and fetching service details, with comprehensive error handling and logging. Additionally, unit tests are provided to ensure the functionality works correctly with a Funnel instance.

File-Level Changes

Files Changes
lib/src/serviceinfo/mod.rs Introduced a new ServiceInfo module to handle service information retrieval, including initialization, fetching, error handling, and unit testing.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - 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.