JCLOUDS-660: Local blobstore portable container ACLs

Intentionally unimplemented.
This commit is contained in:
Andrew Gaul 2015-02-12 17:09:00 -08:00
parent 261bb7eece
commit 994f84e4f5
3 changed files with 23 additions and 0 deletions

View File

@ -36,6 +36,7 @@ import org.jclouds.filesystem.reference.FilesystemConstants;
import org.jclouds.filesystem.utils.TestUtils;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import org.testng.SkipException;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Iterables;
@ -166,4 +167,9 @@ public class FilesystemContainerIntegrationTest extends BaseContainerIntegration
return TestUtils.isWindowsOs() ? TestUtils.NO_INVOCATIONS
: TestUtils.SINGLE_NO_ARG_INVOCATION;
}
@Override
public void testSetContainerAccess() throws Exception {
throw new SkipException("Intentionally not implemented for the transient provider");
}
}

View File

@ -47,6 +47,7 @@ import org.jclouds.blobstore.LocalStorageStrategy;
import org.jclouds.blobstore.domain.Blob;
import org.jclouds.blobstore.domain.BlobBuilder;
import org.jclouds.blobstore.domain.BlobMetadata;
import org.jclouds.blobstore.domain.ContainerAccess;
import org.jclouds.blobstore.domain.MutableBlobMetadata;
import org.jclouds.blobstore.domain.MutableStorageMetadata;
import org.jclouds.blobstore.domain.PageSet;
@ -375,6 +376,16 @@ public final class LocalBlobStore implements BlobStore {
return storageStrategy.createContainerInLocation(name, location);
}
@Override
public ContainerAccess getContainerAccess(String container) {
throw new UnsupportedOperationException("not implemented");
}
@Override
public void setContainerAccess(String container, ContainerAccess access) {
throw new UnsupportedOperationException("not implemented");
}
private Blob loadBlob(final String container, final String key) {
logger.debug("Opening blob in container: %s - %s", container, key);
return storageStrategy.getBlob(container, key);

View File

@ -32,6 +32,7 @@ import org.jclouds.blobstore.domain.StorageMetadata;
import org.jclouds.blobstore.integration.internal.BaseContainerIntegrationTest;
import org.jclouds.domain.Location;
import org.testng.annotations.Test;
import org.testng.SkipException;
import com.google.common.collect.ImmutableMap;
@ -80,4 +81,9 @@ public class TransientContainerIntegrationTest extends BaseContainerIntegrationT
created = blobStore.createContainerInLocation(location, container);
assertFalse(created);
}
@Override
public void testSetContainerAccess() throws Exception {
throw new SkipException("Intentionally not implemented for the transient provider");
}
}