use of org.ow2.proactive_grid_cloud_portal.smartproxy.RestSmartProxyImpl in project scheduling by ow2-proactive.
the class RestSmartProxyTest method initializeRestSmartProxyInstance.
private void initializeRestSmartProxyInstance() throws Exception {
restSmartProxy = new RestSmartProxyImpl();
restSmartProxy.cleanDatabase();
restSmartProxy.setSessionName(uniqueSessionId());
restSmartProxy.init(new ConnectionInfo(getRestServerUrl(), getLogin(), getPassword(), null, true));
userspace = restSmartProxy.getUserSpaceURIs().get(0);
pushUrl = userspace;
pullUrl = userspace;
// we add special characters and space to the folders to make sure
// transfer occurs normally
inputLocalFolder = tempDir.newFolder("input é");
outputLocalFolder = tempDir.newFolder("output é");
}
Aggregations