Repository navigation
feat(azure): implement Phase 3 Azure Blob Storage core operations and multi-CSP routing - #191
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Implements Phase 3 Azure Blob Storage pilot and multi-CSP protocol/routing engine according to
docs/roadmap.md.Key Changes
api/models/azure-blob-storage.jsonto full OpenAPI 3.0 specification covering 9 core container and BlockBlob operations with specific query constraints (?restype=container,?comp=list).internal/codegen/openapi_parser.goconverting OpenAPI JSON intoir.Model, sorting routes by query constraint specificity for deterministic routing inhttproute.Match.internal/generated/blob/."azure"ininternal/config/config.go.internal/auth/azure_shared_key.goforSharedKey,SharedKeyLite, SAS query parameters, and local emulator path format (/devstoreaccount1).internal/gateway/protocol.gowithisAzureRequestprotocol sniffing to route Azure requests to("rest-xml", "blob").<Error><Code>...</Code><Message>...</Message></Error>) andx-ms-error-codeheader handling ininternal/gateway/router.go.FileStoreininternal/services/blob/store.gostoring container data and metadata with path traversal guards.internal/services/blob/provider.gohandling container & BlockBlob operations, standard Azure response headers, Range requests (HTTP 206,Content-Range), and XMLEnumerationResultslisting.openapi_parser,azure_shared_key, andblobprovider/store.test/compatibility/test_azure_blob.pywithazure-storage-blobPython SDK.docs/coverage.md,docs/services/azure.md, anddocs/architecture.md.Verification
make test: All Go unit and integration tests passing.pytest test/compatibility/test_azure_blob.py: Compatibility tests against live binary passing.