Feature/signed url module - #32
Open
lucas-amiaud wants to merge 3 commits into
Open
lucas-amiaud wants to merge 3 commits into
lucas-amiaud wants to merge 3 commits into
Conversation
- Added `plume-file-signed-url` module for HMAC-signed URL generation and validation. - Added `plume-file-web-signed-download-jersey` module to serve signed URLs. - Refactored common components into `plume-file-web-download-jersey-common` for reuse. - Deprecated and streamlined several classes in the existing Jersey file download module.
…sey-common` module addition and its role in refactoring download logic.
…-common` module - Deprecated and relocated classes to `plume-file-web-download-jersey-common`. - Introduced `FileCacheConfigurationService` for in-memory cache settings. - Updated Guice modules to delegate service wiring to the shared module. - Updated READMEs for new common module and caching guidance.
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.
Added support for temporary, cryptographically signed file download URLs with two new modules:
plume-file-signed-url: pure Java service module to generate and validate HMAC-signed file URLs.plume-file-web-signed-download-jersey: Jersey based single web-service to serve signed temporary download URLs.These new modules are stateless and do not require any SQL database migrations.
Additionally, a new
plume-file-web-download-jersey-commonmodule has been introduced.It shares the download logic (services, configuration and helpers) that was previously located in
plume-file-web-download-jersey, so that bothplume-file-web-download-jerseyandplume-file-web-signed-download-jerseycan rely on the same code base.This change does not introduce any breaking change: the elements that were moved are only deprecated
in
plume-file-web-download-jersey, not removed. No SQL database migration is required.