mirror of https://github.com/apache/jclouds.git
JCLOUDS-732: Azure portable object ACLs
Azure does not implement support for these: https://msdn.microsoft.com/library/azure/dd179354.aspx
This commit is contained in:
parent
a49fb7941f
commit
019ae75a61
|
@ -41,6 +41,7 @@ import org.jclouds.azureblob.domain.PublicAccess;
|
|||
import org.jclouds.azureblob.options.ListBlobsOptions;
|
||||
import org.jclouds.blobstore.BlobStoreContext;
|
||||
import org.jclouds.blobstore.domain.Blob;
|
||||
import org.jclouds.blobstore.domain.BlobAccess;
|
||||
import org.jclouds.blobstore.domain.BlobMetadata;
|
||||
import org.jclouds.blobstore.domain.ContainerAccess;
|
||||
import org.jclouds.blobstore.domain.PageSet;
|
||||
|
@ -304,4 +305,14 @@ public class AzureBlobStore extends BaseBlobStore {
|
|||
}
|
||||
sync.setPublicAccessForContainer(container, publicAccess);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlobAccess getBlobAccess(String container, String key) {
|
||||
throw new UnsupportedOperationException("unsupported in Azure");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setBlobAccess(String container, String key, BlobAccess access) {
|
||||
throw new UnsupportedOperationException("unsupported in Azure");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,6 +63,11 @@ public class AzureBlobIntegrationLiveTest extends BaseBlobIntegrationTest {
|
|||
super.testPutObjectStream();
|
||||
}
|
||||
|
||||
@Test(groups = { "integration", "live" })
|
||||
public void testSetBlobAccess() throws Exception {
|
||||
throw new SkipException("unsupported in Azure");
|
||||
}
|
||||
|
||||
// according to docs, content disposition is not persisted
|
||||
// http://msdn.microsoft.com/en-us/library/dd179440.aspx
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue