icgc-argo / platform-api

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

Feat/674 rest api integration v2 #694

Closed daniel-cy-lu closed 8 months ago

daniel-cy-lu commented 11 months ago

Link to Issue https://app.zenhub.com/workspaces/icgc-argo-platform-dk-production-board-5e542d38415f5034e9fed89d/issues/gh/icgc-argo/platform-api/703

Tested most resolvers, validation screenshots are in ticket Can provide Query details if needed

Description of changes Continue from part 1 of the integration. In this ticket, I updated the resolvers and converting GRPC to HTTP clients of the query/endpoint of the follow:

listUsers listCancers listPrimarySites listInstitutions listCountries createProgram updateProgram inviteUser joinProgram updateUser removeUser

I am including a list of playground queries for your ease to do testing:

For the following queries, listUsers listCancers listPrimarySites listInstitutions listCountries,

Use:

{
  programOptions {
    cancerTypes
    primarySites
    institutions
    regions
    countries
  }
}

Type of Change

demariadaniel commented 8 months ago

This PR updates queries to use HTTP for data fetching

GRPC code removal is moved to this PR: https://github.com/icgc-argo/platform-api/pull/714