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

Issue 13234044: Upgrade Service implementation

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by matthew.scott
Modified:
10 years, 8 months ago
Reviewers:
rharding, jeff.pihach, mp+182793
Visibility:
Public.

Description

Upgrade Service implementation Adds the ability to upgrade a service per the UX mocks. This is an incremental branch. This does not include: * Updating the inspector after clicking upgrade (fetching the service again, even after the RPC has returned, shows the old version in the service) * Paginating long lists of downgrades (diff was getting too long) * Any way of notifying pyjuju users that they can't upgrade via the UI, except an error notification (env isn't available to check when we build the inspector) https://code.launchpad.net/~makyo/juju-gui/upgrade-charm-1100904-2/+merge/182793 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 18

Patch Set 2 : Upgrade Service implementation #

Patch Set 3 : Upgrade Service implementation #

Patch Set 4 : Upgrade Service implementation #

Patch Set 5 : Upgrade Service implementation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+469 lines, -48 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M app/assets/images/inspector-charm-upgrade.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M app/config-debug.js View 1 1 chunk +1 line, -1 line 0 comments Download
M app/models/model-controller.js View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M app/store/charm.js View 1 1 chunk +1 line, -1 line 0 comments Download
M app/store/env/go.js View 1 chunk +2 lines, -1 line 0 comments Download
M app/views/environment.js View 1 chunk +2 lines, -1 line 0 comments Download
M app/views/inspector.js View 1 2 chunks +43 lines, -0 lines 0 comments Download
M app/views/viewlets/service-overview.js View 8 chunks +191 lines, -31 lines 0 comments Download
M lib/views/juju-inspector.less View 2 chunks +10 lines, -1 line 0 comments Download
M test/test_inspector_overview.js View 1 2 6 chunks +216 lines, -12 lines 0 comments Download

Messages

Total messages: 8
matthew.scott
Please take a look.
10 years, 8 months ago (2013-08-29 01:19:52 UTC) #1
jeff.pihach
This is coming together nicely! LGTM with some cleanup and a slight change wrt the ...
10 years, 8 months ago (2013-08-29 13:56:24 UTC) #2
matthew.scott
Just some replies for now, will repropose withchanges in a bit. https://codereview.appspot.com/13234044/diff/1/app/config-debug.js File app/config-debug.js (right): ...
10 years, 8 months ago (2013-08-29 14:05:12 UTC) #3
matthew.scott
Thanks for the review! https://codereview.appspot.com/13234044/diff/1/app/store/charm.js File app/store/charm.js (right): https://codereview.appspot.com/13234044/diff/1/app/store/charm.js#newcode117 app/store/charm.js:117: console.log(charmID); On 2013/08/29 13:56:24, jeff.pihach ...
10 years, 8 months ago (2013-08-29 15:13:07 UTC) #4
matthew.scott
Please take a look.
10 years, 8 months ago (2013-08-29 15:15:41 UTC) #5
rharding
LGTM with notes below. Ignore my category question stuff. The code's a bit confusing with ...
10 years, 8 months ago (2013-08-29 15:16:09 UTC) #6
matthew.scott
Thanks for the reviews https://codereview.appspot.com/13234044/diff/1/app/models/model-controller.js File app/models/model-controller.js (right): https://codereview.appspot.com/13234044/diff/1/app/models/model-controller.js#newcode164 app/models/model-controller.js:164: service.set('upgrade_to', 'cs:' + latestId); On ...
10 years, 8 months ago (2013-08-29 16:24:02 UTC) #7
matthew.scott
10 years, 8 months ago (2013-08-29 17:10:55 UTC) #8
*** Submitted:

Upgrade Service implementation

Adds the ability to upgrade a service per the UX mocks.

This is an incremental branch.  This does not include:

* Updating the inspector after clicking upgrade (fetching the service again,
even after the RPC has returned, shows the old version in the service)
* Paginating long lists of downgrades (diff was getting too long)
* Any way of notifying pyjuju users that they can't upgrade via the UI, except
an error notification (env isn't available to check when we build the inspector)

R=jeff.pihach, rharding
CC=
https://codereview.appspot.com/13234044
Sign in to reply to this message.

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