Uh oh!
There was an error while loading. Please reload this page.
Add ability to download templates in Swift - #1332
Conversation
DaanHoogland
commented
Jan 13, 2016
looks good @syed Can you add test data/description |
There was a problem hiding this comment.
Why return empty here, and null later?
There was a problem hiding this comment.
Fixed. Throwing exception instead
syed
commented
Jan 21, 2016
JIRA: CLOUDSTACK-9248 Tested this on our local setup. Created a template and generated the download link. Verified the download and it is the same as the template. |
wido
commented
Jan 27, 2016
Looks good at first, but I would like to see some UnitTests around methods. I'll comment on those inline. |
There was a problem hiding this comment.
Could you write a UnitTest for this?
There was a problem hiding this comment.
I don't think I can write a unit test for this as it relies on an external script to work to give the correct output. I could mock the output but that would defeat the purpose of the unit test.
syed
commented
Jan 28, 2016
Added unit tests |
wido
commented
Jan 29, 2016
With the tests this looks good to me. I have no way of verifying the Swift working itself, but based on the code and tests: LGTM |
pdube
commented
Jan 29, 2016
syed
commented
Feb 3, 2016
Can we get this merged? |
bvbharatk
commented
Mar 25, 2016
Link to logs Folder (search by build_no):https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0 ACS CI BVT RunSumarry: Failed tests:
Skipped tests: Passed test suits: |
syed
commented
Apr 5, 2016
@bvbharatk it looks to be a problem with the test. Volume creation should work irrespective of my changes. |
swill
commented
Apr 5, 2016
@syed can you squash the commits. This is best applied as a single commit. Thx. |
syed
commented
Apr 5, 2016
Sure @swill . I've sqashed them |
Add ability to download templates in SwiftThis PR adds the ability to download templates when using Swift as a secondary storage. Uses the "temp_url" feature of Swift so that tempates can be downloaded without authenticaiton. * pr/1332: Add ability to download templates in Swift Signed-off-by: Will Stevens <williamstevens@gmail.com>

This PR adds the ability to download templates when using Swift as a secondary storage. Uses the "temp_url" feature of Swift so that tempates can be downloaded without authenticaiton.