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 <[email protected]> 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>
[email protected]
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
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/juju