-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix alarm conformance tests #559
Fix alarm conformance tests #559
Conversation
The conformance tests are performance an alarm query with a filter set to: (eq,alarmAcknowledged,false) therefore, we need to support boolean fields in the filter search evaluator. Signed-off-by: Allain Legacy <[email protected]>
The interface spec uses "ID" instead of "Id" as the suffix on several alarm event record attributes. Aligning them now to pass the conformance tests. Signed-off-by: Allain Legacy <[email protected]>
/label tide/merge-method-rebase |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pixelsoccupied The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
case bool: | ||
arg := arg.(bool) | ||
result = value == arg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wonder if there's a cleaner way to handle maybe with another library? feels like we have to keep doing this we find new types (last time you had to tackle float) 🫤
Fix capitalization of alarm event attributes
The interface spec uses "ID" instead of "Id" as the suffix on several
alarm event record attributes. Aligning them now to pass the
conformance tests.
Fix filter comparison of boolean fields
The conformance tests are performance an alarm query with a filter set
to: (eq,alarmAcknowledged,false) therefore, we need to support boolean
fields in the filter search evaluator.