Created by John A Meinel on 2014-05-14 and last modified on 2014-05-22
Get this branch:
bzr branch lp:~jameinel/juju-core/api-rpc-reflect-version
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

John A Meinel

Recent revisions

2726. By John A Meinel on 2014-05-22

apply feedback from Dimiter's review.

2724. By John A Meinel on 2014-05-16

merge typed-registry, bringing it trunk and switch to github.com/juju/errors

2723. By John A Meinel on 2014-05-16

add some fullstops for comments in another branch

2722. By John A Meinel on 2014-05-16

address review comments.

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

merge in rpc-version.

This gives us all of the functionality for passing Version in the RPC,
and changes the MethodCaller signature so that it can take the version
and the objId.

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

Merge trunk r2730

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

go fmt.

2718. By John A Meinel on 2014-05-11

export the type so that other places can have a reference to it.

2717. By John A Meinel on 2014-05-11

check that the type can be converted exactly to the version we want

2716. By John A Meinel on 2014-05-11

Create a registry.TypedNameVersion type.

This is meant as a generic Registry implementation, though the Typed
code allows you to ensure that the types of things registered exactly
match what you want.
We use ConvertibleTo and do the Convert internally, which allows you
to specify a named type for your interface, but pass in things
without having to actually cast them ahead of time.

Needs a bit more refinement, but should allow us an easy way to
have a generic Registry while still preserving the Types that we
care about.

Branch metadata

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