-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add support for S3 through the REST API #118
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
86dc45f
Add support for S3 through the REST API
gregkare f083022
Get the ETag from Redis on a GET request
gregkare 7bd4554
Set headers from the Redis metadata on a GET that results in a 304
gregkare 21dad2a
Get the metadata from Redis on a HEAD request
gregkare 21f3a9f
Remove all duplication the specs
gregkare b00fc5b
Reverse the not found logic in the delete_data method to make it clearer
gregkare 3b72b8d
Pass the headers to the set_response_headers directly, not the response
gregkare 97cd5ec
Move a comment to the relevant line
gregkare 1532a23
Reorder the argument in authorization_headers_for
gregkare 454f02d
Rename the spec root description
gregkare 5da0d0b
Delete unused methods
gregkare ca0127d
Rename the S3 provider to just S3
gregkare f14ef4d
Consider that the metadata has changed when the Last-Modified changes
gregkare a922867
Uncomment the development config in the examples
gregkare d0a28c7
Remove useless comments and remove duplicate section in the example c…
gregkare 0ec76c8
Fix coding style for a hash
gregkare 709f635
Rewrite to avoid long lines
gregkare 639c372
Refactor the put_request method to have a return value
gregkare c0d88f1
Run Travis builds on the Docker infrastructure
gregkare df65190
Simply the request stubs, add comments
gregkare be33b0e
Replace placeholder comment that I forgot to replace
gregkare 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 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 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 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 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,26 @@ | ||
development: &defaults | ||
maintenance: false | ||
s3: | ||
endpoint: "https://some-endpoint" | ||
region: "region" | ||
access_key_id: "" | ||
secret_key_id: "" | ||
bucket: "test-bucket" | ||
redis: | ||
host: localhost | ||
port: 6379 | ||
|
||
test: | ||
<<: *defaults | ||
s3: | ||
endpoint: "https://some-endpoint" | ||
region: "region" | ||
access_key_id: "" | ||
secret_key_id: "" | ||
bucket: "test-bucket" | ||
|
||
staging: | ||
<<: *defaults | ||
|
||
production: | ||
<<: *defaults |
This file contains 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't the second one overwriting the first one here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's setting a build matrix, creating one build for the s3 backend and one for the swift backend
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see. Didn't read that far in their docs.