summaryrefslogtreecommitdiffstats
path: root/server/xmlrpc_API1.py
Commit message (Collapse)AuthorAgeFilesLines
* If the dirpath is an absolute path, go to the root dir before continuing.David Sommerseth2011-02-041-0/+2
| | | | | This bug was triggered when using the mod_wsgi platform, where you are not placed in the root directory by default.
* Implemented simple XML-RPC call to check the database statusDavid Sommerseth2010-08-271-0/+4
| | | | | | This can be used to check if the XML-RPC service have access to the database Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Added Hello() method to XML-RPC serverDavid Sommerseth2010-04-091-1/+7
| | | | | | | | | Enhanced rteval with trying to access the Hello() method. If the server responds (even if Hello() is not available), rteval will continue to run. If the server is not accessible, rteval will abort. In a future version, rteval should expect a proper response to the XML-RPC Hello() call.
* Remove not needed XML-RPC functionDavid Sommerseth2010-04-091-19/+0
|
* Add XML-RPC submissions into a submission queue instead of parsing it directlyDavid Sommerseth2009-09-301-9/+9
| | | | | | This is to avoid overloading the Apache process doing XML parsing and database inserts on bigger XML reports. A separate parser process will need to pick files from the submission queue and parse them in separate thread(s).
* Fixed missing variable. The value should be picked out from the configurationDavid Sommerseth2009-09-251-2/+2
|
* Rewritten XML-RPC server to use rtevalConfigDavid Sommerseth2009-09-241-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Introduced a new rteval.conf section for configuring the xmlrpc server. [xmlrpc_server] datadir: <path to where to save copy of summary.xml report> xsltpath: <path to where xmlparser.xsl can be found> db_server: <hostname of PostgreSQL server to connect to> db_port: <port number of PostgreSQL> database: <database to use> db_username: <connect to database as this user> db_password: <password for the db account> The default values of these parameters are: datadir: /var/lib/rteval xsltpath: /usr/share/rteval db_server: localhost db_port: 5432 database: rteval db_username: xmlrpc db_password: rtevaldb The xmlrpc_server section in the /etc/rteval.conf file only need those parameters which are different from the default values.
* Set correct path for XML-RPC API1 server data dirDavid Sommerseth2009-08-251-1/+1
|
* Fixed wrong rterid ID return from xmlrpc_API1::SendReport() functionDavid Sommerseth2009-08-051-1/+1
| | | | It had inverse boolean logic than what was expected
* Improved possibility to get more debug info, and to run tests without ↵David Sommerseth2009-08-051-3/+7
| | | | executing SQL queries
* Made the XML-RPC test server work without database (just save a copy of XML ↵David Sommerseth2009-08-051-3/+6
| | | | | | report) Also fixed XML-RPC URL path for requests, to match the production environment
* Fixed missing reference to moduleDavid Sommerseth2009-07-301-1/+1
|
* Implemented the register_report() feature in the XMLRPC handlerDavid Sommerseth2009-07-301-3/+7
|
* Reworked the XML-RPC server part to work with mod_pythonDavid Sommerseth2009-07-231-7/+37
| | | | | | | | | | | | | | | 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
* Cleaned up and fixed some issuesDavid Sommerseth2009-07-151-21/+20
| | | | | | | 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-231-4/+73
| | | | progress
* Added proof-of-concept XML-RPC server and test clientDavid Sommerseth2009-06-221-0/+13