GitHub user ahgittin opened a pull request:
https://github.com/apache/brooklyn-server/pull/818
More on adjunct highlights
Applies #813 to a policy (`ServiceRestarter`) to see how it works. As
reported there it works good, REST and persistence acting as expected.
The API for policy authors was a little awkward, and there were some PR
review comments in #813. This addresses both of these.
I will be adding highlight info to more policies and adjuncts. If this is
reviewed in time I'll do it in a different branch, else I'll add them here for
simplicity.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ahgittin/brooklyn-server highlights-adjuncts
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/818.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 #818
----
commit 1a8df4275d61ddd69e6bc05b057c081dd4dcad34
Author: Alex Heneveld <[email protected]>
Date: 2017-09-13T08:07:44Z
use highlights in `ServiceRestarter`
commit 5ae9c41c1dc8d2884598a2375581d2c4dc14ce14
Author: Alex Heneveld <[email protected]>
Date: 2017-09-13T08:24:09Z
expand API for policy java authors, and address PR comments incl javadoc
see ServiceRestarter for example of how the API can be used by authors now
----
---