Myself and @timClicks were discussing various aspects of Juju on the IRC channel tonight and I had a bit of a thought/question about relations that I’d like to run past people who know better than me…
90% of all the few relations I’ve ever written involve taking an interface on side a and passing it to b and an interface on side b and passing it to a.
So, I could define that in YAML, for example a JDBC interface:
App end would be:
and database side would be:
fields: username password database ip_address
Instead of relation styling that changes all the time and does crazy things most of which the majority of us don’t know (see here) why can’t we have a simple
charm interface build
that takes our metadata YAML code and builds it out into something that knows how to pass the data from a to b? Which is 90% of the time, all we developers want it to do.