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

Issue 12038045: state/api/agent: new package

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

Description

state/api/agent: new package This provides functionality for the machine agent and unit agent. The old MachineAgent API entry point is now deprecated; the client entry point has been removed but the server side remains around until we can remove it (for backward compatibility with 1.12). https://code.launchpad.net/~rogpeppe/juju-core/352-agent-api/+merge/177440 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 10

Patch Set 2 : state/api/agent: new package #

Patch Set 3 : state/api/agent: new package #

Unified diffs Side-by-side diffs Delta from patch set Stats (+417 lines, -99 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/agent.go View 5 chunks +3 lines, -8 lines 0 comments Download
M cmd/jujud/agent_test.go View 2 chunks +1 line, -2 lines 0 comments Download
M cmd/jujud/machine.go View 4 chunks +2 lines, -15 lines 0 comments Download
M cmd/jujud/unit.go View 2 chunks +0 lines, -5 lines 0 comments Download
M state/api/agent/machine_test.go View 1 2 3 chunks +42 lines, -40 lines 0 comments Download
M state/api/agent/state.go View 3 chunks +28 lines, -21 lines 0 comments Download
A state/api/agent/unit_test.go View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
M state/api/params/internal.go View 1 chunk +17 lines, -1 line 0 comments Download
M state/api/state.go View 2 chunks +5 lines, -5 lines 0 comments Download
A state/apiserver/agent/agent.go View 1 chunk +79 lines, -0 lines 0 comments Download
A state/apiserver/agent/agent_test.go View 1 2 1 chunk +128 lines, -0 lines 0 comments Download
M state/apiserver/machine/agent.go View 3 chunks +2 lines, -2 lines 0 comments Download
M state/apiserver/machine/machiner.go View 1 chunk +2 lines, -0 lines 0 comments Download
M state/apiserver/root.go View 3 chunks +12 lines, -0 lines 0 comments Download
M worker/upgrader/upgrader.go View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M worker/upgrader/upgrader_test.go View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 4
rog
Please take a look. https://codereview.appspot.com/12038045/diff/1/state/apiserver/agent/agent.go File state/apiserver/agent/agent.go (right): https://codereview.appspot.com/12038045/diff/1/state/apiserver/agent/agent.go#newcode6 state/apiserver/agent/agent.go:6: package agent this package is ...
10 years, 9 months ago (2013-07-29 17:44:57 UTC) #1
dimitern
Looking great, apart from some minor quibbles bellow https://codereview.appspot.com/12038045/diff/1/state/api/agent/state_test.go File state/api/agent/state_test.go (right): https://codereview.appspot.com/12038045/diff/1/state/api/agent/state_test.go#newcode11 state/api/agent/state_test.go:11: "launchpad.net/juju-core/errors" ...
10 years, 9 months ago (2013-07-29 17:57:55 UTC) #2
rog
Please take a look. https://codereview.appspot.com/12038045/diff/1/state/api/agent/state_test.go File state/api/agent/state_test.go (right): https://codereview.appspot.com/12038045/diff/1/state/api/agent/state_test.go#newcode11 state/api/agent/state_test.go:11: "launchpad.net/juju-core/errors" On 2013/07/29 17:57:56, dimitern ...
10 years, 9 months ago (2013-07-30 07:45:33 UTC) #3
mue
10 years, 9 months ago (2013-07-30 07:59:46 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