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

Issue 10611046: state/apiserver/common: factor out Resources

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by rog
Modified:
12 years, 8 months ago
Reviewers:
mp+171623, jameinel, fwereade
Visibility:
Public.

Description

state/apiserver/common: factor out Resources Given that the type itself provides all the introspection facilities we need, there seems little point in having an interface and making a fake version when we can use the real thing. https://code.launchpad.net/~rogpeppe/juju-core/335-apiserver-common-resources/+merge/171623 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state/apiserver/common: factor out Resources #

Total comments: 2

Patch Set 3 : state/apiserver/common: factor out Resources #

Patch Set 4 : state/apiserver/common: factor out Resources #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -116 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M state/apiserver/client/client.go View 2 chunks +2 lines, -2 lines 0 comments Download
M state/apiserver/common/interfaces.go View 1 chunk +0 lines, -27 lines 0 comments Download
M state/apiserver/common/resource.go View 2 chunks +49 lines, -42 lines 0 comments Download
A state/apiserver/common/resource_test.go View 1 chunk +97 lines, -0 lines 0 comments Download
M state/apiserver/machine/machiner.go View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M state/apiserver/machine/machiner_test.go View 1 2 4 chunks +7 lines, -7 lines 0 comments Download
M state/apiserver/root.go View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
D state/apiserver/testing/fakeresource.go View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
M state/apiserver/watcher.go View 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 6
rog
Please take a look.
12 years, 8 months ago (2013-06-26 18:16:32 UTC) #1
jameinel
LGTM You lose tracking the Id and the map the Resource is in, but I ...
12 years, 8 months ago (2013-06-26 18:26:03 UTC) #2
fwereade
Somewhat grudging LGTM -- I'm not sure this either gains or loses us much, and ...
12 years, 8 months ago (2013-06-26 23:56:17 UTC) #3
rog
On 26 June 2013 19:26, <john.meinel@canonical.com> wrote: > LGTM > > You lose tracking the ...
12 years, 8 months ago (2013-06-27 06:14:33 UTC) #4
rog
> Somewhat grudging LGTM -- I'm not sure this either gains or loses us > ...
12 years, 8 months ago (2013-06-27 06:19:40 UTC) #5
rog
12 years, 8 months ago (2013-06-27 09:24:12 UTC) #6
Please take a look.
Sign in to reply to this message.

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