Skip to content
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

Bucket implementation #1

Merged
merged 4 commits into from
Jun 6, 2019
Merged

Bucket implementation #1

merged 4 commits into from
Jun 6, 2019

Conversation

cintamani
Copy link
Contributor

Implements the configuration and loading of a file to S3 buckets.

This still needs proper end-to-end testing but is good to wrap it up now and fix later.

Implements the buckets cofiguration and loading of a file to S3 AWS.
@cintamani cintamani added the enhancement New feature or request label Jun 6, 2019
@cintamani cintamani self-assigned this Jun 6, 2019
end

def run
s3_bucket.object(File.basename(file.path)).upload_file(file.path, server_side_encryption: :AES256)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a temporary code. Will wrap it in a Response object that will deal with failures in a subsequent PR

@cintamani cintamani merged commit 508d1c9 into master Jun 6, 2019
@cintamani cintamani deleted the bucket-implementation branch June 6, 2019 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants