use of com.sequenceiq.it.cloudbreak.util.storagelocation.AzureTestStorageLocation in project cloudbreak by hortonworks.
the class AzureAdlsGen2Tests method adlsGen2CloudStorageV4RequestWithStorageLocations.
private CloudStorageRequest adlsGen2CloudStorageV4RequestWithStorageLocations(String clusterName) {
CloudStorageRequest request = adlsGen2CloudStorageV4RequestWithoutStorageLocations();
String accountName = azureProperties.getCloudStorage().getAccountName();
String storageLocation = azureProperties.getCloudStorage().getBaseLocation();
AzureTestStorageLocation azureStorageLocation = new AzureTestStorageLocation(accountName, clusterName, storageLocation);
request.setLocations(azureStorageLocation.getAdlsGen2(LOCATION_STORAGE_COMPONENTS));
return request;
}
Aggregations