[ 
https://issues.apache.org/jira/browse/JCLOUDS-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14606880#comment-14606880
 ] 

ASF subversion and git services commented on JCLOUDS-930:
---------------------------------------------------------

Commit 1cb082297218532510f32a77a36915a97a09c192 in jclouds's branch 
refs/heads/master from [~timuralp]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=1cb0822 ]

JCLOUDS-930: Add prefix option to OpenStack Swift.

Plumbs the prefix option to the openstack-swift provider. In the
process, the support for the recursive option is modified to avoid
setting the _path_ parameter, but rather use the delimiter if required
(setting the delimiter is sufficient for a non-recursive listing).


> Expose the prefix option when listing a container
> -------------------------------------------------
>
>                 Key: JCLOUDS-930
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-930
>             Project: jclouds
>          Issue Type: New Feature
>          Components: jclouds-blobstore
>            Reporter: Timur Alperovich
>
> Currently, the blob store interface exposes an _inDirectory()_ method to set 
> the directory from which to list blobs. This is implemented through a 
> combination of prefix and delimiter options, namely combining them to 
> retrieve all objects nested under a specific "directory" (e.g. dir/).
> jclouds should expose an explicit prefix option to, for example, allow 
> listing objects that all start with a common name. The difference from the 
> existing inDirectory() option is that the prefix would not require the 
> delimiter to be set and could be an arbitrary string.
> The prefix is an option supported by S3, Swift, Azure, and Google Cloud 
> Storage.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to