Courtesy of J. P. Navarro and Laura Pearlman. See http://info.teragrid.org for more. These aren't all strictly REST but close enough for my purposes. They return simple XML formats.
Here's how you can get a list of Grid services on Abe at NCSA.
http://info.teragrid.org/restdemo/xml/tg/sites/ncsa.teragrid.org/resources/abe.ncsa.teragrid.org/kits/data-movement.teragrid.org/services
Some other examples:
http://info.teragrid.org/restdemo/xml/tg/services/gridftp
http://info.teragrid.org/restdemo/xml/tg/services/prews-gram
http://info.teragrid.org/restdemo/xml/tg/services/ws-gram
Some finer grained examples using XPath.
Give me all gridftp URLs in TeraGrid:
http://info.teragrid.org:8080/webmds/webmds?info=tgislocal&xmlSource.tgislocal.param.xpathQuery=//KitRegistration//Service[Type='gridftp']/Endpoint
Give me all gridftp URLs at NCSA:
http://info.teragrid.org:8080/webmds/webmds?info=tgislocal&xmlSource.tgislocal.param.xpathQuery=//KitRegistration[SiteID='ncsa.teragrid.org']//Service[Type='gridftp']/Endpoint
Give me the URLs of all advertised services at Big Red:
http://info.teragrid.org:8080/webmds/webmds?info=tgislocal&xmlSource.tgislocal.param.xpathQuery=//KitRegistration[ResourceID='bigred.iu.teragrid.org']//Service/Endpoint
Give me a little more information about all services at Big Red:
http://info.teragrid.org:8080/webmds/webmds?info=tgislocal&xmlSource.tgislocal.param.xpathQuery=//KitRegistration[ResourceID='bigred.iu.teragrid.org']//Service
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment