Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Donor Data schemas and Resolvers to GQL server #299

Closed
joneubank opened this issue Feb 28, 2024 · 0 comments
Closed

Add Donor Data schemas and Resolvers to GQL server #299

joneubank opened this issue Feb 28, 2024 · 0 comments
Assignees
Labels
donor-data-api new-feature Request is a new feature

Comments

@joneubank
Copy link
Member

Adding the ability to query the data indexed by the Donor Aggregator. This functionality is currently available in the ARGO platform API, but will be moved into this service.

Dependent on the completion of #298

We want to move the schemas and resolvers to query the data indexed by the donor aggregator from the ARGO platform gateway into the GQL server in this service. The schemas should be copied into this service unchanged. Implementing the resolvers may require updates to this service's config and potentially copying other utilities from the platform-api codebase.

Detailed Description

We need to copy the schema and resolvers for two types from the platform api:

  1. ProgramDonorSummary - https://github.com/icgc-argo/platform-api/tree/develop/src/schemas/ProgramDonorSummary
  2. ProgramDonorPublishedAnalysisByDateRange - https://github.com/icgc-argo/platform-api/tree/develop/src/schemas/ProgramDonorPublishedAnalysisByDateRange

These resolvers come with some built in authorization rules. For the scope of this ticket, leave these unchanged. There are follow-on tickets to add authorization rules to allow access by RDPC admin.

The outcome of this work should have both of these types queryable through the gql server for dcc admin or program submitters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
donor-data-api new-feature Request is a new feature
Projects
None yet
Development

No branches or pull requests

3 participants