<div dir="ltr">There are a slew of opportunities for Actions to step in here, and I've got a few use cases listed below:<div><br></div><div><ul><li>HDFS file system operations in Big-Data scenarios</li><li>dump/warm cache on proxy services like Varnish</li><li>Ingest data-sources with any database (ex: load twitter hash-tag data into ElasticSearch)</li><li>Rebuild indexes in MongoDB</li><li>Trigger deployment from source-control on framework based charms (Rails, NodeJS, CakePHP) </li><ul><li>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</li></ul><li>Generating passwords post deployment for admin accounts instead of dumping a random pass in the logs or to /var/myservice/itsasecret.pwd</li><li>executing framework actions (eg: rake db:seed on rails)</li><li>Deploying additional demo assets in existing charms (see the demo.sh in the elasticsearch bundle)</li></ul></div><div><br></div><div><br></div><div>These are just a few to kick this conversation into gear as other's come into it and start brain bending around where their charm could benefit from an action.</div><div><br></div><div>all the best,</div><div><br></div><div>Charles</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 10, 2014 at 12:23 AM, Tim Penhey <span dir="ltr"><<a href="mailto:tim.penhey@canonical.com" target="_blank">tim.penhey@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 10/09/14 06:59, John Weldon wrote:<br>
> Hi;<br>
><br>
> We're looking for use cases for Juju Actions, mostly to make sure we<br>
> expose the right API.<br>
><br>
> I'm hoping for a few different use cases from the Juju Web UI folks, but<br>
> I'd appreciate input from anyone wanting to use Juju Actions in their<br>
> charms too.<br>
><br>
> I've started a document with some example use cases to prime the pump:<br>
> please contribute to this document and don't feel constrained to the<br>
> style or layout I adopted for the examples.<br>
><br>
><br>
> If you have any interest or investment in using or publishing Actions<br>
> for Juju please review and contribute!<br>
><br>
> Google Docs Link<br>
</div></div>> <<a href="https://docs.google.com/document/d/1uYffkkGA1njQ1oego_h8BYBMrlGpmN_lwsnrOZFxE9Q/edit?usp=sharing" target="_blank">https://docs.google.com/document/d/1uYffkkGA1njQ1oego_h8BYBMrlGpmN_lwsnrOZFxE9Q/edit?usp=sharing</a>><br>
<br>
I'd love to see explicit backup/restore actions for the postgresql charm.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tim<br>
<br>
<br>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</font></span></blockquote></div><br></div>