Merge lp:~hatch/charms/trusty/juju-gui/add-uuid-configjs into lp:~juju-gui/charms/trusty/juju-gui/trunk
Proposed by
Jeff Pihach
on 2015-02-05
| Status: | Merged |
|---|---|
| Approved by: | Jeff Pihach on 2015-02-09 |
| Approved revision: | 233 |
| Merged at revision: | 231 |
| Proposed branch: | lp:~hatch/charms/trusty/juju-gui/add-uuid-configjs |
| Merge into: | lp:~juju-gui/charms/trusty/juju-gui/trunk |
| Diff against target: |
94 lines (+19/-5) 6 files modified
Makefile (+1/-1) config/config.js.template (+2/-1) hooks/backend.py (+2/-1) hooks/utils.py (+2/-1) tests/test_backends.py (+2/-1) tests/test_utils.py (+10/-0) |
| To merge this branch: | bzr merge lp:~hatch/charms/trusty/juju-gui/add-uuid-configjs |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Madison Scott-Clary | Approve on 2015-02-09 | ||
| Francesco Banconi | 2015-02-05 | Approve on 2015-02-06 | |
|
Review via email:
|
|||
Description of the Change
Supply the config.js file with the value from the JUJU_ENV_UUID value in supported versions of Juju.
To QA:
Deploy this charm and check that the config.js file sent to the gui has a key juju_env_uuid with a populated uuid value.
To post a comment you must log in.
lp:~hatch/charms/trusty/juju-gui/add-uuid-configjs
updated
on 2015-02-09
- 233. By Jeff Pihach on 2015-02-09
-
Added additional test for the write_gui_config method around the uuid support
| Jeff Pihach (hatch) wrote : | # |
Thanks for the reviews!

This branch looks good Jeff, thank you! py:TestStartImp rovAgentGui, gui_config_ with_version_ from_jujud, but exercising the juju_env_uuid value.
I have some minor comments, and I'd add a test for write_gui_config in test_utils.
similar to test_write_
QA ok.