Skip to content

Implement env-driven signed URL strategy providers#855

Open
Joyyyb wants to merge 1 commit into
MettaChain:mainfrom
Joyyyb:feature/env-driven-signed-url-strategy
Open

Implement env-driven signed URL strategy providers#855
Joyyyb wants to merge 1 commit into
MettaChain:mainfrom
Joyyyb:feature/env-driven-signed-url-strategy

Conversation

@Joyyyb

@Joyyyb Joyyyb commented Jun 29, 2026

Copy link
Copy Markdown

This change introduces an env-driven strategy pattern for signed URL generation in the documents module. A factory now selects the active provider based on the SIGNED_URL_PROVIDER environment variable, with explicit S3, GCS, and Azure provider shells that can be wired to real implementations by integrators. The default path remains a not-configured provider that throws a clear error when no backend is selected, making the behavior explicit and extensible for future storage integrations.

Closes the issue requesting signed URL generation to be implemented through a strategy pattern driven by environment variables, with S3/GCS/Azure placeholders and a default not-configured failure mode.

Closes #751

This change introduces an env-driven strategy pattern for signed URL generation in the documents module. A factory now selects the active provider based on the SIGNED_URL_PROVIDER environment variable, with explicit S3, GCS, and Azure provider shells that can be wired to real implementations by integrators. The default path remains a not-configured provider that throws a clear error when no backend is selected, making the behavior explicit and extensible for future storage integrations.

Closes the issue requesting signed URL generation to be implemented through a strategy pattern driven by environment variables, with S3/GCS/Azure placeholders and a default not-configured failure mode.
@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@Joyyyb Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[C5] Pluggable signed-URL provider abstraction (S3/GCS/Azure)

1 participant