Skip to content

Fix download a swagger file from given S3 location#444

Merged
sanathkr merged 7 commits intoaws:developfrom
tendrilinc:fix_load_swagger_s3
May 31, 2018
Merged

Fix download a swagger file from given S3 location#444
sanathkr merged 7 commits intoaws:developfrom
tendrilinc:fix_load_swagger_s3

Conversation

@mcasado
Copy link
Contributor

@mcasado mcasado commented May 30, 2018

Signed-off-by: Marcel Casado mcasado@tendrilinc.com

Issue #, if available:
#438

Description of changes:
Uploading swagger files from s3 is broken since we use boto3 method that expected a string and not a file object. Changed to use the right boto3 method that takes the file object. Modified test and added unit test

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Signed-off-by: Marcel Casado <mcasado@tendrilinc.com>
@mcasado mcasado changed the title Fix download a file from given S3 location Fix download a swagger file from given S3 location May 30, 2018
Copy link
Contributor

@sanathkr sanathkr left a comment

Choose a reason for hiding this comment

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

LGTM

Looks like this is your first time contributing to this repository! Thanks a lot for going through and fixing this bug 🎉.

@sanathkr sanathkr added the stage/accepted Accepted and will be fixed label May 31, 2018
@sanathkr sanathkr merged commit 20c235e into aws:develop May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stage/accepted Accepted and will be fixed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants