Re: Juju Actions - Use Cases

2014-09-10 Thread Charles Butler
There are a slew of opportunities for Actions to step in here, and I've got a few use cases listed below: - HDFS file system operations in Big-Data scenarios - dump/warm cache on proxy services like Varnish - Ingest data-sources with any database (ex: load twitter hash-tag data into

Re: Juju Actions - Use Cases

2014-09-10 Thread Stuart Bishop
On 10 September 2014 11:23, Tim Penhey tim.pen...@canonical.com wrote: On 10/09/14 06:59, John Weldon wrote: We're looking for use cases for Juju Actions, mostly to make sure we expose the right API. I'm hoping for a few different use cases from the Juju Web UI folks, but I'd appreciate

Re: Juju Actions - Use Cases

2014-09-10 Thread Richard Harding
On Tue, 09 Sep 2014, John Weldon wrote: Hi; We're looking for use cases for Juju Actions, mostly to make sure we expose the right API. I'm hoping for a few different use cases from the Juju Web UI folks, but I'd appreciate input from anyone wanting to use Juju Actions in their charms too.

Re: Juju Actions - Use Cases

2014-09-10 Thread Aaron Bentley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14-09-10 02:56 AM, Charles Butler wrote: o as an interesting aside, we are kind of brute forcing this with config... which it really appears that an action would be better suited to this task for things like, say, CI We would never use

Re: Juju Actions - Use Cases

2014-09-10 Thread Stuart Bishop
On 10 September 2014 19:49, Richard Harding rick.hard...@canonical.com wrote: I think most of the use cases presented so far line up with ours. One I want to call out as interesting and I hadn't thought about is killing a long running action in progress. The example of a database backup. I

Re: Juju Actions - Use Cases

2014-09-10 Thread Richard Harding
On Wed, 10 Sep 2014, Stuart Bishop wrote: On 10 September 2014 19:49, Richard Harding rick.hard...@canonical.com wrote: I think most of the use cases presented so far line up with ours. One I want to call out as interesting and I hadn't thought about is killing a long running action in

Re: Juju Actions - Use Cases

2014-09-10 Thread Charles Butler
There's nothing that says the hook cannot call config to make it reproduce-able - but it also doesn't necessarily have to be forced through config either - these were pointed out as seed ideas i've heard and germinated in terms of uses for actions. But point acknowledge that it wouldn't work for

Re: Juju Actions - Use Cases

2014-09-10 Thread John Weldon
On Wed, Sep 10, 2014 at 9:21 AM, Jeff Pihach jeff.pih...@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

Re: Juju Actions - Use Cases

2014-09-10 Thread Aaron Bentley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14-09-10 01:29 PM, Charles Butler wrote: There's nothing that says the hook cannot call config to make it reproduce-able But if it's a config variable, then config-changed needs to be able to handle changes to it. If config-changed can handle

Re: Juju Actions - Use Cases

2014-09-10 Thread John Weldon
On Tue, Sep 9, 2014 at 11:59 AM, John Weldon johnweld...@gmail.com wrote: If you have any interest or investment in using or publishing Actions for Juju please review and contribute! I'm very thankful for all the discussion so far. I'll try to capture all of the suggestions here in the

Re: Juju Actions - Use Cases

2014-09-10 Thread Michael Nelson
On Thu, Sep 11, 2014 at 3:41 AM, Aaron Bentley aaron.bent...@canonical.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14-09-10 01:29 PM, Charles Butler wrote: There's nothing that says the hook cannot call config to make it reproduce-able But if it's a config variable, then

Juju Actions - Use Cases

2014-09-09 Thread John Weldon
Hi; We're looking for use cases for Juju Actions, mostly to make sure we expose the right API. I'm hoping for a few different use cases from the Juju Web UI folks, but I'd appreciate input from anyone wanting to use Juju Actions in their charms too. I've started a document with some example use

Re: Juju Actions - Use Cases

2014-09-09 Thread Tim Penhey
On 10/09/14 06:59, John Weldon wrote: Hi; We're looking for use cases for Juju Actions, mostly to make sure we expose the right API. I'm hoping for a few different use cases from the Juju Web UI folks, but I'd appreciate input from anyone wanting to use Juju Actions in their charms too.