walib.istsos.services.logs package

Submodules

walib.istsos.services.logs.logs module

class walib.istsos.services.logs.logs.waLogs(waEnviron)

Bases: walib.resource.waResourceService

executeDelete()
Method for executing a DELETE requests that remove a exception

(...)/istsos/wa/istsos/<service name>/logs_id

executeGet()

Method for executing a GET requests

Request:
(...)/istsos/wa/istsos/services/<service name>/logs/?message=TypeError
&element=T_TREVANO &stime=2013-01-01T00:08:00.000000%2B0100 &etime=2013-01-01T00:11:00.000000%2B0100 &process=acquisition

The response is: {

[
{
“process”: “acquisition”, “element”: “T_TREVANO”, “datetime”: “2013-01-01T00:10:00.000000+0100”, “message”: “TypeError”, “details”: “Error parsing line 200”, “status”: “pending”

}, {

“process”: ”...”, “element”: ”...”, “datetime”: ”...”, “message”: ”...”, “details”: ”...”, “status”: “verified”

}

]

}

executePost()
Method for executing a POST requests that insert a new exception
{
“process”: “acquisition”, “element”: “T_TREVANO”, “datetime”: “2013-01-01T00:10:00.000000+0100”, “message”: “TypeError”, “details”: “Error parsing line 200”

}

executePut()

Method for executing a PUT requests that update the status of a exception Update a exception status

{
“id” : 1, “newstatus” : “verified”

}

search_with_params(servicedb)

Module contents