#
c458deea |
| 19-Feb-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add oneshot support to count conditions When a count condition is a oneshot, it will only trigger the callback the first time the condition is true. The condition needs to evaluate
Add oneshot support to count conditions When a count condition is a oneshot, it will only trigger the callback the first time the condition is true. The condition needs to evaluate to false at least once to rearm the callback. A use case for this would be when a group of properties is being watched for a subset of them hit a certain value. Even though every properties changed signal for every property in the group would check the condition, only the first time the condition is true would the callback be issued. This behavior is specified with a 'oneshot: true' entry in the YAML. If not present, it defaults to false which is the original behavior. Tested: Verify this does indeed do what is advertised by modifying condition rules to consistently pass and checking behavior. Change-Id: Ie185621e86c605234bf329a5f38317267dbb6fb6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
ec2ed2fb |
| 31-May-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Fix bool and string templates/rendering Fix a number of bugs related to rendering and instantiation of string and bool templates. Change-Id: Ic75842b4016f4d96bf5850f9c4ad778d82e
Fix bool and string templates/rendering Fix a number of bugs related to rendering and instantiation of string and bool templates. Change-Id: Ic75842b4016f4d96bf5850f9c4ad778d82e075ed Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
4041d720 |
| 21-May-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add conditional callbacks Enable conditional application of callbacks. Change-Id: I9d765e5f585aac40994b65da3b51ea891beae9bf Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.c
Add conditional callbacks Enable conditional application of callbacks. Change-Id: I9d765e5f585aac40994b65da3b51ea891beae9bf Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|