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

Issue 13355046: worker/apiuniter: State to API migration (Closed)

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

Description

worker/apiuniter: State to API migration This replaces all state calls with API calls, fixes all tests and prepares the uniter worker to use the API. This is done separately from worker/uniter, so it can be reviewed first before merging. https://code.launchpad.net/~dimitern/juju-core/133-apiuniter-uses-api/+merge/185091 Requires: https://code.launchpad.net/~dimitern/juju-core/132-api-uniter-last-fixes/+merge/185090 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : worker/apiuniter: State to API migration #

Total comments: 14

Patch Set 3 : worker/apiuniter: State to API migration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+612 lines, -297 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M state/api/params/apierror.go View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M state/apiserver/common/errors.go View 1 2 2 chunks +20 lines, -0 lines 0 comments Download
M state/apiserver/common/errors_test.go View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M state/apiserver/uniter/uniter.go View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M state/apiserver/uniter/uniter_test.go View 1 2 2 chunks +10 lines, -4 lines 0 comments Download
M worker/apiuniter/charm/charm.go View 5 chunks +16 lines, -8 lines 0 comments Download
M worker/apiuniter/charm/charm_test.go View 6 chunks +31 lines, -8 lines 0 comments Download
M worker/apiuniter/context.go View 1 2 8 chunks +33 lines, -13 lines 0 comments Download
M worker/apiuniter/context_test.go View 1 2 18 chunks +130 lines, -47 lines 0 comments Download
M worker/apiuniter/filter.go View 16 chunks +74 lines, -37 lines 0 comments Download
M worker/apiuniter/filter_test.go View 1 2 21 chunks +62 lines, -30 lines 0 comments Download
M worker/apiuniter/jujuc/context.go View 2 chunks +4 lines, -4 lines 0 comments Download
M worker/apiuniter/jujuc/relation-get.go View 2 chunks +2 lines, -1 line 0 comments Download
M worker/apiuniter/jujuc/relation-get_test.go View 1 chunk +2 lines, -2 lines 0 comments Download
M worker/apiuniter/jujuc/relation-set_test.go View 1 chunk +3 lines, -3 lines 0 comments Download
M worker/apiuniter/jujuc/util_test.go View 4 chunks +6 lines, -5 lines 0 comments Download
M worker/apiuniter/modes.go View 7 chunks +23 lines, -26 lines 0 comments Download
M worker/apiuniter/relationer.go View 6 chunks +14 lines, -11 lines 0 comments Download
M worker/apiuniter/relationer_test.go View 10 chunks +63 lines, -19 lines 0 comments Download
M worker/apiuniter/uniter.go View 1 2 14 chunks +48 lines, -47 lines 0 comments Download
M worker/apiuniter/uniter_test.go View 1 2 17 chunks +63 lines, -28 lines 0 comments Download

Messages

Total messages: 4
dimitern
Please take a look.
10 years, 7 months ago (2013-09-11 17:58:28 UTC) #1
fwereade
Looking really solid, just a couple of questions. https://codereview.appspot.com/13355046/diff/3001/worker/apiuniter/context.go File worker/apiuniter/context.go (right): https://codereview.appspot.com/13355046/diff/3001/worker/apiuniter/context.go#newcode82 worker/apiuniter/context.go:82: ctx.privateAddress, ...
10 years, 7 months ago (2013-09-12 08:24:47 UTC) #2
dimitern
Please take a look. https://codereview.appspot.com/13355046/diff/3001/worker/apiuniter/context.go File worker/apiuniter/context.go (right): https://codereview.appspot.com/13355046/diff/3001/worker/apiuniter/context.go#newcode82 worker/apiuniter/context.go:82: ctx.privateAddress, _ = unit.PrivateAddress() On ...
10 years, 7 months ago (2013-09-12 13:07:59 UTC) #3
fwereade
10 years, 7 months ago (2013-09-12 14:14:51 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