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

Issue 8086045: Expose more delta information

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by gary.poster
Modified:
11 years ago
Reviewers:
mp+156406, thumper, fwereade
Visibility:
Public.

Description

Expose more delta information This exposes more unit attributes to the watchers. The only true additions in this branch are to the params.go file, and the associated test. After this change, much more (but unfortunately still not all) of the values we need will be exposed in the watcher. The branch is very large because of mechanical changes that prevent circular imports. UnitStatus, Port, and ResolvedMode needed to move into the params package, and this required a very large number of mechanical import changes. The rest of the changes in this branch, other than some test fix-ups in megawatcher_internal_test.go, are just these mechanical changes to handle the new location. https://code.launchpad.net/~gary/juju-core/more-info/+merge/156406 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4

Patch Set 2 : Expose more delta information #

Unified diffs Side-by-side diffs Delta from patch set Stats (+409 lines, -341 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/builddb/main.go View 3 chunks +4 lines, -3 lines 0 comments Download
M cmd/juju/resolved_test.go View 4 chunks +9 lines, -9 lines 0 comments Download
M cmd/juju/status.go View 2 chunks +4 lines, -3 lines 0 comments Download
M cmd/juju/status_test.go View 3 chunks +4 lines, -3 lines 0 comments Download
M cmd/jujud/unit_test.go View 2 chunks +4 lines, -3 lines 0 comments Download
M environs/dummy/environs.go View 12 chunks +13 lines, -12 lines 0 comments Download
M environs/ec2/ec2.go View 12 chunks +12 lines, -11 lines 0 comments Download
M environs/interface.go View 3 chunks +7 lines, -6 lines 0 comments Download
M environs/jujutest/livetests.go View 3 chunks +25 lines, -24 lines 0 comments Download
M environs/openstack/provider.go View 10 chunks +11 lines, -10 lines 0 comments Download
M juju/conn.go View 1 chunk +3 lines, -3 lines 0 comments Download
M juju/conn_test.go View 3 chunks +4 lines, -3 lines 0 comments Download
M state/api/params/params.go View 1 chunk +43 lines, -2 lines 0 comments Download
M state/api/params/params_test.go View 1 2 chunks +21 lines, -1 line 0 comments Download
M state/apiserver/api_test.go View 2 chunks +2 lines, -2 lines 0 comments Download
M state/machine_test.go View 5 chunks +5 lines, -4 lines 0 comments Download
M state/megawatcher_internal_test.go View 4 chunks +21 lines, -5 lines 0 comments Download
M state/service.go View 2 chunks +2 lines, -1 line 0 comments Download
M state/state_test.go View 2 chunks +5 lines, -4 lines 0 comments Download
M state/statecmd/resolved.go View 1 chunk +3 lines, -3 lines 0 comments Download
M state/statecmd/resolved_test.go View 3 chunks +4 lines, -4 lines 0 comments Download
M state/unit.go View 13 chunks +20 lines, -51 lines 0 comments Download
M state/unit_test.go View 9 chunks +49 lines, -48 lines 0 comments Download
M worker/firewaller/firewaller.go View 16 chunks +18 lines, -17 lines 0 comments Download
M worker/firewaller/firewaller_test.go View 24 chunks +35 lines, -34 lines 0 comments Download
M worker/uniter/filter.go View 7 chunks +9 lines, -8 lines 0 comments Download
M worker/uniter/filter_test.go View 5 chunks +8 lines, -7 lines 0 comments Download
M worker/uniter/modes.go View 7 chunks +8 lines, -7 lines 0 comments Download
M worker/uniter/uniter_test.go View 32 chunks +54 lines, -53 lines 0 comments Download

Messages

Total messages: 5
gary.poster
Please take a look.
11 years ago (2013-04-01 20:06:08 UTC) #1
thumper
LGTM modulo the comment below https://codereview.appspot.com/8086045/diff/1/state/api/params/params_test.go File state/api/params/params_test.go (right): https://codereview.appspot.com/8086045/diff/1/state/api/params/params_test.go#newcode55 state/api/params/params_test.go:55: Series: "series", // E.g. ...
11 years ago (2013-04-01 20:46:58 UTC) #2
fwereade
LGTM -- maybe ping me tomorrow about status and status info? https://codereview.appspot.com/8086045/diff/1/state/api/params/params.go File state/api/params/params.go (right): ...
11 years ago (2013-04-01 22:52:58 UTC) #3
gary.poster
*** Submitted: Expose more delta information This exposes more unit attributes to the watchers. The ...
11 years ago (2013-04-01 23:53:10 UTC) #4
gary.poster
11 years ago (2013-04-01 23:59:17 UTC) #5
Thank you both very much for the prompt review.

On 2013/04/01 22:52:58, fwereade wrote:
> LGTM -- maybe ping me tomorrow about status and status info?

OK, will do.

Short answer is that, if we were not under time pressure, I would have zero
concerns.  With the time pressure, and the fact that I realized last Friday that
we are also already going to need to add separate watchers for config and
constraint docs, I'm a lot more nervous about the change.  If we could postpone
the change to post 13.04 that would be fabulous.  If we can't, we'll just need
to strategize, and see how quickly Roger and we can whip up the necessary code
on the GUI/API side.
Sign in to reply to this message.

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