lp:~gary/juju-gui/ghostDeploy
- Get this branch:
- bzr branch lp:~gary/juju-gui/ghostDeploy
Branch merges
- Juju GUI Hackers: Pending requested
-
Diff: 167 lines (+42/-15)6 files modifiedapp/store/env/sandbox.js (+11/-3)
app/templates/service-constraints-viewlet.handlebars (+1/-1)
app/templates/service-relations-viewlet.handlebars (+1/-0)
app/views/ghost-inspector.js (+5/-0)
app/views/topology/service.js (+20/-5)
app/views/viewlets/inspector-header.js (+4/-6)
Branch information
Recent revisions
- 1047. By Jeff Pihach
-
Remove ghost CSS duplication
Much of the CSS required for the inspector layout was duplicated for the ghost
inspector, even though the presentation is the same.The result of this branch should be that the ghost inspector looks exactly the
same, but now with less code and less duplication and fragmentation for future
updates.(Jeff - Landing for Huw with small fix)
Original: https://codereview. appspot. com/13715044 - 1046. By Richard Harding
-
Add Go support for removing units from services.
- This was missed during the transition to the go backend
- Add the Go handler method to removing a unit.
- Add a test and a note that the equiv. python test is located in another
file.R=gary.poster
CC=
https://codereview. appspot. com/13349047 - 1045. By Benji York
-
Factor out charmworld API helpers and rename
These changes are part of the move to adding v3 of the charmworld API.
R=bac, rharding
CC=
https://codereview. appspot. com/13592047 - 1042. By Gary Poster
-
Hook up cancel buttons in the inspector
This branch simply hooks up the cancel buttons, which thanks to groundwork from Ben that I worked on in previous branches, is a one liner for each button.
R=benjamin.saller
CC=
https://codereview. appspot. com/13677044 - 1041. By Richard Harding
-
Updated how unitName is sent to resolve/retry
The inspector was create an array[array] and thus passing the resovled()
method an array as a unitName. The go back end expects a string and it
refused to resolve/retry anything.- Update the inspector method to make sure it grabs a single string
- Update the tests for the inspector to look for a single string
- Add a quick assertion in the go backend to fuss if it doesn't get a stringQA:
Note: MySQL always fails for me in my local lxc go environment
- Bootstrap a go environment in lxc, deploy mysql into it. I setup 3 units.
- Wait for the units to go into error state.
- Pick one of the units, resolve the unit.
- After a bit it should go to running and you can destroy it properly.
- Note that you can also watch the WS traffic in chrome dev tools and verify
that your request/response was successful.Example broken communication:
{"RequestId"
:31,"Error" :"json: cannot unmarshal array into Go value of type string" ,"Response" :{}}
{"Type":"Client" ,"Request" :"Resolved" ,"Params" :{"UnitName" :["mysql/ 0"],"Retry" :false} ,"RequestId" :32} R=benji
CC=
https://codereview. appspot. com/13706043
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:juju-gui/experimental