use of com.sequenceiq.it.cloudbreak.newway.cloud.OpenstackCloudProvider in project cloudbreak by hortonworks.
the class VmTypeTests method testCountOSVMTypesForCredentialInDefaultAvailabilityZone.
@Test(priority = 4, groups = "vmtypes")
public void testCountOSVMTypesForCredentialInDefaultAvailabilityZone() throws Exception {
OpenstackCloudProvider provider = new OpenstackCloudProvider(getTestParameter());
countVMTypesForCredentialInDefaultAvailabilityZone(provider, OS_CRED_NAME);
}
use of com.sequenceiq.it.cloudbreak.newway.cloud.OpenstackCloudProvider in project cloudbreak by hortonworks.
the class DiskTypeTests method testListOSDisplayNames.
@Test(priority = 9, groups = "disktypes")
public void testListOSDisplayNames() throws Exception {
OpenstackCloudProvider provider = new OpenstackCloudProvider(getTestParameter());
listDisplayNamesForProvider(provider);
}
use of com.sequenceiq.it.cloudbreak.newway.cloud.OpenstackCloudProvider in project cloudbreak by hortonworks.
the class DiskTypeTests method testListOSDiskTypes.
@Test(priority = 17, groups = "disktypes")
public void testListOSDiskTypes() throws Exception {
OpenstackCloudProvider provider = new OpenstackCloudProvider(getTestParameter());
given(CloudbreakClient.isCreated());
given(DiskTypes.request().withType(provider.getPlatform()), provider.getPlatform() + " disk types request");
when(DiskTypes.getByType(), provider.getPlatform() + " disk types are requested.");
then(DiskTypes.assertThis((disktype, t) -> {
Collection<String> diskTypes = disktype.getByFilterResponses();
diskTypes.forEach((diskType) -> LOGGER.debug(provider.getPlatform() + " Disk Type is ::: {}", diskType));
Assert.assertFalse(diskTypes.isEmpty(), "Disk Type should be present in response!");
}), provider.getPlatform() + " Disk Type should be part of the response.");
}
use of com.sequenceiq.it.cloudbreak.newway.cloud.OpenstackCloudProvider in project cloudbreak by hortonworks.
the class RegionProviderSpecTests method testOSListAvailabilityZonesForDefaultRegion.
@Test(priority = 4, groups = "regions")
public void testOSListAvailabilityZonesForDefaultRegion() throws Exception {
OpenstackCloudProvider provider = new OpenstackCloudProvider(getTestParameter());
getSupportedAvailabilityZones(provider, OS_CRED_NAME);
}
use of com.sequenceiq.it.cloudbreak.newway.cloud.OpenstackCloudProvider in project cloudbreak by hortonworks.
the class VmTypeTests method testListOSVMTypesForCredentialInDefaultAvailabilityZone.
@Test(priority = 8, groups = "vmtypes")
public void testListOSVMTypesForCredentialInDefaultAvailabilityZone() throws Exception {
OpenstackCloudProvider provider = new OpenstackCloudProvider(getTestParameter());
listVMTypesForCredentialInDefaultAvailabilityZone(provider, OS_CRED_NAME);
}
Aggregations