brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [3/3] brooklyn-server git commit: Closes #386
Date Mon, 31 Oct 2016 11:11:09 GMT
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 <svetoslav.neykov@cloudsoftcorp.com>
Authored: Mon Oct 31 13:10:38 2016 +0200
Committer: Svetoslav Neykov <svetoslav.neykov@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(-)
----------------------------------------------------------------------



Mime
View raw message