Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Made the XML-RPC test server work without database (just save a copy of XML ↵ | David Sommerseth | 2009-08-05 | 2 | -5/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | report) Also fixed XML-RPC URL path for requests, to match the production environment | |||||
* | | | | bump epoch for version fix in rteval.py | Clark Williams | 2009-08-13 | 1 | -1/+4 | |
| | | | | ||||||
* | | | | updated version in rteval/rteval.py to match Makefile. Sigh... | Clark Williams | 2009-08-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | version is now 0.9 | |||||
* | | | | rearranged help target output | Clark Williams | 2009-08-13 | 1 | -1/+1 | |
| |_|/ |/| | | ||||||
* | | | updated copyright, licensing and version info | Clark Williams | 2009-08-11 | 9 | -3/+171 | |
| |/ |/| | ||||||
* | | bumped specfile version to 0.9 | Clark Williams | 2009-08-04 | 1 | -4/+10 | |
|/ | | | | dsommers mods to fix permissions and add database related files | |||||
* | Report back which database reference the report got in the database | David Sommerseth | 2009-07-30 | 1 | -1/+2 | |
| | ||||||
* | Added missing database.py in PYTHON_FILES | David Sommerseth | 2009-07-30 | 1 | -1/+1 | |
| | ||||||
* | Fixed missing reference to module | David Sommerseth | 2009-07-30 | 1 | -1/+1 | |
| | ||||||
* | Added new files needed for XML-RPC server | David Sommerseth | 2009-07-30 | 1 | -1/+1 | |
| | ||||||
* | Implemented the register_report() feature in the XMLRPC handler | David Sommerseth | 2009-07-30 | 1 | -3/+7 | |
| | ||||||
* | Added rtevaldb.py, contains register_report() function | David Sommerseth | 2009-07-30 | 1 | -0/+93 | |
| | | | | | This function parses the summary.xml data with rteval data and puts it into the database | |||||
* | database - added NumTuples() method | David Sommerseth | 2009-07-30 | 1 | -0/+17 | |
| | ||||||
* | xmlparser - did not try to take value out of a list | David Sommerseth | 2009-07-30 | 1 | -1/+1 | |
| | ||||||
* | database: Added SELECT() and GetValue() methods | David Sommerseth | 2009-07-30 | 1 | -0/+70 | |
| | ||||||
* | xmlparser: Don't include the <value/> tag when processing xmlblobs | David Sommerseth | 2009-07-30 | 1 | -1/+1 | |
| | ||||||
* | Added new column: rtevalruns.report_filename. | David Sommerseth | 2009-07-30 | 3 | -17/+26 | |
| | | | | Corrected also some typos | |||||
* | SQL schema: cyclic_statistics.priority is NULL as well for 'system' records | David Sommerseth | 2009-07-30 | 1 | -1/+1 | |
| | ||||||
* | Completed the Database class | David Sommerseth | 2009-07-30 | 1 | -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 Sommerseth | 2009-07-30 | 2 | -4/+14 | |
| | | | | /sqlite/@key attribute | |||||
* | First cut at a Database class, almost completed INSERT() function | David Sommerseth | 2009-07-29 | 1 | -0/+104 | |
| | ||||||
* | Improved xmlparser.py/XMLSQLparser class to handle libxml2.xmlDoc and ↵ | David Sommerseth | 2009-07-29 | 1 | -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 parser | David Sommerseth | 2009-07-29 | 1 | -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 table | David Sommerseth | 2009-07-28 | 1 | -7/+9 | |
| | ||||||
* | Added XML parsing rules for systems and systems_hostname tables | David Sommerseth | 2009-07-28 | 1 | -0/+51 | |
| | ||||||
* | Cleaned up the XSLT, being consistent in naming tables | David Sommerseth | 2009-07-28 | 1 | -7/+20 | |
| | ||||||
* | Reworked the SQL statement creation from XML | David Sommerseth | 2009-07-28 | 1 | -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 need | David Sommerseth | 2009-07-24 | 1 | -6/+24 | |
| | ||||||
* | Began implementing XML parser for rteval reports | David Sommerseth | 2009-07-24 | 2 | -0/+193 | |
| | ||||||
* | Corrected XML-RPC path to work with the new mod_python based server | David Sommerseth | 2009-07-23 | 1 | -4/+1 | |
| | ||||||
* | Added simple install.sh for the rteval XML-RPC server | David Sommerseth | 2009-07-23 | 1 | -0/+14 | |
| | ||||||
* | Merge commit 'clark/master' into xmlrpc | David Sommerseth | 2009-07-23 | 4 | -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.8 | Clark Williams | 2009-07-22 | 1 | -1/+1 | |
| | | ||||||
| * | added help target to Makefile | Clark Williams | 2009-07-22 | 1 | -1/+12 | |
| | | ||||||
| * | added lines to display clocksource info | Clark Williams | 2009-07-22 | 1 | -0/+2 | |
| | | ||||||
| * | bumped version to 0.8 | Clark Williams | 2009-07-22 | 1 | -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 runs | David Sommerseth | 2009-07-23 | 1 | -0/+99 | |
| | | ||||||
* | | Reworked the XML-RPC server part to work with mod_python | David Sommerseth | 2009-07-23 | 7 | -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 version | David Sommerseth | 2009-07-16 | 1 | -3/+7 | |
| | | | | | | | | | | rteval now uses the native XML API in python-dmidecode which was introduced in version 3.10 | |||||
* | | Implemented XML-RPC client in rteval | David Sommerseth | 2009-07-15 | 2 | -4/+21 | |
| | | ||||||
* | | Added new method GetXMLdocument() | David Sommerseth | 2009-07-15 | 1 | -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 issues | David Sommerseth | 2009-07-15 | 3 | -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 Sommerseth | 2009-06-23 | 4 | -11/+106 | |
| | | | | | | | | progress | |||||
* | | Added proof-of-concept XML-RPC server and test client | David Sommerseth | 2009-06-22 | 6 | -0/+236 | |
| | | ||||||
* | | Include DMIversion tag in the HardwareInfo tag for the report | David Sommerseth | 2009-06-18 | 1 | -0/+1 | |
| | | ||||||
* | | Return libxml2.xmlNode pointers, for more advanced usage | David Sommerseth | 2009-06-18 | 1 | -2/+4 | |
| | | ||||||
* | | Parse the cyclictest.dat data and embedd the result in the summary.xml file | David Sommerseth | 2009-06-18 | 2 | -20/+51 | |
| | | | | | | | | Also do not save the cyclictest.dat file as default. | |||||
* | | Added more info useful when debugging | David Sommerseth | 2009-06-17 | 1 | -2/+2 | |
| | | ||||||
* | | Reworked the DMI data results | David Sommerseth | 2009-06-16 | 4 | -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 API | David Sommerseth | 2009-06-11 | 1 | -104/+7 | |
| | |