Juju API change - new ModelConfig facade
Mark Shuttleworth
mark at ubuntu.com
Wed Jul 27 05:30:27 UTC 2016
Thanks Ian, nice to see the change articulated clearly in advance with
guidance as to how to accommodate it.
Mark
On 25/07/16 07:57, Ian Booth wrote:
> In juju master, and landing with the next beta, 3 methods are moved off the
> Client facade and now exist on a new ModelConfig facade:
>
> - ModelGet
> - ModelSet
> - ModelUnset
>
> The semantics of the calls is identical - only the facade has changed.
> So if previously callers did this:
>
> FacadeCall("Client", 1, "ModelGet", args)
>
> they would now do this:
>
> FacadeCall("ModelConfig", 1, "ModelGet", args)
>
> For compatibility, shims are retained on the Client facade so that existing
> callers will still function. But we'll be removing these methods off the Client
> facade prior to 2.0 release candidate.
>
> Now this change has occurred, ModelConfig facade will gain new methods to
> support the upcoming inherited config functionality.
>
More information about the Juju-dev
mailing list