[Juju] Multiple sub service with a relation
Samuel Cozannet
samuel.cozannet at canonical.com
Wed Aug 19 14:05:17 UTC 2015
Hi All!
Our friends at Engineering are working on the SpagoBI charm set and it's
going very well.
They are facing an issue that I could not answer, and I guess some of you
will have ideas about it.
SpagoBI is (as the name suggests) a BI suite. It connects to many data
sources, and provides tools to analyse them, aggregate results and display
them nicely.
That means that when SpagoBI relates to a data source such as MongoDB,
there is a "sub relation" to the actual dataset within the data source. For
example, it would be mongodb-user-document-set and
mongodb-actions-document-set.
In the current design of relations, this doesn't seem to fit.
My answer has been to propose to work with actions. If SpagoBI connects to
MongoDB "globally", then something like
juju action do spagobi/0 connect-dataset datasource="mongodb" dataset="user"
would be parsable, testable, and would work. It has the drawback of not
being "visible" from a Juju perspective as the actions will show up in the
logs, but not in the GUI or through the API.
Are there other options? What would be the best practice in this case?
Many thanks in advance!
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/20150819/723e36ea/attachment.html>
More information about the Juju
mailing list