lp:~jameinel/juju-core/describe-api-versions

Created by John A Meinel on 2014-04-30 and last modified on 2014-05-14
Get this branch:
bzr branch lp:~jameinel/juju-core/describe-api-versions
Only John A Meinel can upload to this branch. If you are John A Meinel please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
John A Meinel
Project:
juju-core
Status:
Development

Recent revisions

2710. By John A Meinel on 2014-05-14

Turn newNotifyWatcher into a Facade function and register it.

2709. By John A Meinel on 2014-05-14

use the RegisterStandardFacade for machine

2708. By John A Meinel on 2014-05-14

use the new RegisterStandardFacade in KeyManager.

2707. By John A Meinel on 2014-05-14

implement RegisterStandardFacade as a way to not have to write all the boilerplate func()

The boilerplate func() stuff just existed in order to proxy one argument
from an exact type into being a pure interface{}.
We can create those functions on the fly using reflect, and it saves
rewriting a lot of code.
The specific code is a bit longer and uglier because of reflect, but
it works, and it is also thoroughly checked.

2706. By John A Meinel on 2014-05-14

wrapped is now able to do the right thing

2705. By John A Meinel on 2014-05-14

turns out reflect.ValueOf doesn't play nicely with nil arguments.

If you pass in something that is 'nil', you get the ZeroValue. But reflect.Value(&foo).Elem()
always has a concrete type and can give you a concrete value of nil.

2704. By John A Meinel on 2014-05-14

at least we can now run the test suite again.
stuff is still broken, but *progress* :)
Start working on having helpers to make registering types dirt simple.
And some helper functions to validate that stuff.

2703. By John A Meinel on 2014-05-14

Merge in rpc-versions which slightly changes how we'll work.

2702. By John A Meinel on 2014-05-12

Try out the MethodCaller interface.

The test suite doesn't actually pass when you use MethodCaller,
because Watchers are a different API Facade, so while it can create
the Watch, it fails to actually use it.

2701. By John A Meinel on 2014-05-12

start using the registry for a few of the Facades.

This allows all of the facade helpers to use common code inside
of srvRoot, though eventually we'll probably get rid of all of that
in favor of a new MethodCaller interface.

Branch metadata

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

Subscribers