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

Issue 10296046: ec2: moved the http storage reader and tests (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by mue
Modified:
10 years, 9 months ago
Reviewers:
mp+170439, jameinel, dave, thumper, fwereade, rog
Visibility:
Public.

Description

ec2: moved the http storage reader and tests Moved the HTTP based StorageReader and the test server for it to environs/ec2 and adopted those changes at the synctools. https://code.launchpad.net/~themue/juju-core/028-ec2-http-storage-reader/+merge/170439 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 3

Patch Set 2 : ec2: moved the http storage reader and tests #

Patch Set 3 : ec2: moved the http storage reader and tests #

Patch Set 4 : ec2: moved the http storage reader and tests #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+315 lines, -231 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/synctools.go View 1 4 chunks +5 lines, -110 lines 0 comments Download
M cmd/juju/synctools_test.go View 1 2 3 4 chunks +5 lines, -119 lines 0 comments Download
M environs/ec2/storage.go View 1 2 2 chunks +88 lines, -2 lines 6 comments Download
A environs/ec2/storage_test.go View 1 2 1 chunk +64 lines, -0 lines 2 comments Download
A environs/testing/storage.go View 1 2 1 chunk +151 lines, -0 lines 0 comments Download

Messages

Total messages: 11
mue
Please take a look.
10 years, 10 months ago (2013-06-19 20:01:42 UTC) #1
thumper
On 2013/06/19 20:01:42, mue wrote: > Please take a look. LGTM
10 years, 10 months ago (2013-06-20 02:51:58 UTC) #2
dave_cheney.net
LGTM. That looks like where it is supposed to go.
10 years, 10 months ago (2013-06-20 03:11:42 UTC) #3
jameinel
LGTM I like the location for the storage code and tests. I'm a little concerned ...
10 years, 10 months ago (2013-06-20 06:04:48 UTC) #4
mue
Please take a look.
10 years, 10 months ago (2013-06-20 06:43:40 UTC) #5
jameinel
LGTM
10 years, 10 months ago (2013-06-20 06:56:41 UTC) #6
mue
Please take a look.
10 years, 10 months ago (2013-06-20 13:33:18 UTC) #7
mue
Please take a look.
10 years, 10 months ago (2013-06-20 13:43:35 UTC) #8
fwereade
LGTM, thanks
10 years, 10 months ago (2013-06-21 11:40:49 UTC) #9
rog
LGTM with some minor suggestions below. I also think it's a good place for the ...
10 years, 10 months ago (2013-06-21 12:17:09 UTC) #10
mue
10 years, 10 months ago (2013-06-21 15:35:30 UTC) #11
https://codereview.appspot.com/10296046/diff/14001/environs/ec2/storage.go
File environs/ec2/storage.go (right):

https://codereview.appspot.com/10296046/diff/14001/environs/ec2/storage.go#ne...
environs/ec2/storage.go:187: type HTTPStorageReader struct {
On 2013/06/21 12:17:09, rog wrote:
> any particular reason to export this type?

No, done. ;)

https://codereview.appspot.com/10296046/diff/14001/environs/ec2/storage.go#ne...
environs/ec2/storage.go:192: // access to an EC2 storage like the juju-dist
storage.
On 2013/06/21 12:17:09, rog wrote:
> What is location? A URL? A host name?

Done.

https://codereview.appspot.com/10296046/diff/14001/environs/ec2/storage.go#ne...
environs/ec2/storage.go:198: // that can be used to read its contents.
On 2013/06/21 12:17:09, rog wrote:
> // Get implements environs.StorageReader.Get
> 
> and below. No need to duplicate all the comments
> from environs.StorageReader (unless there's some
> new information that needs to be added)

Done.

https://codereview.appspot.com/10296046/diff/14001/environs/ec2/storage_test.go
File environs/ec2/storage_test.go (right):

https://codereview.appspot.com/10296046/diff/14001/environs/ec2/storage_test....
environs/ec2/storage_test.go:22: func (s *storageSuite) SetUpTest(c *C) {
On 2013/06/21 12:17:09, rog wrote:
> is it worth having SetUpTest and TearDownTest when there's only one test?

It ended with only one test, I thought it would get more. But the overhead is
not very high and it is more clear this way.
Sign in to reply to this message.

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