lp:~dave-cheney/pyjuju/go-state-add-environment

Created by Dave Cheney and last modified
Get this branch:
bzr branch lp:~dave-cheney/pyjuju/go-state-add-environment
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:
pyjuju
Status:
Merged

Recent revisions

191. By Dave Cheney on 2012-05-31

state: add state.Environment

190. By Frank Mueller on 2012-05-30

Added methods for relation endpoints to topology.

Relation endpoints needed two methods for testing and
key retrieving in topology.

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

189. By Dave Cheney on 2012-05-30

state: add machine.{Set,}InstanceId

Allow the state to set and retrieve the value of "provider-machine-id"
stored in the /machines/machine-XXX node. The PA needs this initially to
store the instance id returned from environ.StartInstance.

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

188. By Roger Peppe on 2012-05-29

environs: read series from /etc/lsb-release

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

187. By William Reade on 2012-05-29

add charm-store-backed charm.Repo

note that a fair chunk of the diff involves moving InfoResponse from store
into charm (to defeat import loops) and Quote from state into charm (because
it appears to be entirely charm-specific at the moment; I was tempted to tack
it directly onto charm.URL, but didn't, because I recall it was originally
intended to have an independent existence...)

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

186. By Dave Cheney on 2012-05-28

environ: add SetConfig

Discussion:

This proposal adds the ability for Environs to update their configuration.
This facility replaces the previously proposed proxy Environ and provides
more explicit control over when an Environs configuration is updated.

After much discussion on IRC it is important to highlight that the values
returned from Environ.{Public,}Storage are immutable with respect to any
configuration change via Environ.SetConfig. To use the updated Environ
configuration, callers must obtain a new reference to Storages.

Additionally, in the dummy provider, the zookeeper value is still parsed
as a configuration item but is not used. It wasn't used before either, so
I've removed it from dummy.environConfig.

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

185. By William Reade on 2012-05-28

disable journaling to speed up tests

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

184. By Roger Peppe on 2012-05-28

environs/ec2: use Go client on server.

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

183. By Roger Peppe on 2012-05-28

state: fix watcher semantics and tests.

The watchers are now all documented as returning the
initial state as the first event on the channel,
(a change actually made a little while ago)
and the tests now reflect this.

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

182. By Dave Cheney on 2012-05-27

state: fix typo in state.WatchEnvironConfig

... and the corresponding test. facepalm

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

Branch metadata

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

Subscribers