-
Notifications
You must be signed in to change notification settings - Fork 332
Cargohold: remote assets #2004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Cargohold: remote assets #2004
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
94adf72
Initial implementation of remote asset download
pcapriotti 6da8a78
Add RPC to check if an asset exists
pcapriotti ac97cf1
Download local asset for streaming
pcapriotti 864de52
Implement federation test for get-asset
pcapriotti 4b73c14
Added get-asset test
supersven 4c8d50e
Test get-asset with public and private assets
supersven 0f3a9c4
WIP: federation: test large asset download
pcapriotti f3d62fd
Test stream-asset
supersven 994bcfd
Improve large asset test
pcapriotti ac8ecb9
Test streaming invalid assets
pcapriotti 3916483
Introduce TestM in Cargohold integration tests
supersven 74950bb
Reintroduce tasty resource for configuration file
pcapriotti f42e4ca
Add more API client utilities in tests
pcapriotti 27a7f26
Use servant client for federation tests
pcapriotti 6511732
Set up federator mocking in cargohold
pcapriotti 09c2ddb
Fix formatting
supersven 1ca2d49
Assert the content of a remote asset download
supersven 6c4bcf2
Add changelog.d entry
supersven 3e46eec
Test 404 when fetching remote asset
pcapriotti c090908
Check federated requests in remote asset test
pcapriotti 4042598
Add config to cargohold integration chart
pcapriotti f1717d9
Simple end2end remote asset download test
pcapriotti cb7261a
Remove unused `uploadRandom` function
pcapriotti 29ce923
fixup! Simple end2end remote asset download test
pcapriotti 99857ff
Enable federation in cargohold helm chart
pcapriotti 6d4b224
Make asset public in end-to-end test
pcapriotti fde0588
Set hostname for instance with mocked federator
pcapriotti a21fff1
fixup! Set hostname for instance with mocked federator
pcapriotti a9347f6
Fix local domain in fed request assertions
pcapriotti 22846e8
Fix cargohold test in federator
pcapriotti 2a601de
Use `isJust`
pcapriotti 10bf79e
Simplify implementation of `getAsset`
pcapriotti 17818c1
Remove redundant `$`
pcapriotti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Enable downloading assets from a remote (federated) cargohold instance via the v4 API. | ||
| The content of remote assets is returned as stream with content type | ||
| `application/octet-stream`. | ||
| Please refer to the Swagger API documentation for more details. |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.