@Test public void testSupportedBlobStoreProviders() { Iterable<String> providers = BlobStoreUtils.getSupportedProviders(); assert Iterables.contains(providers, "s3") : providers; assert Iterables.contains(providers, "azureblob") : providers; assert Iterables.contains(providers, "cloudfiles") : providers; }
public static MutableBlobMetadata copy(MutableBlobMetadata in, String newKey) { MutableBlobMetadata newMd = BlobStoreUtils.copy(in); newMd.setName(newKey); return newMd; }