Merge pull request #1317 from rackspace/swift-rax-large-file-upload-fix

Fixed inheritance hierarchy for Swift and Cloud Files to avoid problems when using BlobStore.
This commit is contained in:
Adrian Cole 2013-02-19 09:24:53 -08:00
commit 3cdf716334
4 changed files with 7 additions and 6 deletions

View File

@ -42,8 +42,8 @@ import org.jclouds.cloudfiles.functions.ParseContainerCDNMetadataFromHeaders;
import org.jclouds.cloudfiles.options.ListCdnContainerOptions; import org.jclouds.cloudfiles.options.ListCdnContainerOptions;
import org.jclouds.cloudfiles.reference.CloudFilesHeaders; import org.jclouds.cloudfiles.reference.CloudFilesHeaders;
import org.jclouds.openstack.filters.AuthenticateRequest; import org.jclouds.openstack.filters.AuthenticateRequest;
import org.jclouds.openstack.swift.CommonSwiftAsyncClient;
import org.jclouds.openstack.swift.Storage; import org.jclouds.openstack.swift.Storage;
import org.jclouds.openstack.swift.SwiftAsyncClient;
import org.jclouds.rest.annotations.BinderParam; import org.jclouds.rest.annotations.BinderParam;
import org.jclouds.rest.annotations.Endpoint; import org.jclouds.rest.annotations.Endpoint;
import org.jclouds.rest.annotations.Fallback; import org.jclouds.rest.annotations.Fallback;
@ -67,7 +67,7 @@ import com.google.common.util.concurrent.ListenableFuture;
*/ */
@RequestFilters(AuthenticateRequest.class) @RequestFilters(AuthenticateRequest.class)
@Endpoint(Storage.class) @Endpoint(Storage.class)
public interface CloudFilesAsyncClient extends CommonSwiftAsyncClient { public interface CloudFilesAsyncClient extends SwiftAsyncClient {
/** /**
* @see CloudFilesClient#listCDNContainers * @see CloudFilesClient#listCDNContainers

View File

@ -20,9 +20,10 @@ package org.jclouds.cloudfiles;
import java.net.URI; import java.net.URI;
import java.util.Set; import java.util.Set;
import org.jclouds.cloudfiles.domain.ContainerCDNMetadata; import org.jclouds.cloudfiles.domain.ContainerCDNMetadata;
import org.jclouds.cloudfiles.options.ListCdnContainerOptions; import org.jclouds.cloudfiles.options.ListCdnContainerOptions;
import org.jclouds.openstack.swift.CommonSwiftClient; import org.jclouds.openstack.swift.SwiftClient;
/** /**
* Provides access to Cloud Files via their REST API. * Provides access to Cloud Files via their REST API.
@ -30,7 +31,7 @@ import org.jclouds.openstack.swift.CommonSwiftClient;
* @author Adrian Cole * @author Adrian Cole
* @see <a href="http://docs.rackspace.com/files/api/v1/cf-devguide/content/index.html">Cloud Files</a> * @see <a href="http://docs.rackspace.com/files/api/v1/cf-devguide/content/index.html">Cloud Files</a>
*/ */
public interface CloudFilesClient extends CommonSwiftClient { public interface CloudFilesClient extends SwiftClient {
/** /**
* Retrieve a list of existing CDN-enabled containers. * Retrieve a list of existing CDN-enabled containers.

View File

@ -29,6 +29,6 @@ import org.jclouds.rest.annotations.RequestFilters;
*/ */
@RequestFilters(AuthenticateRequest.class) @RequestFilters(AuthenticateRequest.class)
@Endpoint(Storage.class) @Endpoint(Storage.class)
public interface SwiftKeystoneAsyncClient extends CommonSwiftAsyncClient { public interface SwiftKeystoneAsyncClient extends SwiftAsyncClient {
} }

View File

@ -23,6 +23,6 @@ package org.jclouds.openstack.swift;
* *
* @author Adrian Cole * @author Adrian Cole
*/ */
public interface SwiftKeystoneClient extends CommonSwiftClient { public interface SwiftKeystoneClient extends SwiftClient {
} }