Juju Actions - Use Cases
John Weldon
johnweldon4 at gmail.com
Wed Sep 10 17:40:48 UTC 2014
On Wed, Sep 10, 2014 at 9:21 AM, Jeff Pihach <jeff.pihach at canonical.com>
wrote:
> The interesting part of these interactions vs the ones I've seen mentioned
> is that they are client side actions. They would open a new tab or the
> browser to display the page in question vs simply executing some backend
> script.
This does sound interesting - some way of coordinating activity on the
client of the API and on the Unit while it's performing the Action.
ISTM that features like this, for example OAuth token exchange, have
historically required multi-phase steps, where the client initiates a
request, the server responds with instructions to complete a third party
step, the client performs the step and then submits another request with
the resulting token, and maybe some other token to tie the second request
to the first one?
I'd love some ideas on how to best integrate this into an API for actions.
Thanks!
--
John Weldon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20140910/bcce1f6b/attachment-0001.html>
More information about the Juju-dev
mailing list