use of com.sequenceiq.it.cloudbreak.newway.cloud.CloudProvider in project cloudbreak by hortonworks.
the class NetworksProviderSpecificTests method beforeTest.
@BeforeTest
public void beforeTest() throws Exception {
CloudProvider cloudProvider;
String[] providers = { "aws", "azure", "openstack", "gcp" };
for (String provider : providers) {
cloudProvider = CloudProviderHelper.providerFactory(provider, getTestParameter())[0];
given(CloudbreakClient.isCreated());
given(cloudProvider.aValidCredential().withName(VALID_CRED_NAME + provider + "-spec").withDescription("").withCloudPlatform(cloudProvider.getPlatform()), provider + " credential is created.");
getCredentialId(provider, VALID_CRED_NAME + provider + "-spec");
}
}
Aggregations