Module uwsactions
source code
Manipulating UWS jobs through a REST interface.
The result documents are defined through the schema uws-1.0.xsd.
Instead of returning XML, they can also raise WebRedirect exceptions.
However, these are caught in JobResource._redirectAsNecessary and
appended to the base URL auf the TAP service, so you must only give URIs
relative to the TAP service's root URL.
This UWS system should adapt to concrete UWSes; the UWS in use is
passed into the top-level functions (doJobAction , getJobList)
|
|
|
getJobList(workerSystem,
forOwner=None,
phase=None,
last=None,
after=None) |
source code
|
|
|
|
|
getParametersElement(job)
returns a UWS.parameters element for job. |
source code
|
|
|
|
|
UWSNamespace = ' http://www.ivoa.net/xml/UWS/v1.0 '
|
|
XlinkNamespace = ' http://www.w3.org/1999/xlink '
|
|
__package__ = ' gavo.protocols '
|
doJobAction(workerSystem,
request,
segments)
| source code
|
handles the async UI of UWS.
Depending on method and segments, it will return various XML strings
and may cause certain actions.
Segments must be a tuple with at least one element, the job id.
|