summaryrefslogtreecommitdiffstats
path: root/server/parser/configparser.c
Commit message (Collapse)AuthorAgeFilesLines
* Changed the parsing defaults for summary reportsDavid Sommerseth2012-12-201-1/+1
| | | | | | | | | | - Don't parse the cyclic_rawdata table any more. The last rteval release to use that table was v1.4. - Parse the hwlatedetect data by default. This is a new feature of rteval v2.0, so lets add this parsing by default. Signed-off-by: David Sommerseth <davids@redhat.com>
* server/parser: Make the parsing of measurement data more flexibleDavid Sommerseth2012-11-081-0/+1
| | | | | | | | | | | | | | | | | | | 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>
* Added new config parameter: max_report_sizeDavid Sommerseth2009-11-101-0/+1
| | | | | | | | | | | | To avoid potential DoS attacks by sending big XML files, the max_report_size rejects reports which is bigger than this value. The default value is 2MB if this value is not configured. A new status code was introduced, STAT_FTOOBIG (12). The submissionqueue record will be updated with this value on records which fails this check. In addition minor SIGSEGV failure was fixed when rteval_parserd shutsdown before worker threads have really started.
* Fixed doxygen errorsDavid Sommerseth2009-10-221-1/+2
|
* Implemented argument parsingDavid Sommerseth2009-10-221-5/+11
|
* Improved overall logging informationDavid Sommerseth2009-10-221-2/+3
|
* First cut at implementing a generic loggerDavid Sommerseth2009-10-211-11/+13
|
* Added logic to move parsed files into a specified report directory.David Sommerseth2009-10-201-0/+1
| | | | | This directory is set in the 'xmlrpc_parser' section, with 'reportdir'. If this is not set, it defaults to /var/lib/rteval/reports.
* Big rewrite, but now a working rteval_parserd process is readyDavid Sommerseth2009-10-191-1/+1
| | | | | Need to add daemonizing mode, add proper logging and fix all FIXME's in the code
* Added needed pieces to make the C based summary.xml parser workDavid Sommerseth2009-10-071-0/+171