Powered by iPlant Consuming iPlant Services in Your Portals.

Post on 06-Jan-2018

218 views 1 download

transcript

Powered by iPlant

Consuming iPlant Services in Your Portals

APIApplication Programming Interface

7

Consumer Applications

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)

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

cURL

Allows to interact directly with web services from the command line

Getting Twitter Trends using cURL

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

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