[Juju] Proxy Charm examples
Cory Johns
cory.johns at canonical.com
Thu Aug 20 18:45:43 UTC 2015
Sam, Ana, and Alberto,
We tend not to have good examples of a proxy charm because they are much
more limited than full charms and they also tend to be specific to
particular use-cases. Thus, they are often one-off charms that don't end
up in the store.
If you're referring to https://jujucharms.com/u/adamgreig/vzzual/, then
yes, that could be considered a type of proxy charm. I would note that it
has an issue with not propagating changes to the API key to the related
services. It also doesn't include the connection info (hostname, etc)
that would presumably be needed to connect.
To provide an example that addresses those issues, I created a proxy charm
for MySQL: https://jujucharms.com/u/johnsca/mysql-external-proxy/ (if that
has not ingested into the charm store by the time you look at this, the
code is available in Launchpad:
http://bazaar.launchpad.net/~johnsca/charms/trusty/mysql-external-proxy/trunk/files
).
Even as a proxy charm, this could be improved (it could use actions to
enable per-service configuration, for example), but it should give you the
basic idea.
On Wed, Aug 19, 2015 at 10:19 AM, Samuel Cozannet <
samuel.cozannet at canonical.com> wrote:
> Hi!
>
> Still working with SpagoBI, Alberto and Ana are looking for examples of
> proxy charms, or best practices to expose external services.
>
> I think vzzualmobileapi is one of these, but are there documented best
> practices about them somewhere and/or example? I couldn't help on that one.
>
> Many thanks!
>
> Best,
> Samuel
>
> --
> Samuel Cozannet
> Cloud, Big Data and IoT Strategy Team
> Business Development - Cloud and ISV Ecosystem
> Changing the Future of Cloud
> Ubuntu <http://ubuntu.com> / Canonical UK LTD <http://canonical.com> /
> Juju <https://jujucharms.com>
> samuel.cozannet at canonical.com
> mob: +33 616 702 389
> skype: samnco
> Twitter: @SaMnCo_23
> [image: View Samuel Cozannet's profile on LinkedIn]
> <https://es.linkedin.com/in/scozannet>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20150820/c42f21e5/attachment.html>
More information about the Juju
mailing list