DescriptionRename ServiceRelation to RelatedService
Hopefully the name betrays intent a little more clearly; the type represents
a specific service in a relation from the perspective of another service in
the relation (or at least from a unit eligible to join that relation, which
may be a better description in a peer relation...). role/Role field/method
were also changed to refer to the "remote" service rather than the "local"
service.
Also added RelationRole.RelatedRole() to replace most of
RelationEndpoint.CanRelateTo and a small part of the relation
sanity-checking in topology.
https://code.launchpad.net/~fwereade/juju-core/related-service/+merge/110578
Requires: https://code.launchpad.net/~fwereade/juju-core/redundant-relation-prefixes/+merge/110504
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 2
MessagesTotal messages: 4
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||