forked from gluonhq/javaone2016
-
Notifications
You must be signed in to change notification settings - Fork 15
RemoteFunctions
Abhinay Agarwal edited this page Sep 4, 2019
·
2 revisions
Remote Functions from GCL are used in Devoxx app to hit cfp endpoints. The following table describes the RF, their property and the cfp endpoint call made by the RF:
Name | HTTP Direct | Lambda | Backward Compatibility | Endpoint |
---|---|---|---|---|
Conference | ||||
allConferences | ❌ | ✔️ | ❌ | $cfpEndpoint/public/events |
conferences | ❌ | ✔️ | ❓ | ❓ |
conference | ❌ | ✔️ | ❌ | $cfpEndpoint/public/events/$conferenceId |
conferenceV2 | ❌ | ✔️ | ❓ | $cfpEndpoint/public/events/$conferenceId |
location | ✔️ | ❌ | ❌ | https://www.devoxxians.com/api/public/location/$locationId |
Session | ||||
sessions | ❌ | ✔️ | ✔️ | $cfpEndpoint/conferences/$conferenceId/schedules |
sessionsV2 | ❌ | ✔️ | ✔️ | $cfpEndpoint/conferences/$conferenceId/schedules |
allFavorites | ✔️ | ❌ | ❌ | $cfpEndpoint/proposals/favorites |
favored | ✔️ | ❌ | ❌ | $cfpEndpoint/proposals/$cfpUserUuid/favored |
favoredAdd | ✔️ | ❌ | ❌ | $cfpEndpoint/proposals/$cfpUserUuid/favor/$talkId |
favoredRemove | ✔️ | ❌ | ❌ | $cfpEndpoint/proposals/$cfpUserUuid/favored/$talkId |
scheduled | ✔️ | ❌ | ✔️ | $cfpEndpoint/proposals/$cfpUserUuid/scheduled |
scheduledAdd | ✔️ | ❌ | ✔️ | $cfpEndpoint/proposals/$cfpUserUuid/schedule/$talkId |
scheduledRemove | ✔️ | ❌ | ✔️ | $cfpEndpoint/proposals/$cfpUserUuid/scheduled/$talkId |
scheduleOfDay | ✔️ | ❌ | ✔️ | $cfpEndpoint/conferences/$conferenceId/schedules/$day |
schedules | ✔️ | ❌ | ✔️ | $cfpEndpoint/conferences/$conferenceId/schedules |
Speaker | ||||
speaker | ✔️ | ❌ | ❌ | $cfpEndpoint/conferences/$conferenceId/speakers/$uuid |
speakers | ✔️ | ❌ | ❌ | $cfpEndpoint/conferences/$conferenceId/speakers |
Sponsor | ||||
sponsors | ✔️ | ❌ | ❌ | https://www.devoxxians.com/api/public/sponsors/$conferenceId |
validateSponsor | ❌ | ❌ | ❌ | ❌ |
saveSponsorBadge | ✔️ | ❌ | ❌ | Internal API |
Track | ||||
tracks | ✔️ | ❌ | ✔️ | $cfpEndpoint/conferences/$conferenceId/tracks |
voteTalk | ✔️ | ❌ | ❌ | $cfpEndpoint/voting/v1/vote |
sendFeedback | ❌ | ✔️ | ❌ | ❌ |
Verification | ||||
verifyAccount | ✔️ | ❌ | ❌ | $cfpEndpoint/account/verify |
customLoginVerifyAccount | ❌ | ✔️ | ❓ | ❓ |
Miscellenous | ||||
proposalTypes | ✔️ | ❌ | ❓ | $cfpEndpoint/conferences/$conferenceId/proposalTypes |
voteTexts | ✔️ | ❌ | ❌ | ❌ |
Below is a flow chart which shows how and where all the RFs are used in Devoxx Application: