Walrus doesn't seem to support HEAD bucket

This commit is contained in:
Adrian Cole 2011-01-29 10:39:03 -08:00
parent 9dc155d0c2
commit 4eefd0dfa1
2 changed files with 12 additions and 1 deletions

View File

@ -19,12 +19,17 @@
package org.jclouds.walrus.config;
import javax.inject.Singleton;
import org.jclouds.http.RequiresHttp;
import org.jclouds.rest.ConfiguresRestClient;
import org.jclouds.s3.S3AsyncClient;
import org.jclouds.s3.S3Client;
import org.jclouds.s3.config.S3RestClientModule;
import org.jclouds.walrus.WalrusAsyncClient;
import com.google.inject.Provides;
/**
*
* @author Adrian Cole
@ -37,4 +42,10 @@ public class WalrusRestClientModule extends S3RestClientModule<S3Client, WalrusA
super(S3Client.class, WalrusAsyncClient.class);
}
@Provides
@Singleton
S3AsyncClient provideS3AsyncClient(WalrusAsyncClient in) {
return in;
}
}

View File

@ -177,7 +177,7 @@ cloudfiles-uk.propertiesbuilder=org.jclouds.rackspace.cloudfiles.CloudFilesUKPro
walrus.contextbuilder=org.jclouds.walrus.WalrusContextBuilder
walrus.propertiesbuilder=org.jclouds.walrus.WalrusPropertiesBuilder
eucalyptus-partnercloud-s3.contextbuilder=org.jclouds.s3.S3ContextBuilder
eucalyptus-partnercloud-s3.contextbuilder=org.jclouds.walrus.WalrusContextBuilder
eucalyptus-partnercloud-s3.propertiesbuilder=org.jclouds.epc.EucalyptusPartnerCloudWalrusPropertiesBuilder
googlestorage.contextbuilder=org.jclouds.googlestorage.GoogleStorageContextBuilder