Closed daniel-cy-lu closed 8 months ago
@joneubank does the new error handler apply to all the other http fetchs?
In joinProgramInvite, if first and lastName have no issues, a screenshot of the query:
@joneubank Jon, I checked off the two on the list you provided this morning. Thanks for the feedbacks!
@joneubank Thanks Jon!! SO MUCH!
@daniel-cy-lu pls make a new ticekt for this PR.
@Buwujiu ticket #702 is created and attached for this PR. The PR is unattached to the epic.
Create clients using HTTP to retrieve data from Program Service endpoints. The next step would be to use these new HTTP in place of the existing GRPC clients
Create clients for getPrivateProgram, listPrivatePrograms, and getPublicProgram. Tested in localhost Playground and all three clients successfully retrieved data from Program Service.
Type of Change
[ ] Bug
[ ] New Feature
[x] Tool Update
there are three services that are now migrated to http:
test code for each case:
users is not implement in this PR. listUsers is done in the next PR.
} }
{ program(shortName: "DEMO-CA") { shortName description name website institutions countries regions cancerTypes primarySites } }
{ joinProgramInvite(id: "503b60a2-ea97-420f-9a48-8b93b9980d5d") { id createdAt expiresAt acceptedAt program { shortName description name website institutions countries cancerTypes primarySites commitmentDonors submittedDonors genomicDonors } user { email
first and last name has to be updated in Program Service. Right now they return null
} }
{"Authorization":"Bearer ${jwt token}"}