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
Missing implementation of message.get_all_records_where
method
#5169
Comments
For most classes, these functions are auto-generated. However, messages are implemented differently, as they are not stored in the usual xapi DB, but directly in the file system as XML files (due to the volume). So this one may be missing, but it should be possible to implement it. See |
Oh okay, so maybe I got it wrong: I thought the But it seems you are telling me it's used to filter on the XML content of the message ie the
My concern is not filtering the body but the |
No, the body may or may not contain XML, it depends on the message. But the messages themselves, including the name etc, are stored as XML files. Look in
So you could implement a filter on |
Okay so what would the next recommended step:
|
Make the existing function actually use the expression/filter. |
Okay we might get back to you with some questions on the "right way" to implement that. Thank you! |
Hello there,
We are working on various GUIs where it's imperative for us to retrieve a summary of all ALARM messages. Given the vast number of messages in our system (e.g., 10,000 messages in our test lab, of which only 30 are alarms), it's inefficient to fetch all messages and then filter out the ALARM type.
Upon reviewing the documentation, I found the
get_all_records_where method
. This appears to be exactly what we need. However, it seems either not implemented or non-functional.Can you confirm if this is expected behavior? If so, would it be possible to implement it?
The text was updated successfully, but these errors were encountered: