use of nl.uva.vlet.util.bdii.StorageArea in project lobcder by skoulouzis.
the class RegisterSRMSites method initVFS.
private static void initVFS() throws VlException, MalformedURLException, NamingException, Exception {
vfsClient = new VFSClient();
VRSContext context = vfsClient.getVRSContext();
BdiiService bdii = context.getBdiiService();
srms = bdii.getSRMv22SAsforVO("biomed");
//
debug("srms: " + context.getConfigManager().getBdiiHost());
for (StorageArea inf : srms) {
debug("srms: " + inf.getVOStorageLocation());
}
JDBCatalogue cat = new JDBCatalogue();
String resourceURI = "";
Credential credentials = new Credential();
// cat.registerStorageSite(resourceURI, credentials, -1, -1, -1, -1, null);
}
Aggregations