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 <[email protected]>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 >
