Descriptionstate/api/upgrader: Implement client side
This fixes some of the server side code, where Upgrader wasn't actually exposed
in the API, and a workaround for a JSON marshalling bug (not handling embedded
objects).
It implements Upgrader.SetTools and Upgrader.Tools in the client. The only
bit left to expose is the WatchAPIVersion code, which is going to be a bit
trickier.
I wanted to start getting feedback on this early, so here it is. I think this
can be landed without the rest of Upgrader API (though the rest needs to land
before we can switch the Worker over).
https://code.launchpad.net/~jameinel/juju-core/upgrader-api-client/+merge/172812
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 7
Patch Set 2 : state/api/upgrader: Implement client side #
MessagesTotal messages: 7
|