[Juju] Multiple sub service with a relation
Samuel Cozannet
samuel.cozannet at canonical.com
Thu Aug 20 09:06:29 UTC 2015
Thanks John!
Allow me to rephrase as I am not sure I am following. Are saying we could
have a declarative format in the configuration of the charm that would
apply to relations created like:
"datasources" : [
{ "name": "mysql",
"datasets": [ "ds1", "ds2", ... ],
},
{ "name": "mongodb",
"datasets": [ "ds3", "ds4", ... ],
},
...
]
and then config-changed hook would replay the creation of relations for any
new datasets?
@Alberto, Ana: if my understanding is correct, this would be a way to
expose the configuration of the datasets / schemas from the charm config.
Some code to generate to manage errors (absence of dataset, absence of
relation to datasource, wrong datasource definition...) but it seems closer
to Juju's philosophy than using actions.
++
Sam
On Thu, Aug 20, 2015 at 1:30 AM, John Meinel <john at arbash-meinel.com> wrote:
> Would this just be config on the charm that would eventually become config
> on the relation?
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20150820/d4cbb24e/attachment.html>
More information about the Juju
mailing list