jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-930) Expose the prefix option when listing a container
Date Tue, 30 Jun 2015 16:44:05 GMT

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

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

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

JCLOUDS-930: LocalBlobStore -- marker regression.

We should not append a "/" to the marker when returning list results
in the case of directories (RELATIVE_PATH), as the names will already
include the delimiter.

Added a jclouds test to catch such regressions in the local store in
the future.


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

Mime
View raw message