icgc-argo / platform-api

https://api.platform.icgc-argo.org/graphql
GNU Affero General Public License v3.0
0 stars 0 forks source link

#692 Add data center name filter to dataCenter gql query #701

Closed daniel-cy-lu closed 8 months ago

daniel-cy-lu commented 8 months ago

Add an optional parameter (shortName) to the dataCenter query, where resolver will filter out the dataCenter data with the shortName.

Ticket Check List

Testing Query use the following query to test result.

Note: There are two dataCenter objects now with the shrotName, DC1 and DC2.

{ dataCenters(shortName: "DC1") { id shortName name organization email uiUrl gatewayUrl analysisSongCode analysisSongUrl analysisScoreUrl submissionSongCode submissionSongUrl submissionScoreUrl } }

Type of Change

daniel-cy-lu commented 8 months ago

Removed the reviewers because I was fixing something. Added the reviewers back. I added dataCenter, DC2 so reviewers can test the logic.

daniel-cy-lu commented 8 months ago

@demariadaniel Thank you Dan!!!