use of com.woorea.openstack.glance.Glance in project ovirt-engine by oVirt.
the class OpenStackImageProviderProxy method getClient.
@Override
protected Glance getClient() {
if (client == null) {
client = new Glance(getProvider().getUrl() + API_VERSION);
client.setTokenProvider(getTokenProvider());
}
return client;
}
use of com.woorea.openstack.glance.Glance in project AJSC by att.
the class TestGlanceConnector method testGlanceConnector.
@Test
@Ignore
public void testGlanceConnector() throws ZoneException {
OpenStackContext context = login();
GlanceConnector connector = context.getGlanceConnector();
assertNotNull(connector);
Access access = connector.getAccess();
assertNotNull(access);
Glance client = connector.getClient();
assertNotNull(client);
logout(context);
}
Aggregations