Requests from LocalBlobStore were being forwarded to
LocalAsyncBlobStore. Since the async blobstore is going to be removed, this
commit removes the LocalAsyncBlobStore and the corresponding
LocalAsyncBlobStore <-> LocalBlobStore binding. It ports the
functionality from LocalAsyncBlobStore to LocalBlobStore.

Verified that unit tests for the transient blobstore, filesystem blobstore,
swift, atmos and s3 complete successfully.

The main changes are in *ContextModule.java and BinderUtils.java for
the bindings. The other big change is in LocalBlobStore.java. Other
files have no functional changes.

Also, this will have to be rebased if pull request #126 [1] goes in
before this.

[1] https://github.com/jclouds/jclouds/pull/126
You can merge this Pull Request by running:

  git pull https://github.com/maginatics/jclouds del-localasyncblobstore

Or you can view, comment on it, or merge it online at:

  https://github.com/jclouds/jclouds/pull/220

-- Commit Summary --

  * Remove LocalAsyncBlobStore.

-- File Changes --

    M 
apis/atmos/src/test/java/org/jclouds/atmos/internal/StubAtmosAsyncClient.java 
(53)
    M 
apis/filesystem/src/main/java/org/jclouds/filesystem/config/FilesystemBlobStoreContextModule.java
 (12)
    D 
apis/filesystem/src/test/java/org/jclouds/filesystem/FilesystemAsyncBlobStoreTest.java
 (865)
    M 
apis/s3/src/main/java/org/jclouds/s3/blobstore/internal/S3BlobStoreContextImpl.java
 (12)
    M apis/s3/src/test/java/org/jclouds/s3/internal/StubS3AsyncClient.java (44)
    M 
apis/swift/src/test/java/org/jclouds/openstack/swift/internal/StubSwiftAsyncClient.java
 (39)
    D blobstore/src/main/java/org/jclouds/blobstore/LocalAsyncBlobStore.java 
(552)
    M blobstore/src/main/java/org/jclouds/blobstore/config/LocalBlobStore.java 
(522)
    M 
blobstore/src/main/java/org/jclouds/blobstore/config/TransientBlobStoreContextModule.java
 (11)
    M 
blobstore/src/main/java/org/jclouds/blobstore/internal/BlobStoreContextImpl.java
 (7)
    M 
blobstore/src/main/java/org/jclouds/blobstore/strategy/internal/MarkersDeleteDirectoryStrategy.java
 (22)
    M 
blobstore/src/test/java/org/jclouds/blobstore/TransientBlobRequestSignerTest.java
 (6)
    M core/src/main/java/org/jclouds/rest/config/BinderUtils.java (26)
    M 
providers/aws-s3/src/main/java/org/jclouds/aws/s3/blobstore/internal/AWSS3BlobStoreContextImpl.java
 (12)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/220.patch
https://github.com/jclouds/jclouds/pull/220.diff

Reply via email to