~hatch/juju-gui/bundle-detail-view

Viewing all changes in revision 1093.

  • Committer: Benjamin Saller
  • Author(s): Benjamin Saller
  • Date: 2013-09-27 17:20:10 UTC
  • mfrom: (1079.1.13 destroyService-error)
  • Revision ID: bcsaller@gmail.com-20130927172010-c3681nlz3lr5742h
Remove DB.units list

This branch is a monster. Apologies in advance.

This removes the db.units list and makes the GUI only use service.get('units')
for service specific unit lists. Outside of the simulator we only ever look 
at units in the context of a service and keeping two copies of things was
silly. This works better with the databinding code and is a pattern we intend 
to move forward with (wrt to relations I expect we'll get rid of the global
list as well).

There was however a fair bit of code that touched units which lead to a number
of minor changes. Then I realized I was fixing some code in deprecated views
so I went through and did a first pass at removing dead code related to the
old views.

Also there are changes to the test server to run on a random port which should
allow safely running make check/lbox w/o getting the test server from another
branch.

R=benjamin.saller, jeff.pihach, gary.poster
CC=
https://codereview.appspot.com/13997043

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: