Azurite icon indicating copy to clipboard operation
Azurite copied to clipboard

Add support for blob batch

Open EmmaZhu opened this issue 2 years ago • 7 comments

Thanks for contribution! Please go through following checklist before sending PR.

PR Branch Destination

  • For Azurite V3, please send PR to main branch.
  • For legacy Azurite V2, please send PR to legacy-dev branch.

Always Add Test Cases

Make sure test cases are added to cover the code change.

Add Change Log

Add change log for the code change in Upcoming Release section in ChangeLog.md.

Development Guideline

Please go to CONTRIBUTION.md for steps about setting up development environment and recommended Visual Studio Code extensions.

Manually tested:

  1. subrequest count exceed the limition (> 256)
  2. Different operation method in one batch request
  3. No id in one of subrequest

Batch request support all of share key/SAS token/AAD token credentials in both of service and container scope batch request.

EmmaZhu avatar Sep 13 '22 02:09 EmmaZhu

Added test case for different SAS token resource scope for container endpoint/service endpoint.

EmmaZhu avatar Sep 20 '22 07:09 EmmaZhu

Added test cases for container endpoint where subrequest sent to blobs under a different container.

EmmaZhu avatar Sep 20 '22 07:09 EmmaZhu

Confirm about the REST API credential description about container endpoint and service endpoint

EmmaZhu avatar Sep 20 '22 07:09 EmmaZhu

Add comments in blob.md about the change of adding container_batch operation.

EmmaZhu avatar Sep 20 '22 08:09 EmmaZhu

Limitation of subrequest count

EmmaZhu avatar Sep 20 '22 08:09 EmmaZhu

Log context id and subrequest id in the batch method.

EmmaZhu avatar Sep 20 '22 08:09 EmmaZhu

Reference to test cases for table batch

EmmaZhu avatar Sep 20 '22 08:09 EmmaZhu