On Wed, Nov 6, 2013 at 1:49 PM, roger peppe <[email protected]> wrote:
> FWIW I'm strongly in favour of *not* sending charms through
> the RPC interface - it is likely not incur a significant performance
> hit over a high latency connection. I don't *think* that implementing
> a PUT handler on the API server should be too much of a problem.
>
I'd like to see a slightly more detailed plan here, but I'm not against
that in principle.
It seems wrong to me too. I suggest we send the format directly
> over the wire in JSON format (we can use the struct type already
> defined in StatusCommand.Run, with component types suitable
> exported). The only problem we have sending JSON across the wire
> is when we send interface{} values, and that struct does not contain
> any of those, so I think it should Just Work.
>
D'oh. Forgot we had the structs all ready to go. SGTM.
--
Juju-dev mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/juju-dev