You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by sv...@apache.org on 2016/10/31 11:11:09 UTC

[3/3] brooklyn-server git commit: Closes #386

Closes #386

Add AbstractInvokeEffectorPolicy

Supports tracking the number of effector tasks that are ongoing and publishing that as an "is busy" sensor on the entity the policy is attached to. Tracking is enabled by providing a value for `isBusySensor` when configuring the policy.


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/f4ebc282
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/f4ebc282
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/f4ebc282

Branch: refs/heads/master
Commit: f4ebc2822f5e359ac48357830ff690fa6f603812
Parents: 23be8b2 a413ced
Author: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Authored: Mon Oct 31 13:10:38 2016 +0200
Committer: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Committed: Mon Oct 31 13:10:38 2016 +0200

----------------------------------------------------------------------
 .../policy/AbstractInvokeEffectorPolicy.java    | 145 +++++++++++++++++++
 .../InvokeEffectorOnCollectionSensorChange.java |  14 +-
 .../policy/InvokeEffectorOnSensorChange.java    |  54 +++++--
 .../AbstractInvokeEffectorPolicyTest.java       | 105 ++++++++++++++
 ...okeEffectorOnCollectionSensorChangeTest.java |  25 +++-
 ...keEffectorOnSensorChangeIntegrationTest.java |  87 +++++++++++
 .../JcloudsLocationSecurityGroupCustomizer.java |   4 +-
 7 files changed, 417 insertions(+), 17 deletions(-)
----------------------------------------------------------------------