Powered by iPlant Consuming iPlant Services in Your Portals.

12
Powered by iPlant Consuming iPlant Services in Your Portals

Transcript of Powered by iPlant Consuming iPlant Services in Your Portals.

Page 1: Powered by iPlant Consuming iPlant Services in Your Portals.

Powered by iPlant

Consuming iPlant Services in Your Portals

Page 2: Powered by iPlant Consuming iPlant Services in Your Portals.

APIApplication Programming Interface

Page 3: Powered by iPlant Consuming iPlant Services in Your Portals.
Page 4: Powered by iPlant Consuming iPlant Services in Your Portals.
Page 5: Powered by iPlant Consuming iPlant Services in Your Portals.
Page 6: Powered by iPlant Consuming iPlant Services in Your Portals.
Page 7: Powered by iPlant Consuming iPlant Services in Your Portals.

7

Consumer Applications

Page 8: Powered by iPlant Consuming iPlant Services in Your Portals.

REST (REpresentational State Transfer)

Web API: Allows end users to access remote services via web

Demo: Get trending topic on Twitter using the apigee.com console (see handouts)

Surprise hands-on: Find the last 20 tweets from The iPlant Collaborative(Screen name: iPlantCollab)

Page 9: Powered by iPlant Consuming iPlant Services in Your Portals.

curl -X DELETE http://api.twitter.com/direct_messages/destroy/{id}

cURL

Allows to interact directly with web services from the command line

Page 10: Powered by iPlant Consuming iPlant Services in Your Portals.

Getting Twitter Trends using cURL

Page 11: Powered by iPlant Consuming iPlant Services in Your Portals.

iPlant's APIs – The Foundation APIService Endpoint Role

IO File storage, retrieval and management. Database interoperability

DATA File format conversion

APPS Registration and discovery of HPC applications

JOB Submission and management of compute jobs

SYSTEMS Availability and info about XSEDE hosts

PROFILE User profile discovery

AUTH Token based secure authentication

POSTIT URL shortener

Page 12: Powered by iPlant Consuming iPlant Services in Your Portals.

Hands-on

• Goals:• Familiarize yourself with the Foundation API• Run an job on HPC resources• Retrieve job results

Follow at: https://pods.iplantcollaborative.org/wiki/x/EAm