GitHub user Graeme-Miller opened a pull request:
https://github.com/apache/brooklyn-server/pull/813
Added highlights to policy endpoint
Policies now return highlights from the REST API. Highlights are a map of
ids -> (description, time, task id). They are used to expose more information
about a policy, for example the last action or the triggers for a policy.
I have also updated the rebind code such that policies can have there
highlights re-bound.
In the future highlights will be extended to all adjuncts.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Graeme-Miller/brooklyn-server
add_highlight_policy
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/813.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #813
----
commit 962b777052907b80b93c39dee09dfd976cc87ea9
Author: graeme.miller <[email protected]>
Date: 2017-09-07T12:14:42Z
added highlights to policy endpoint
----
---