I have following code to get gram and gridftp endpoints from http://info.teragrid.org/restdemo/xml/tg/services/ and parsing the xml. see changeServiceTypes method. Following code use Restlet client to make http connection to get data. You can use HttpURLConnection also to get the data.
https://ogce.svn.sourceforge.net/svnroot/ogce/ogce-gadget-interfaces/xregistryinterface/src/main/edu/indiana/extreme/gfac/beans/HostBean.java Please let me know if you need help with the API. Thanks Raman On Apr 4, 2012, at 10:11 AM, Lahiru Gunathilake wrote: > Hi Raman, > > Can you please point me to a location which has all the gram endpoints with > host names. Since this feature is kind of implemented in ogce version, can > you please point me to a the location of that code if its publicly > available... > > Lahiru > > On Tue, Apr 3, 2012 at 12:12 PM, Lahiru Gunathilake <[email protected]>wrote: > >> Ok Lets leave the option while adding predefined Super computer host >> descriptions in to Application Description dialog drop down and edit the >> tutorial... >> >> We can save the predefined configuration during Airavata start up in to >> Registry.. >> >> Lahiru >> >> >> On Tue, Apr 3, 2012 at 11:33 AM, Raminderjeet Singh < >> [email protected]> wrote: >> >>> We can have predefined Host description for XSEDE resources but should >>> not remove option to add/update Host. There are cases where XSEDE resources >>> have Gram5 and GridFTP services are running on different ports. >>> Adding/Update host description is required to add non-xsede cluster or >>> other local machines. >>> >>> Thanks >>> Raminder >>> >>> On Apr 3, 2012, at 11:22 AM, Lahiru Gunathilake wrote: >>> >>>> Hi Devs, >>>> >>>> To simplify the life of the end user I thought we can configure the host >>>> description information for each Super Computer in a configuration file >>> or >>>> hard code it and remove the host description registering step (I am >>>> assuming if we consider one super computer the gridftp url and >>> gatekeeper >>>> endpoint is well defined). >>>> >>>> Instead of asking users to register it we can simply give a drop down >>> with >>>> all the super computers we support and ask user to select one when user >>> run >>>> the workflow.. IMHO this looks more dynamic and easy ! >>>> >>>> Regards >>>> Lahiru >>>> >>>> -- >>>> System Analyst Programmer >>>> PTI Lab >>>> Indiana University >>> >>> >> >> >> -- >> System Analyst Programmer >> PTI Lab >> Indiana University >> >> > > > -- > System Analyst Programmer > PTI Lab > Indiana University
