Hi,

At Maginatics, we have developed a tool called BlobstoreBench using
jclouds for measuring basic GET, PUT, DELETE performance of various
blobstores. I'm trying to make this tool a part of jclouds itself.
It's a single java file called BlobStoreBench.java.

In order to be able to use all blobstore providers and apis, I am
trying to make this part of the "allblobstores" module. The file path
is now:

jclouds/allblobstore/src/main/java/org/jclouds/blobstore_tools/BlobStoreBench.java.

The code compiles just fine. It runs just fine for the "aws-s3"
provider. However, for any other provider, I get the following error
(replace cloudfiles-us with any other provider) when creating the
blobstore context.

Exception in thread "main" java.util.NoSuchElementException: key
[cloudfiles-us] not in the list of providers or apis:
{providers=[aws-s3], apis=[s3]}
at org.jclouds.ContextBuilder.newBuilder(ContextBuilder.java:176)
at 
org.jclouds.blobstore_tools.BlobStoreBench.getBlobStoreContext(BlobStoreBench.java:251)
at org.jclouds.blobstore_tools.BlobStoreBench.<init>(BlobStoreBench.java:191)
at org.jclouds.blobstore_tools.BlobStoreBench.main(BlobStoreBench.java:589)

Any idea what needs to be done so that all providers and apis are available?

Thanks in advance.
-Shri

Reply via email to