Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-930

Expose the prefix option when listing a container

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: jclouds-blobstore
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                timuralp Timur Alperovich
                Reporter:
                timuralp Timur Alperovich
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: