Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2307)

Issue 10478045: Implement storage methods in the Azure provider.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by rvb
Modified:
10 years, 10 months ago
Reviewers:
jtv.canonical, mp+170622, wallyworld
Visibility:
Public.

Description

Implement storage methods in the Azure provider. This branch implements 4 storage-related methods in the Azure provider: azureStorage.Get, azureStorage.List, azureStorage.Put and azureStorage.Remove. The implementations are rather straightforward: simple calls to gwacl with the occasional formatting of the returned data. Some abstractions (like the storageContext interface) were added for the sole purpose of being able to do some dependency injection in the tests. https://code.launchpad.net/~rvb/juju-core/az-storage/+merge/170622 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -5 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M environs/azure/storage.go View 2 chunks +67 lines, -5 lines 1 comment Download
A environs/azure/storage_test.go View 1 chunk +194 lines, -0 lines 2 comments Download

Messages

Total messages: 5
rvb
Please take a look.
10 years, 10 months ago (2013-06-24 10:24:08 UTC) #1
wallyworld
LGTM https://codereview.appspot.com/10478045/diff/1/environs/azure/storage.go File environs/azure/storage.go (right): https://codereview.appspot.com/10478045/diff/1/environs/azure/storage.go#newcode56 environs/azure/storage.go:56: return nil, errors.NotFoundf("file '%s' not found", name) minor ...
10 years, 10 months ago (2013-06-24 12:23:07 UTC) #2
jtv.canonical
I'm approving, but with two notes. https://codereview.appspot.com/10478045/diff/1/environs/azure/storage_test.go File environs/azure/storage_test.go (right): https://codereview.appspot.com/10478045/diff/1/environs/azure/storage_test.go#newcode165 environs/azure/storage_test.go:165: err := azStorage.Put(filename, ...
10 years, 10 months ago (2013-06-24 13:08:15 UTC) #3
jtv.canonical
LGTM ← I'm guessing that I vote by starting my message with that little celebration ...
10 years, 10 months ago (2013-06-24 13:14:56 UTC) #4
rvb
10 years, 10 months ago (2013-06-24 13:21:59 UTC) #5
Both good points, fixed!

Thanks for the review.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b