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

Issue 10398043: state/machine: new agent API

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

Description

state/machine: new agent API As discussed, for testing reasons it makes sense to place APIs for a given agent alongside one another, so this CL puts the machiner API and the machine agent API alongside one another. Client-side machine agent API in a subsequent CL. https://code.launchpad.net/~rogpeppe/juju-core/312-alt-api-jobs/+merge/170135 Requires: https://code.launchpad.net/~rogpeppe/juju-core/311-alt-juju-bootstrap-state-change-password-1.5/+merge/170128 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state/machine: new agent API #

Total comments: 22
Unified diffs Side-by-side diffs Delta from patch set Stats (+322 lines, -106 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/bootstrap.go View 1 chunk +1 line, -1 line 0 comments Download
M cmd/jujud/bootstrap_test.go View 1 chunk +1 line, -1 line 0 comments Download
M cmd/jujud/machine.go View 2 chunks +2 lines, -2 lines 0 comments Download
M cmd/jujud/machine_test.go View 4 chunks +4 lines, -4 lines 0 comments Download
M state/api/params/params.go View 2 chunks +30 lines, -0 lines 0 comments Download
M state/apiserver/common/interfaces.go View 1 chunk +1 line, -1 line 0 comments Download
M state/apiserver/login_test.go View 2 chunks +4 lines, -3 lines 3 comments Download
A state/apiserver/machine/agent.go View 1 chunk +69 lines, -0 lines 9 comments Download
A state/apiserver/machine/agent_test.go View 1 chunk +91 lines, -0 lines 4 comments Download
A state/apiserver/machine/common_test.go View 1 chunk +66 lines, -0 lines 2 comments Download
M state/apiserver/machine/machiner.go View 7 chunks +12 lines, -12 lines 3 comments Download
M state/apiserver/machine/machiner_test.go View 3 chunks +9 lines, -61 lines 0 comments Download
M state/apiserver/root.go View 3 chunks +22 lines, -13 lines 0 comments Download
M state/machine.go View 2 chunks +6 lines, -6 lines 1 comment Download
M state/state_test.go View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9
rog
Please take a look.
10 years, 10 months ago (2013-06-18 16:59:53 UTC) #1
jameinel
LGTM I'm fine with the rename, and the new APIs look really good to me. ...
10 years, 10 months ago (2013-06-19 10:04:28 UTC) #2
Danilo
LGTM (only a few minor comments mostly relating to your code comments). https://codereview.appspot.com/10398043/diff/2001/state/apiserver/machine/agent.go File state/apiserver/machine/agent.go ...
10 years, 10 months ago (2013-06-19 10:50:26 UTC) #3
dimitern
A few comments https://codereview.appspot.com/10398043/diff/2001/state/apiserver/login_test.go File state/apiserver/login_test.go (right): https://codereview.appspot.com/10398043/diff/2001/state/apiserver/login_test.go#newcode64 state/apiserver/login_test.go:64: // Note that Open does not ...
10 years, 10 months ago (2013-06-19 13:40:52 UTC) #4
rog
Thanks for the on-holiday review! https://codereview.appspot.com/10398043/diff/2001/state/apiserver/login_test.go File state/apiserver/login_test.go (right): https://codereview.appspot.com/10398043/diff/2001/state/apiserver/login_test.go#newcode64 state/apiserver/login_test.go:64: // Note that Open ...
10 years, 10 months ago (2013-06-19 15:30:01 UTC) #5
fwereade
LGTM, despite grumping about authentication model, which is unquestionably orthogonal to this change. Let's land ...
10 years, 10 months ago (2013-06-21 08:28:34 UTC) #6
fwereade
https://codereview.appspot.com/10398043/diff/2001/state/machine.go File state/machine.go (right): https://codereview.appspot.com/10398043/diff/2001/state/machine.go#newcode41 state/machine.go:41: JobManageState: params.JobManageState, FWIW, on reflection, I'd be fine with ...
10 years, 10 months ago (2013-06-21 08:31:43 UTC) #7
rog
submitting as https://codereview.appspot.com/10384046/ to avoid the prereq. https://codereview.appspot.com/10398043/diff/2001/state/apiserver/machine/agent.go File state/apiserver/machine/agent.go (right): https://codereview.appspot.com/10398043/diff/2001/state/apiserver/machine/agent.go#newcode49 state/apiserver/machine/agent.go:49: // this ...
10 years, 10 months ago (2013-06-21 08:51:39 UTC) #8
rog
10 years, 10 months ago (2013-06-25 06:10:25 UTC) #9
Sign in to reply to this message.

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