| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The parsing of measurement data was hard coded to be very cyclictest
centric. With this patch, the code paths used by cyclictest parsing
is made more generic and which measurement data to parse is now
declared in the configuration file.
The default measurement data tables are set to be cyclic_statistics,
cyclic_histogram and cyclic_rawdata. These tables can be overridden
by setting the measurement_tables config variable in the
xmlrpc_parser section.
With this change, it is now possible to extend the rteval summary.xml
measurement parsing without modifying the C code at all. Only the
database schema and the xmlparser.xsl files needs to be updated, and
then add this new table to configuration file.
Signed-off-by: David Sommerseth <davids@redhat.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When a database connection is established, the rteval_info table is queried
for a key/value pair named 'sql_schema_ver' and parsed. This attribute defines
which version the rteval database schema is in use.
When processing XML documents with <sqldata/>, a checks is done to make sure
there are no attempts on inserting data to an incompatible rteval database schema.
If the rteval_info table or the sql_schema_ver value is not found, it will default
to version 1.0 (the parsed int value will be 100)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This introduces async waiting for report parsing. Commit
2584a3c36c97c757dc80108b898eede52b91dc44 introduced sending
a NOTIFY whenever an INSERT is done into the submissionqueue table.
With the db_wait_notification() the process_submission_queue() function
will sleep until a a notification is received.
The LISTEN, UNLISTEN and NOTIFY SQL commands are PostgreSQL dependent.
Other database implementations may use what that database supports, or
just simply do a sleep() to change the behaviour to a polling model.
|
| |
|
|
|
| |
This new field references submissionqueue.submid, to keep a link
between parsed rtevalruns and the original submission.
|
| |
|
|
|
| |
This directory is set in the 'xmlrpc_parser' section, with 'reportdir'.
If this is not set, it defaults to /var/lib/rteval/reports.
|
| |
|
|
|
| |
Need to add daemonizing mode, add proper logging and fix all FIXME's
in the code
|
| | |
|
| | |
|
| | |
|
| |
|