airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chathuri Wimalasena <kamalas...@gmail.com>
Subject Re: Using the Airavata API
Date Tue, 20 Nov 2012 21:51:48 GMT
If you are using REST service instead of Airavata Registry, you will need
to call the following method.

  airavataAPI = AiravataClientUtils.getAPI(<REST service
URI>, getRegistryUserName(), passwordCallback);

passwordCallback class is the implementation of a Callback interface which
will be used to retrieve the password for the current user.

Regards,
Chathuri


On Tue, Nov 20, 2012 at 4:14 PM, Saminda Wijeratne <samindaw@gmail.com>wrote:

> Hi Devs,
>
> Here's a simple introduction to using the Airavata API. It is used in order
> to work with the Airavata system. It allows,
>
>    - Authoring workflows (workflow composition is not supported) &
>    Computational resources
>    - Running & monitoring experiments,
>    - Authoring provenance data of experiments
>
>
> To create an Airavata API,
>
> AiravataClientUtils.getAPI(<RegistryServiceURI>, <Username>, <Password>);
>
> eg:
>   airavataAPI = AiravataClientUtils.getAPI(new URI("
> http://localhost:8080/axis2/services/registry"), "admin", "admin-pass");
>
>
> Once an Airavata API object, use the following managers to work with all
> aspects of Airavata
>
> airavataAPI.getAiravataManager()
> airavataAPI.getWorkflowManager()
> airavataAPI.getApplicationManager()
> airavataAPI.getExecutionManager()
> airavataAPI.getProvenanceManager()
> airavataAPI.getUserManager()
>
> Regards,
> Saminda
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message