Search in sources :

Example 6 with SnapshotService

use of com.att.cdp.zones.SnapshotService in project AJSC by att.

the class TestSnapshotService method listSnapshot.

@Test
@Ignore
public void listSnapshot() throws ZoneException {
    Context context = connect();
    SnapshotService service = context.getSnapshotService();
    String id = "";
    Snapshot snap = service.getSnapshot(id);
    assertNotNull(snap);
}
Also used : Context(com.att.cdp.zones.Context) SnapshotService(com.att.cdp.zones.SnapshotService) Snapshot(com.att.cdp.zones.model.Snapshot) Ignore(org.junit.Ignore) Test(org.junit.Test)

Aggregations

SnapshotService (com.att.cdp.zones.SnapshotService)6 Ignore (org.junit.Ignore)6 Test (org.junit.Test)6 Context (com.att.cdp.zones.Context)5 Snapshot (com.att.cdp.zones.model.Snapshot)4 GlanceConnector (com.att.cdp.openstack.connectors.GlanceConnector)1 NovaConnector (com.att.cdp.openstack.connectors.NovaConnector)1 QuantumConnector (com.att.cdp.openstack.connectors.QuantumConnector)1 OpenStackComputeService (com.att.cdp.openstack.v2.OpenStackComputeService)1 ComputeService (com.att.cdp.zones.ComputeService)1 IdentityService (com.att.cdp.zones.IdentityService)1 ImageService (com.att.cdp.zones.ImageService)1 NetworkService (com.att.cdp.zones.NetworkService)1 StackService (com.att.cdp.zones.StackService)1 VolumeService (com.att.cdp.zones.VolumeService)1 Tenant (com.att.cdp.zones.model.Tenant)1