You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by jhawkinson <gi...@git.apache.org> on 2018/03/21 19:29:33 UTC

[GitHub] libcloud pull request #1193: LIBCLOUD-986: Add prefix option to azure blob l...

GitHub user jhawkinson opened a pull request:

    https://github.com/apache/libcloud/pull/1193

    LIBCLOUD-986: Add prefix option to azure blob list and iterate containers

    ## LIBCLOUD-986: Add prefix filter for list and iterate containers to Azure Blob Storage Driver
    
    ### Description
    While testing out the libcloud storage abstraction I've come across a curious omission in driver support. It seems that for many drivers there is additional support for the list_container_objects() and iterate_container_objects() to support a prefix (or ex_prefix). 
    
    This functionality is not present in the Azure driver for some reason.   I've gone and checked the list_blobs API and it also supports this functionality as seen here:
    
    https://docs.microsoft.com/en-us/rest/api/storageservices/list-blobs
    
    I've added the support to the AzureBlobsStorageDriver with these changes.
    
    ### Status
    - done, ready for review
    
    ### Checklist
    - [x] [Code linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide) (required, can be done after the PR checks)
    - [ ] Documentation
    - [x] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
    - [ ] [ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jhawkinson/libcloud LIBCLOUD-986

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/libcloud/pull/1193.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1193
    
----
commit 735c9e645a067da48192f4846502fd50e1feef0b
Author: jhawk <jh...@...>
Date:   2018-03-21T19:08:02Z

    LIBCLOUD-986: Add prefix option to azure blob list and iterate container methods

----


---

[GitHub] libcloud pull request #1193: LIBCLOUD-986: Add prefix option to azure blob l...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/libcloud/pull/1193


---