weixin_39634132 2020-11-29 13:32
浏览 0

application data bag: API changes

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

  • 写回答

7条回答 默认 最新

  • weixin_39634132 2020-11-29 13:32
    关注

    !!build!!

    评论

报告相同问题?