use of com.sequenceiq.it.cloudbreak.newway.cloud.AwsCloudProvider in project cloudbreak by hortonworks.
the class VmTypeTests method testListAWSVMTypesForCredentialInDefaultAvailabilityZone.
@Test(priority = 6, groups = "vmtypes")
public void testListAWSVMTypesForCredentialInDefaultAvailabilityZone() throws Exception {
AwsCloudProvider provider = new AwsCloudProvider(getTestParameter());
listVMTypesForCredentialInDefaultAvailabilityZone(provider, AWS_CRED_NAME);
}
use of com.sequenceiq.it.cloudbreak.newway.cloud.AwsCloudProvider in project cloudbreak by hortonworks.
the class DiskTypeTests method testListAWSDiskMappings.
@Test(priority = 10, groups = "disktypes")
public void testListAWSDiskMappings() throws Exception {
AwsCloudProvider provider = new AwsCloudProvider(getTestParameter());
listDiskMappingsForProvider(provider);
}
use of com.sequenceiq.it.cloudbreak.newway.cloud.AwsCloudProvider in project cloudbreak by hortonworks.
the class DiskTypeTests method testListAWSDiskTypes.
@Test(priority = 14, groups = "disktypes")
public void testListAWSDiskTypes() throws Exception {
AwsCloudProvider provider = new AwsCloudProvider(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.AwsCloudProvider in project cloudbreak by hortonworks.
the class RegionProviderSpecTests method testAWSListAvailabilityZonesForDefaultRegion.
@Test(priority = 2, groups = "regions")
public void testAWSListAvailabilityZonesForDefaultRegion() throws Exception {
AwsCloudProvider provider = new AwsCloudProvider(getTestParameter());
getSupportedAvailabilityZones(provider, AWS_CRED_NAME);
}
use of com.sequenceiq.it.cloudbreak.newway.cloud.AwsCloudProvider in project cloudbreak by hortonworks.
the class VmTypeTests method testAWSDefaultVMTypeForCredentialInDefaultAvailabilityZone.
@Test(priority = 11, groups = "vmtypes")
public void testAWSDefaultVMTypeForCredentialInDefaultAvailabilityZone() throws Exception {
AwsCloudProvider provider = new AwsCloudProvider(getTestParameter());
getDefaultVMTypeForCredentialInDefaultAvailabilityZone(provider, AWS_CRED_NAME);
}
Aggregations