Also AiravataClientUtils is deprecated. Please use AiravataAPIFactory class instead.
Saminda On Tue, Jun 18, 2013 at 9:41 AM, Chathuri Wimalasena <[email protected]>wrote: > Hi Nipuni, > > You are correct. What we have in the wiki is outdated. You can set default > values to gateway(default) and alternativeUser (admin). PasswordCallback is > your implementation of the PasswordCallback interface. If you want you can > use the default passwordCallback implementation class > (org.apache.airavata.client.impl.PasswordCallBackImpl). > > Regards, > Chathuri > > > On Tue, Jun 18, 2013 at 9:11 AM, Nipuni Perera <[email protected] > >wrote: > > > Hi, > > > > I am trying to write a Client API and following quick start guide > here[1]. > > But the initialization of AiravataAPI has changed in the later releases > and > > has different parameters than a hash map as specified in the document. > > > > AiravataAPI airavataAPI = AiravataClientUtils.getAPI(config); > > > > //config is HashMap here > > > > Therefore in the new "getAPI()" method what are the parameters listed as > : > > > > String gateway, String alternativeUser, PasswordCallback callback > > > > > > [1] > > > > > https://cwiki.apache.org/confluence/display/AIRAVATA/Airavata+Client+Quickstar > > < > > > https://cwiki.apache.org/confluence/display/AIRAVATA/Airavata+Client+Quickstart > > > > > t > > > > Thanks, > > Nipuni > > > > -- > > Nipuni Piyabasi Perera > > Undergraduate > > Department of Computer Science And Engineering > > University of Moratuwa > > Sri Lanka > > >
