#
2b31c988 |
| 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
Change-Id: Ic8409eb3e05a90c64d1601429e8e5208dde01df9 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
3c5318d8 |
| 19-Feb-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add ElogWithMetaDataCapture class
This callback class will create an error log with exactly 1 metadata field, which takes a string. This metadata field will be filled in with the property paths, na
Add ElogWithMetaDataCapture class
This callback class will create an error log with exactly 1 metadata field, which takes a string. This metadata field will be filled in with the property paths, names, and values of the properties that passed the condition checks that caused the callback to be called in the first place.
Tested: Ran with YAML rules that used this callback and checked that everything worked as specified.
Change-Id: Ib37206c63385939c583a09e7ba979d6e016691f6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
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 to false at leas
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 ...
|
#
7af95886 |
| 01-Nov-2017 |
Matt Spinler <spinler@us.ibm.com> |
Add resolve callouts test to YAML
Change-Id: I9f21e6378f74bf9dd7d413557a80b47ec9c9f829 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
#
937df1a9 |
| 15-Aug-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Add more elog tests
Add tests to callbackgroupgentest/test.yaml
Change-Id: I0b9d4799dd3ed3a4876115594aacbd80caa3f9d0 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
#
2c11e456 |
| 14-Aug-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Add tests for elog
Change-Id: I58a6ac714cfa80462ab53d4487dc727e40038b06 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
#
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: Ic75842b4016f4d96bf5850f9c4ad778d82e075ed Signed-off-by:
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 ...
|