lp:~dave-cheney/juju-core/075-cmd-juju-status-relations

Created by Dave Cheney and last modified
Get this branch:
bzr branch lp:~dave-cheney/juju-core/075-cmd-juju-status-relations
Only Dave Cheney can upload to this branch. If you are Dave Cheney please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dave Cheney
Project:
juju-core
Status:
Development

Recent revisions

851. By Dave Cheney

wip

850. By Dave Cheney

wip

849. By Ian Booth

Run tests against service doubles

This branch adds support run running the Openstack tests against service doubles instead of a live instance.
We want the tests against the service doubles to always run, and the tests against a live instance to run if specified using -live.

Tests which do not pass yet (some code is still WIP), are skipped.

R=dimitern, rog, gz
CC=
https://codereview.appspot.com/7133043

848. By Roger Peppe

cmd/jujud: move test methods

They're now closer to the type definition.
Code move only, no other changes.

R=niemeyer, TheMue
CC=
https://codereview.appspot.com/7175043

847. By Roger Peppe

environs/agent: use *StateInfo and *APIInfo

Since either or both might be set in the future,
we add an EntityName field to APIInfo too,
and use whichever is set, requiring them to match
if both are specified.

R=niemeyer
CC=
https://codereview.appspot.com/7124062

846. By Roger Peppe

environs/agent: add server cert and key

R=TheMue, niemeyer
CC=
https://codereview.appspot.com/7128047

845. By Roger Peppe

environs/agent: add APIInfo fields

This will enable the machine agent to
connect to the API server.

R=niemeyer, fwereade
CC=
https://codereview.appspot.com/7085062

844. By Roger Peppe

state: add JobServeAPI

Also add MachineJob.String method which
fixes an erroneous log.Printf in jujud.

R=niemeyer
CC=
https://codereview.appspot.com/7128055

843. By Ian Booth

Add putFakeTools to openstack tests

Now that the Storage interface is implemented for the openstack provider, we can start using it.
This simple branch adds the putFakeTools functionality similar to what is done in the ec2 tests.
In addition, to save the tests from having to cast PublicStorage to Storage in order to upload tools, a writable
public storage instance is created for the tests to use.

R=rog, fwereade, dimitern
CC=
https://codereview.appspot.com/7086055

842. By William Reade

state: service API changes

Removed:

  * Service.EnsureDying
  * Service.EnsureDead
  * State.RemoveService

Added:

  * Service.Destroy

Service.Destroy will remove the service and all its relations, if possible;
any that cannot be will be set to Dying. Service removal is now handled via
Service.RemoveUnit (which should become Unit.Remove, but this CL is big
enough already) and RelationUnit.LeaveScope, each of which will remove any
Dying service to which they hold the last reference.

In addition to the motivating lp:1089285 (service API), this inevitably
addresses lp:1089284 (service removal on LeaveScope) and lp:1100070 (unit
removal failure).

Reviewers unfamiliar with the details of the existing operations are likely
to be best served by reading doc/draft/death-and-destruction.txt, and to
compare the implementation against the model described therein, rather than
to worry *too* much about the previous implementation.

R=dfc, rog, niemeyer
CC=
https://codereview.appspot.com/7095059

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~juju/juju-core/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers