To address https://issues.apache.org/jira/browse/JCLOUDS-126

I'm still rather new to JClouds and guice, I've done my best to align 
with the JClouds code style but would appreciate any feedback :)

The only glaring omission is a missing unit test for 
SwiftKeystoneApiMetadata.java, it seemed to be only tested indirectly via other 
integration tests so I wasn't sure of the best way to go about designing a 
test for the class. If you could offer any suggestions I'd be happy to 
incorporate them into this request. 
You can merge this Pull Request by running:

  git pull https://github.com/joshvote/jclouds master

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

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

-- Commit Summary --

  * JCLOUDS-126 - Support and tests for region selection in swift-keystone 
BlobStore

-- File Changes --

    M 
apis/swift/src/main/java/org/jclouds/openstack/swift/SwiftKeystoneApiMetadata.java
 (2)
    M 
apis/swift/src/main/java/org/jclouds/openstack/swift/config/SwiftRestClientModule.java
 (28)
    M core/src/main/java/org/jclouds/util/Suppliers2.java (15)
    M core/src/test/java/org/jclouds/util/Suppliers2Test.java (9)

-- Patch Links --

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

Reply via email to