Skip to content

Add Service SAS and Delete Blob support#1

Merged
afuersch merged 16 commits into
adliance:mainfrom
fh-adliance:Fixes&Improvements
Mar 9, 2026
Merged

Add Service SAS and Delete Blob support#1
afuersch merged 16 commits into
adliance:mainfrom
fh-adliance:Fixes&Improvements

Conversation

@fh-adliance
Copy link
Copy Markdown
Contributor

Summary

This PR enhances SAS support and blob deletion functionality, improves header handling, and expands automated test coverage.

Changes

  • Added Service SAS authentication (supports Azure Storage API versions 2015-04-05 through 2018-11-08)
  • Implemented Delete Blob functionality
  • Fixed environment-specific newline handling in Canonicalized Headers
  • Added end-to-end (E2E) test for Docker container setup
  • Added SAS middleware tests
  • Added SAS service tests
  • Added Delete Blob tests

Impact

  • Improves compatibility with multiple Azure Storage API versions
  • Enhances reliability of SAS authentication
  • Ensures consistent behavior across environments
  • Increases overall test coverage

@afuersch afuersch self-requested a review February 20, 2026 07:17
@afuersch afuersch added enhancement New feature or request labels Feb 23, 2026
{
Directory.CreateDirectory(_storagePath);

_simulatorContainer = new ContainerBuilder("ghcr.io/adliance/azureblobsimulator:latest")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests uses the latest image of the registry and not builds it from the current code. Is that on purpose?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea was to test this as well. Do you think it would be better to test the current code? I wanted to cover a scenario that is as close as possible to a real-world one.

Copy link
Copy Markdown
Contributor

@afuersch afuersch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the Azure Storage Explorer I was not able to use the "Download all" or "Upload all" functionality. I always received a Forbidden error. That's something to put on the future backlog I guess.

@afuersch afuersch merged commit 8798ec7 into adliance:main Mar 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants