Client Facades

Ian Booth ian.booth at canonical.com
Tue Sep 16 22:36:06 UTC 2014


> Has there been any discussion or have any decisions made about Client API
> Facades in Juju?
>

Yes.


> It seems all of the Client API is exposed on one Client facade, and we'll
> just be adding more to it in rolling out Actions.
> 

Not all, but most, see below.

> I'd like to consider a new client facade just for Actions.
> 

It was recognised a while ago that having one great big client facade is not the
best approach, especially now we have API versioning, so we've started
introducing smaller, functionality focused facades as the need arises. We have
already facades for:

- HighAvailability
- UserManager
- KeyManager

A separate facade just for Actions would be most desirable.




More information about the Juju-dev mailing list