~rogpeppe/juju-core/256-more-status

Viewing all changes in revision 980.

  • Committer: Francesco Banconi
  • Date: 2013-03-08 21:36:52 UTC
  • mfrom: (956.7.22 annapi)
  • Revision ID: francesco.banconi@canonical.com-20130308213652-27h2uyu25olayaj7
Annotations API functionality

Annotations are now exposed through the API via 'GetAnnotations' and 
'SetAnnotation'.  These allow a user to set an annotation on an Entity (service,
'unit', 'machine', with environment coming in a future branch), and retrieve
all annotations on an entity.  Tests were added around the added functionality.
Note that now the service is an Entity, as suggested by Roger.

R=dimitern, rog
CC=
https://codereview.appspot.com/7526043

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: