Descriptionstate/api{,server}: more info from FullStatus API
Machines and units now have a StatusData map in the FullStatus API
response which holds extra status information that a client may choose
to use when displaying status. This was already being created but
wasn't through the client API.
The FullStatus response now also includes a map of relation id to
relation data (currently just the relation key). This can be used to
present a user friendly relation name to users (e.g. the StatusData
dict contains the relation id when a relation hook fails)
These new bits of data will be used to display the relation name in
the "juju status" output when a relation hook fails.
The client API test scenario has been extended to include a case of a
unit with an error with extra status data included.
https://code.launchpad.net/~menno.smits/juju-core/1194481-relation_name_in_status.0/+merge/219973
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 1
Patch Set 2 : state/api{,server}: more info from FullStatus API #
Total comments: 11
MessagesTotal messages: 8
|