lp:~jameinel/juju-core/api-rpc-reflect-version
Created by
John A Meinel
and last modified
- 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
Propose for merging
1 branch
dependent on this one.
On hold
for merging
into
lp:~go-bot/juju-core/trunk
- Juju Engineering: Pending requested
-
Diff: 1306 lines (+645/-135)12 files modifiedrpc/jsoncodec/codec.go (+7/-3)
rpc/reflect_test.go (+47/-19)
rpc/registry/package_test.go (+14/-0)
rpc/registry/registry.go (+71/-0)
rpc/registry/registry_test.go (+96/-0)
rpc/rpc_test.go (+266/-47)
rpc/rpcreflect/type.go (+13/-6)
rpc/rpcreflect/value.go (+44/-19)
rpc/server.go (+60/-14)
state/apiserver/root_test.go (+20/-18)
utils/registry/registry.go (+6/-8)
utils/registry/registry_test.go (+1/-1)
Branch information
Recent revisions
- 2721. By John A Meinel
-
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. - 2716. By John A Meinel
-
Create a registry.
TypedNameVersio n 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:
- lp:~go-bot/juju-core/trunk