Azure / Azurite

A lightweight server clone of Azure Storage that simulates most of the commands supported by it with minimal dependencies
MIT License
1.8k stars 320 forks source link

List Container API does not work with filters - [SoftDelete feature required] #2320

Open cloudtest-anon opened 9 months ago

cloudtest-anon commented 9 months ago

Which service(blob, file, queue, table) does this issue concern?

Azure Blob

Which version of the Azurite was used?

3.21.0

Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

npm

What's the Node.js version?

14.18.1

What problem was encountered?

Azurite does not include the list of deleted containers in its response to List Containers API with include_deleted=True. The response only includes the current containers. The logs indicate that the endpoint has 'include' equated to 'none,' even though include_deleted is set to True. I attempted to add other filters, but the endpoint remains the same.

https://127.0.0.1/devstoreaccount1/?comp=list&include=

I directed the same requests to the cloud and they worked as expected - the deleted containers were listed and all the other filters worked as well.

I use Python SDK.

Steps to reproduce the issue?

Logs to reproduce this scenario: debug.log

EmmaZhu commented 9 months ago

Hi @anna-mazhar ,

Soft delete on blob container is not supported in Azurite yet, listing with include_deleted=True is not supported either. We track supported/unsupported features here: https://github.com/Azure/Azurite/blob/main/README.md#support-matrix.

Thanks Emma