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

Issue 13852043: Deploy charms without config options

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by bcsaller
Modified:
10 years, 7 months ago
Reviewers:
frankban, jeff.pihach, mp+187122
Visibility:
Public.

Description

Deploy charms without config options QA showed that charms that didn't include options would trigger a number of minor errors progressing down code paths that expected options. This adds a test with the puppermaster charm and show successful deployment. https://code.launchpad.net/~bcsaller/juju-gui/deployer-sans-options/+merge/187122 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 9

Patch Set 2 : Deploy charms without config options #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -8 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/models/charm.js View 1 2 chunks +9 lines, -2 lines 0 comments Download
M app/store/env/fakebackend.js View 3 chunks +6 lines, -3 lines 0 comments Download
M app/views/ghost-inspector.js View 1 chunk +0 lines, -1 line 0 comments Download
A test/data/puppetmaster-api-response.json View 1 chunk +139 lines, -0 lines 0 comments Download
M test/test_fakebackend.js View 1 1 chunk +16 lines, -0 lines 0 comments Download
M test/utils.js View 3 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 5
bcsaller
Please take a look.
10 years, 7 months ago (2013-09-24 00:07:00 UTC) #1
frankban
LGTM with minor suggestions. Thank you Ben! https://codereview.appspot.com/13852043/diff/1/app/models/charm.js File app/models/charm.js (right): https://codereview.appspot.com/13852043/diff/1/app/models/charm.js#newcode78 app/models/charm.js:78: if (!val ...
10 years, 7 months ago (2013-09-24 08:07:37 UTC) #2
jeff.pihach
LGTM with trivial comment https://codereview.appspot.com/13852043/diff/1/app/models/charm.js File app/models/charm.js (right): https://codereview.appspot.com/13852043/diff/1/app/models/charm.js#newcode761 app/models/charm.js:761: var files = this.get('files') || ...
10 years, 7 months ago (2013-09-24 14:53:25 UTC) #3
benjamin.saller
Thanks for the reviews https://codereview.appspot.com/13852043/diff/1/app/models/charm.js File app/models/charm.js (right): https://codereview.appspot.com/13852043/diff/1/app/models/charm.js#newcode761 app/models/charm.js:761: var files = this.get('files') || ...
10 years, 7 months ago (2013-09-24 15:19:50 UTC) #4
bcsaller
10 years, 7 months ago (2013-09-24 15:26:47 UTC) #5
*** Submitted:

Deploy charms without config options

QA showed that charms that didn't include options would trigger a number
of minor errors progressing down code paths that expected options. This
adds a test with the puppermaster charm and show successful deployment.

R=frankban, jeff.pihach, benjamin.saller
CC=
https://codereview.appspot.com/13852043
Sign in to reply to this message.

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