summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Made the XML-RPC test server work without database (just save a copy of XML ↵David Sommerseth2009-08-052-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | report) Also fixed XML-RPC URL path for requests, to match the production environment
* | | | bump epoch for version fix in rteval.pyClark Williams2009-08-131-1/+4
| | | |
* | | | updated version in rteval/rteval.py to match Makefile. Sigh...Clark Williams2009-08-131-1/+1
| | | | | | | | | | | | | | | | version is now 0.9
* | | | rearranged help target outputClark Williams2009-08-131-1/+1
| |_|/ |/| |
* | | updated copyright, licensing and version infoClark Williams2009-08-119-3/+171
| |/ |/|
* | bumped specfile version to 0.9Clark Williams2009-08-041-4/+10
|/ | | | dsommers mods to fix permissions and add database related files
* Report back which database reference the report got in the databaseDavid Sommerseth2009-07-301-1/+2
|
* Added missing database.py in PYTHON_FILESDavid Sommerseth2009-07-301-1/+1
|
* Fixed missing reference to moduleDavid Sommerseth2009-07-301-1/+1
|
* Added new files needed for XML-RPC serverDavid Sommerseth2009-07-301-1/+1
|
* Implemented the register_report() feature in the XMLRPC handlerDavid Sommerseth2009-07-301-3/+7
|
* Added rtevaldb.py, contains register_report() functionDavid Sommerseth2009-07-301-0/+93
| | | | | This function parses the summary.xml data with rteval data and puts it into the database
* database - added NumTuples() methodDavid Sommerseth2009-07-301-0/+17
|
* xmlparser - did not try to take value out of a listDavid Sommerseth2009-07-301-1/+1
|
* database: Added SELECT() and GetValue() methodsDavid Sommerseth2009-07-301-0/+70
|
* xmlparser: Don't include the <value/> tag when processing xmlblobsDavid Sommerseth2009-07-301-1/+1
|
* Added new column: rtevalruns.report_filename.David Sommerseth2009-07-303-17/+26
| | | | Corrected also some typos
* SQL schema: cyclic_statistics.priority is NULL as well for 'system' recordsDavid Sommerseth2009-07-301-1/+1
|
* Completed the Database classDavid Sommerseth2009-07-301-7/+29
| | | | | It now properly returns a list with results of the INSERT queries. COMMIT() and ROLLBACK() methods implemented as well.
* xmlparser: Correctly format rterid and syskey arguments, added support for ↵David Sommerseth2009-07-302-4/+14
| | | | /sqlite/@key attribute
* First cut at a Database class, almost completed INSERT() functionDavid Sommerseth2009-07-291-0/+104
|
* Improved xmlparser.py/XMLSQLparser class to handle libxml2.xmlDoc and ↵David Sommerseth2009-07-291-3/+22
| | | | | | | libxml2.xmlNode Valid input for both the XSLT and XML input parameters in the constructor now can parse libxml2.xmlDoc, libxml2.xmlNode or a string containing a filename
* Implemented Python part of XML -> SQL parserDavid Sommerseth2009-07-291-56/+65
| | | | | | | | | | | | | | | | | | | | This module will prepare a dictionary which can be used by a Database object for quering a database. class XMLSQLparser(XSLT, XMLdata) def GetSQLdata(table, rterid=None, syskey=None) The XSLT is a filename to a xmlparser.xsl file, which defines the mapping of XML fields into SQL tables and fields. The XMLdata parameter is a filename to the XML data being processed. Future version will support both filename and xmlDoc. The XMLSQLparser::GetSQLdata(...) function will parse the XML data into a Python dictionary containing all needed field names, values and table name which is useable by a Database object. The table parameter is required, and a matching table name must be defined in the XSLT template. The rterid and syskey paramters are optional, but some table definitions might need them. For more info, look into the xmlparser.xsl file
* Fixed some syntax issues with parsing the rtevalruns_details tableDavid Sommerseth2009-07-281-7/+9
|
* Added XML parsing rules for systems and systems_hostname tablesDavid Sommerseth2009-07-281-0/+51
|
* Cleaned up the XSLT, being consistent in naming tablesDavid Sommerseth2009-07-281-7/+20
|
* Reworked the SQL statement creation from XMLDavid Sommerseth2009-07-281-37/+122
| | | | | This will need to be done in Python, for value escaping. The XSLT now builds up a generic XML base which a generic XML-SQL parser can process
* Added more information to the database schema which we needDavid Sommerseth2009-07-241-6/+24
|
* Began implementing XML parser for rteval reportsDavid Sommerseth2009-07-242-0/+193
|
* Corrected XML-RPC path to work with the new mod_python based serverDavid Sommerseth2009-07-231-4/+1
|
* Added simple install.sh for the rteval XML-RPC serverDavid Sommerseth2009-07-231-0/+14
|
* Merge commit 'clark/master' into xmlrpcDavid Sommerseth2009-07-234-9/+60
|\ | | | | | | | | | | | | | | | | | | Conflicts: rteval.spec - disagreements about version number rteval/rteval.py - confusion that xmlrpc branch added -X and clark/master added -Z. Both were valid.
| * bumped specfile version to 0.8Clark Williams2009-07-221-1/+1
| |
| * added help target to MakefileClark Williams2009-07-221-1/+12
| |
| * added lines to display clocksource infoClark Williams2009-07-221-0/+2
| |
| * bumped version to 0.8Clark Williams2009-07-221-6/+44
| | | | | | | | | | | | added code to capture clocksource info added code to summarize existing XML summary file added code to capture dmesg
* | Added SQL schemas for storing rteval runsDavid Sommerseth2009-07-231-0/+99
| |
* | Reworked the XML-RPC server part to work with mod_pythonDavid Sommerseth2009-07-237-19/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The apache-htaccess is the needed .htaccess file for the Apache web server. It should be located in the directory where also rteval_xmlrpc.py and xmlrpc_API1.py should reside. This directory must be available from a HTTP request. Please make sure that this directory are allowed to use .htaccess files by the Apache config. In addition, the rtevald.py was adjusted to work as a local test server, to avoid to configure a Apache + mod_python locally Also added some copyright information into the touched files as well
* | Set minimum required python-dmidecode versionDavid Sommerseth2009-07-161-3/+7
| | | | | | | | | | rteval now uses the native XML API in python-dmidecode which was introduced in version 3.10
* | Implemented XML-RPC client in rtevalDavid Sommerseth2009-07-152-4/+21
| |
* | Added new method GetXMLdocument()David Sommerseth2009-07-151-2/+8
| | | | | | | | | | | | This method returns a libxml2.xmlDoc object, for further manual processing. Fixed in addition an error, trying to access self.xmldoc before it was initialised.
* | Cleaned up and fixed some issuesDavid Sommerseth2009-07-153-33/+49
| | | | | | | | | | | | | | Could not run the same XML-RPC function twice if it involved decompression of the data on the server side. Also implemented saving of report files for the SendReport() function, as a starter. This function should parse the file and insert the data into a database
* | Fixed a lot of things, began implemting a kind of an API ... still work in ↵David Sommerseth2009-06-234-11/+106
| | | | | | | | progress
* | Added proof-of-concept XML-RPC server and test clientDavid Sommerseth2009-06-226-0/+236
| |
* | Include DMIversion tag in the HardwareInfo tag for the reportDavid Sommerseth2009-06-181-0/+1
| |
* | Return libxml2.xmlNode pointers, for more advanced usageDavid Sommerseth2009-06-181-2/+4
| |
* | Parse the cyclictest.dat data and embedd the result in the summary.xml fileDavid Sommerseth2009-06-182-20/+51
| | | | | | | | Also do not save the cyclictest.dat file as default.
* | Added more info useful when debuggingDavid Sommerseth2009-06-171-2/+2
| |
* | Reworked the DMI data resultsDavid Sommerseth2009-06-164-10/+195
| | | | | | | | Plus, fixed some permission issues with files in the /usr/share/rteval-* dir
* | Fixed dmi.py to use the new python-dmidecodes XML APIDavid Sommerseth2009-06-111-104/+7
| |