You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/07/01 02:13:04 UTC

[jira] [Commented] (JCLOUDS-930) Expose the prefix option when listing a container

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

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

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

JCLOUDS-930: Fixup the test to expect "/".

After the change to address JCLOUDS-930, the tests need to expect that
a trailing slash is present in the common prefixes (the delimiter --
"/" -- is included).


> 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
>            Assignee: 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)