DescriptionThis proposal pulls together a number of changes, backed by use cases
from bug reports, for modifying Juju's current relation support as
follows:
* Enable working with relation ids. This includes adding a new
environment variable `$JUJU_RELATION_ID` for relation hooks.
* Enable `relation-get`, `relation-set`, `relation-list` to work in
any hook on arbitrary relations, as specified by a relation name or
unambiguously by relation id.
* Add a new relation hook command, `relation-info`, for listing the
relation ids associated with a service.
* Fix a bug in `juju status` status for the scenario that a service
has multiple established relations to consuming clients, each using
the same relation name from the provider's perspective. This fix
does introduce a backwards breaking change.
https://code.launchpad.net/~jimbaker/juju/enhanced-relation-spec/+merge/95268
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 22
Patch Set 2 : Modified support for working with relations #MessagesTotal messages: 5
|