diff --git a/apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStore.java b/apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStore.java index 3b652d8f7e..d535569044 100644 --- a/apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStore.java +++ b/apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStore.java @@ -32,6 +32,7 @@ import javax.inject.Inject; import org.jclouds.blobstore.BlobStore; import org.jclouds.blobstore.BlobStoreContext; import org.jclouds.blobstore.domain.Blob; +import org.jclouds.blobstore.domain.BlobAccess; import org.jclouds.blobstore.domain.BlobBuilder; import org.jclouds.blobstore.domain.BlobMetadata; import org.jclouds.blobstore.domain.ContainerAccess; @@ -271,6 +272,16 @@ public class RegionScopedSwiftBlobStore implements BlobStore { } } + @Override + public BlobAccess getBlobAccess(String container, String name) { + throw new UnsupportedOperationException("unsupported in swift"); + } + + @Override + public void setBlobAccess(String container, String name, BlobAccess access) { + throw new UnsupportedOperationException("unsupported in swift"); + } + @Override public BlobStoreContext getContext() { return context; diff --git a/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/integration/SwiftBlobIntegrationLiveTest.java b/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/integration/SwiftBlobIntegrationLiveTest.java index 6d26100d16..f05b1858aa 100644 --- a/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/integration/SwiftBlobIntegrationLiveTest.java +++ b/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/integration/SwiftBlobIntegrationLiveTest.java @@ -73,4 +73,9 @@ public class SwiftBlobIntegrationLiveTest extends BaseBlobIntegrationTest { assert blob.getPayload().getContentMetadata().getContentLanguage() == null; assert blob.getMetadata().getContentMetadata().getContentLanguage() == null; } + + @Override + public void testSetBlobAccess() throws Exception { + throw new SkipException("unsupported in swift"); + } } diff --git a/apis/swift/src/main/java/org/jclouds/openstack/swift/blobstore/SwiftBlobStore.java b/apis/swift/src/main/java/org/jclouds/openstack/swift/blobstore/SwiftBlobStore.java index de25e035a6..7e07269c75 100644 --- a/apis/swift/src/main/java/org/jclouds/openstack/swift/blobstore/SwiftBlobStore.java +++ b/apis/swift/src/main/java/org/jclouds/openstack/swift/blobstore/SwiftBlobStore.java @@ -30,6 +30,7 @@ import javax.inject.Singleton; 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; @@ -325,4 +326,14 @@ public class SwiftBlobStore extends BaseBlobStore { public void setContainerAccess(String container, ContainerAccess access) { throw new UnsupportedOperationException("not implemented"); } + + @Override + public BlobAccess getBlobAccess(String container, String name) { + throw new UnsupportedOperationException("not implemented"); + } + + @Override + public void setBlobAccess(String containe, String namer, BlobAccess access) { + throw new UnsupportedOperationException("not implemented"); + } } diff --git a/apis/swift/src/test/java/org/jclouds/openstack/swift/blobstore/integration/SwiftBlobIntegrationLiveTest.java b/apis/swift/src/test/java/org/jclouds/openstack/swift/blobstore/integration/SwiftBlobIntegrationLiveTest.java index 4f27871115..4e71391694 100644 --- a/apis/swift/src/test/java/org/jclouds/openstack/swift/blobstore/integration/SwiftBlobIntegrationLiveTest.java +++ b/apis/swift/src/test/java/org/jclouds/openstack/swift/blobstore/integration/SwiftBlobIntegrationLiveTest.java @@ -165,6 +165,11 @@ public class SwiftBlobIntegrationLiveTest extends BaseBlobIntegrationTest { } } + @Override + public void testSetBlobAccess() throws Exception { + throw new SkipException("unsupported in swift"); + } + @Override protected int getIncorrectContentMD5StatusCode() { return 422;