Merged
Conversation
8d3ff09 to
669fd74
Compare
900d2b1 to
a810c76
Compare
558eb31 to
fe43f88
Compare
ac22bdf to
3862a1c
Compare
a810c76 to
31f2de4
Compare
3862a1c to
500838e
Compare
2a95ce6 to
e62e332
Compare
d955ac8 to
2ba0351
Compare
mdimjasevic
approved these changes
Jan 6, 2022
Contributor
mdimjasevic
left a comment
There was a problem hiding this comment.
Overall, this is great!
I left some smaller comments and questions.
e60c14c to
9eba8e4
Compare
Co-authored-by: Sven Tennie <sven.tennie@wire.com>
This ReaderT gives access to the HTTP manager and the Cargohold endpoint. The wrapped monad is HTTP (to make requests).
This avoids having to read the configuration file before every test.
Co-authored-by: Marko Dimjašević <marko.dimjasevic@wire.com>
Co-authored-by: Marko Dimjašević <marko.dimjasevic@wire.com>
Co-authored-by: Marko Dimjašević <marko.dimjasevic@wire.com>
9eba8e4 to
17818c1
Compare
4 tasks
2 tasks
Merged
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.
This PR implements the Cargohold federation API. There are only two endpoints:
get-asset, used to check if an asset existsstream-asset, used to retrieve the asset contents.The reason for having a separate
get-assetRPC is that the federation API has no direct way of communicating that the asset does not exist, since non-success HTTP status codes are always interepreted as server errors by federator.Tracked by https://wearezeta.atlassian.net/browse/FS-305.
Checklist
changelog.d.