lp:~themue/pyjuju/go-state-auth

Created by Frank Mueller on 2012-03-22 and last modified on 2012-03-22
Get this branch:
bzr branch lp:~themue/pyjuju/go-state-auth
Only Frank Mueller can upload to this branch. If you are Frank Mueller please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Frank Mueller
Project:
pyjuju
Status:
Development

Recent revisions

101. By Frank Mueller on 2012-03-22

Added go port off auth.py.

100. By Roger Peppe on 2012-03-21

environs/ec2: use local images data for local tests

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

99. By Frank Mueller on 2012-03-21

Implement agent interface and helper.

First draft of how to let state entities with a common agent interface
implement this with a helper type. The Python implementation
uses a mixin, which is not supported by Go. This draft uses the helper
to let an entity easily implement the agent interface. Type embedding
as an alternative solution would hamper the dynamic access to the
ZooKeeper agent path.

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

98. By William Reade on 2012-03-20

remove hook package; hooks are not really important at this stage

The new cmd/jujuc/server package contains (so far) the Context type; it
defines the server-side state with which proxied tool invocations can
interact. It is also responsible for running hooks, but that's because it
is the source of truth for much of the hook's desired environment; I'm not
*sure* RunHook will always be attached to Context, but I think that's
something to decide once we have a client.

Context shares some features with the existing hook context classes in
Python, but should not be confused with them. A Context holds all the data
that is needed to execute any jujuc tool [0], plus an Id which is not yet
used directly. It is not concerned with those variables that are purely
related to the actual execution of the hook (ie socketPath and charmDir);
therefore, those are passed separately to RunHook.

[0] Not strictly true, yet; we'll add data when we handle relation contexts,but that's all in the future for now :).

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

97. By Frank Mueller on 2012-03-20

Adding of WaitAlive() to presence package.

WaitAlive() allows to wait until a node is created by a
pinger or timeout occurs.

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

96. By Roger Peppe on 2012-03-19

environs/ec2: hook juju logging up to gocheck test logging.

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

95. By Roger Peppe on 2012-03-19

state: wait for initialization before returning from Open.

Also remove Initialize from the set of State methods.

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

94. By Roger Peppe on 2012-03-16

testing: add ZkRemoveTree function.

It's useful for cleaning zk state between tests and it was in danger of
having three separate implementations.

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

93. By Roger Peppe on 2012-03-16

presence, state: fix zookeeper error checks for new zookeeper error type.

R=fwereade
CC=
https://codereview.appspot.com/5845045

92. By Andrews Medina on 2012-03-15

environs/local: initial lxc commands wrapper

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

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