[Iplant-api-dev] accessing code in iPlant
Rion Dooley
dooley at tacc.utexas.edu
Tue Jul 16 09:29:03 MST 2013
In v1, you can clone a public app. The service will explode the zip file, copy the folder to your personal data storage location, and update the app paths and ownership for you.
PUT /apps-v1/apps/${app_id}
Performans an administration action on an app
Path variables
app_id: unique id of an application. To clone, it must be a public app
Form parameters
action: clone or publish. You probably don't have permission to publish.
________________________________________
From: iplant-api-dev-bounces at iplantcollaborative.org [iplant-api-dev-bounces at iplantcollaborative.org] on behalf of Matthew Vaughn [vaughn at tacc.utexas.edu]
Sent: Tuesday, July 16, 2013 11:11 AM
To: Rion Dooley
Cc: iplant-api-dev at iplantcollaborative.org; Darren Boss; Devesh Chourasiya
Subject: Re: [Iplant-api-dev] accessing code in iPlant
For any public application, say "blastx-stampede-ncbi-db-2.2.26u1" grab the JSON, extract deploymentPath (/ipcservices/applications/blastx-stampede-ncbi-db-2.2.26u1.zip in this case) and then use icommands to fetch like so
iget -frPVT /iplant/home/ipcservices/applications/blastx-stampede-ncbi-db-2.2.26u1.zip .
Notice the leading /iplant/home
For a private application, deploymentPath will be a directory rather than a zip file but will otherwise work the same. In both cases, the 'templatePath' will point to the file that is used for creating the submit script that is submitted to the executionHost. In the case of the blasts-stampede app it is 'blastx.sge'
On Jul 16, 2013, at 10:58 AM, Bonnie Hurwitz <bhurwitz at email.arizona.edu>
wrote:
> Hi Matt,
>
> Based on the instructions you gave us for fetching code, we can only access the json file. Is there a way to also access the shell script and/or zip package?
>
> Thanks,
> Bonnie
>
_______________________________________________
Iplant-api-dev Mailing List: Iplant-api-dev at iplantcollaborative.org
List Info and Archives: http://mail.iplantcollaborative.org/mailman/listinfo/iplant-api-dev
One-click Unsubscribe: http://mail.iplantcollaborative.org/mailman/options/iplant-api-dev/dooley%40tacc.utexas.edu?unsub=1&unsubconfirm=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iplantcollaborative.org/pipermail/iplant-api-dev/attachments/20130716/fce29e27/attachment.html
More information about the Iplant-api-dev
mailing list