[
https://issues.apache.org/jira/browse/JCLOUDS-300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13782142#comment-13782142
]
Adrian Cole commented on JCLOUDS-300:
-------------------------------------
Note this now has experimental multi-region support, which if folks like it
could be promoted to a top-level interface in JCLOUDS-299
>From live tests:
RegionScopedBlobStoreContext ctx =
RegionScopedBlobStoreContext.class.cast(view);
for (String regionId : ctx.configuredRegions()) {
BlobStore region = ctx.blobStoreInRegion(regionId);
PageSet<? extends StorageMetadata> containers = region.list();
if (containers.isEmpty()) {
continue;
}
String containerName = Iterables.getLast(containers).getName();
PageSet<? extends StorageMetadata> blobs = region.list(containerName);
if (blobs.isEmpty()) {
continue;
}
String blobName = Iterables.getLast(blobs).getName();
HttpRequest request =
ctx.signerInRegion(regionId).signGetBlob(containerName, blobName);
assertNotNull(request, "regionId=" + regionId + ", container=" +
containerName + ", blob=" + blobName);
}
commit 44021fc9eeaf9cc7886fd849323a2cdfc8bf97c7
Author: Adrian Cole <[email protected]>
Date: Mon Sep 30 12:06:42 2013 -0700
JCLOUDS-299. implement multi-region support in openstack-swift
> Add BlobStore abstraction to openstack-swift api
> ------------------------------------------------
>
> Key: JCLOUDS-300
> URL: https://issues.apache.org/jira/browse/JCLOUDS-300
> Project: jclouds
> Issue Type: Sub-task
> Components: jclouds-labs-openstack
> Reporter: Adrian Cole
> Assignee: Adrian Cole
> Fix For: 1.7.0
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> the "openstack-swift' provider won't ever get out of labs until it has
> BlobStore support. Let's add it.
--
This message was sent by Atlassian JIRA
(v6.1#6144)