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

Issue 10541044: Public storage in the Azure provider

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by rvb
Modified:
12 years, 8 months ago
Reviewers:
mue, jtv.canonical, mp+171251
Visibility:
Public.

Description

Public storage in the Azure provider This branch adds support for a public storage in the Azure provider. It introduces two new configuration items (public-storage-account-name and public-storage-container-name) which, together, will be used to create an anonymous gwacl.storageContext object (i.e. one with an empty access Key) used to retrieve the tools. The key point is the implementation of the storage's URL() method which, given that it's going to be used to access a public container in Azure, is simply the file URL as returned by gwacl's GetFileURL() method; when a container is public, files in there can simply be retrieved using wget. Drive-by fix: get rid of the recently introduced NewStorage method and instead, implement environ's Storage() method. https://code.launchpad.net/~rvb/juju-core/az-public-storage/+merge/171251 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -32 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M environs/azure/config.go View 4 chunks +19 lines, -0 lines 0 comments Download
M environs/azure/config_test.go View 5 chunks +28 lines, -0 lines 0 comments Download
M environs/azure/environ.go View 2 chunks +19 lines, -2 lines 0 comments Download
M environs/azure/environ_test.go View 3 chunks +44 lines, -0 lines 0 comments Download
M environs/azure/storage.go View 3 chunks +21 lines, -6 lines 0 comments Download
M environs/azure/storage_test.go View 3 chunks +11 lines, -24 lines 1 comment Download

Messages

Total messages: 4
rvb
Please take a look.
12 years, 8 months ago (2013-06-25 13:36:07 UTC) #1
mue
LGTM with one comment. https://codereview.appspot.com/10541044/diff/1/environs/azure/storage_test.go File environs/azure/storage_test.go (right): https://codereview.appspot.com/10541044/diff/1/environs/azure/storage_test.go#newcode181 environs/azure/storage_test.go:181: func (StorageSuite) TestURL(c *C) { ...
12 years, 8 months ago (2013-06-25 14:47:13 UTC) #2
rvb
On 2013/06/25 14:47:13, mue wrote: > LGTM with one comment. > > https://codereview.appspot.com/10541044/diff/1/environs/azure/storage_test.go > File ...
12 years, 8 months ago (2013-06-25 15:48:01 UTC) #3
jtv.canonical
12 years, 8 months ago (2013-06-25 16:04:25 UTC) #4
LGTM
Sign in to reply to this message.

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