GitHub user ahgittin opened a pull request: https://github.com/apache/brooklyn-server/pull/878
Misc enhancements - warnings and more lookup conveniences Builds on #875 (review that first) adding just: * a `Task.warning(msg, false)` that doesn't `LOG.warning` * `mgmt.lookup(...)` methods supporting adjuncts and more predicates * removing unnecessary task finalization warnings * routine to `assertEntityHealthyEventually` You can merge this pull request into a Git repository by running: $ git pull https://github.com/ahgittin/brooklyn-server enhancements Alternatively you can review and apply these changes as the patch at: https://github.com/apache/brooklyn-server/pull/878.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 #878 ---- commit e797cbe179e0483599474a66141ed30d5f8c607a Author: Alex Heneveld <alex.henev...@cloudsoftcorp.com> Date: 2017-11-02T15:35:58Z failing test illustrating problem commit 95c5b1e78fba24e37216e99c209568a5e3cf2fec Author: Alex Heneveld <alex.henev...@cloudsoftcorp.com> Date: 2017-11-02T15:20:17Z share code for inferring execution context, and ensure EC is set in subscriptions commit a70a5535b09d474153a2e71e8db5c6528a58107c Author: Alex Heneveld <alex.henev...@cloudsoftcorp.com> Date: 2017-11-02T16:50:53Z allow Task.warning that doesn't log commit 2900156d8988a16e2c7de8847de648ceaa62cfae Author: Alex Heneveld <alex.henev...@cloudsoftcorp.com> Date: 2017-11-02T16:51:06Z support more ManagementContext.lookup including predicates, adjuncts, lookupAll commit 447cac711463f5ef1bf685759f167e88580b759e Author: Alex Heneveld <alex.henev...@cloudsoftcorp.com> Date: 2017-11-03T14:13:50Z suppress warning on task finalization if its execution context is shutdown commit 6fa3b7aa1bd21eb12fcc00b03d172f1773362263 Author: Alex Heneveld <alex.henev...@cloudsoftcorp.com> Date: 2017-11-03T14:14:15Z routine to `assertEntityHealthyEventually` ---- ---