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

Issue 10494043: state/apiserver/client: new package

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by rog
Modified:
10 years, 10 months ago
Reviewers:
dimitern, mp+171065, fwereade
Visibility:
Public.

Description

state/apiserver/client: new package We factor it out of the api server. This is a step on the way to showing each kind of API client a customised API. https://code.launchpad.net/~rogpeppe/juju-core/327-apiserver-factor-out-client/+merge/171065 Requires: https://code.launchpad.net/~rogpeppe/juju-core/320-apiserver-login-choose-api/+merge/170939 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state/apiserver/client: new package #

Patch Set 3 : state/apiserver/client: new package #

Patch Set 4 : state/apiserver/client: new package #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -80 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M state/apiserver/client/api_test.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M state/apiserver/client/client.go View 1 13 chunks +85 lines, -50 lines 0 comments Download
M state/apiserver/client/client_test.go View 3 chunks +5 lines, -5 lines 2 comments Download
M state/apiserver/client/perm_test.go View 1 chunk +1 line, -1 line 0 comments Download
M state/apiserver/common/interfaces.go View 1 1 chunk +4 lines, -0 lines 0 comments Download
M state/apiserver/login_test.go View 1 chunk +2 lines, -1 line 0 comments Download
M state/apiserver/machine/common_test.go View 2 chunks +5 lines, -0 lines 0 comments Download
M state/apiserver/root.go View 1 4 chunks +9 lines, -17 lines 0 comments Download
M state/apiserver/server_test.go View 1 chunk +7 lines, -1 line 0 comments Download
M state/apiserver/state_test.go View 1 2 3 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 5
rog
Please take a look.
10 years, 10 months ago (2013-06-25 16:12:09 UTC) #1
rog
Please take a look.
10 years, 10 months ago (2013-06-25 16:13:18 UTC) #2
fwereade
Nice, LGTM https://codereview.appspot.com/10494043/diff/9001/state/apiserver/client/client_test.go File state/apiserver/client/client_test.go (right): https://codereview.appspot.com/10494043/diff/9001/state/apiserver/client/client_test.go#newcode492 state/apiserver/client/client_test.go:492: return mockStore, func() { client.CharmStore = origStore ...
10 years, 10 months ago (2013-06-26 14:43:54 UTC) #3
dimitern
LGTM
10 years, 10 months ago (2013-06-26 14:57:31 UTC) #4
rog
10 years, 10 months ago (2013-06-26 15:02:08 UTC) #5
https://codereview.appspot.com/10494043/diff/9001/state/apiserver/client/clie...
File state/apiserver/client/client_test.go (right):

https://codereview.appspot.com/10494043/diff/9001/state/apiserver/client/clie...
state/apiserver/client/client_test.go:492: return mockStore, func() {
client.CharmStore = origStore }
On 2013/06/26 14:43:54, fwereade wrote:
> What's the justification for this BTW? We've got a perfectly good charm store
> global elsewhere? Doesn't need fixing this branch, but it'd be good to know if
> it's open season on it.

changing the global would seem fine to me. i don't know why it was done this
way.
Sign in to reply to this message.

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