Description of change
These are the server-side API changes needed to support application settings for relations in the uniter. * Adds Uniter.WatchRelationApplicationSettings * Extends ReadSettings and ReadRemoteSettings to accept an application tag as well as a unit tag. ReadSettings can only read application settings if the requesting unit is the leader. * UpdateSettings now optionally accepts ApplicationSettings alongside unit settings. A unit can only update application settings if it's the leader.
Doesn't bump the Uniter facade version - all of these changes should be backwards compatible, and we don't need to be as conservative with version bumps for agent facades.
Part of the implementation of Application relation data bag
QA steps
- Unit tests only, needs uniter changes for any behaviour difference to be visible.
Documentation changes
None
Bug reference
None
该提问来源于开源项目:juju/juju