lp:~gary/juju-gui/ghostDeploy

Created by Gary Poster and last modified
Get this branch:
bzr branch lp:~gary/juju-gui/ghostDeploy
Only Gary Poster can upload to this branch. If you are Gary Poster please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Gary Poster
Project:
juju-gui
Status:
Merged

Recent revisions

1050. By Gary Poster

add some comments

1049. By Gary Poster

add some comments

1048. By Gary Poster

sketch

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

R=
CC=
https://codereview.appspot.com/13571046

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

1044. By Gary Poster

Add message if no relations exist

R=
CC=
https://codereview.appspot.com/13253054

1043. By Gary Poster

Trivial spelling fix

R=
CC=
https://codereview.appspot.com/13250048

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 string

QA:

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
This branch contains Public information 
Everyone can see this information.

Subscribers