weaver.wps_restapi.jobs.jobs

Module Contents

weaver.wps_restapi.jobs.jobs.LOGGER[source]
weaver.wps_restapi.jobs.jobs.get_job(request: Request) → Job[source]

Obtain a job from request parameters.

Returns

Job information if found.

Raises

HTTPNotFound – with JSON body details on missing/non-matching job, process, provider IDs.

weaver.wps_restapi.jobs.jobs.validate_service_process(request: Request) → Tuple[Union[None, AnyStr], Union[None, AnyStr]][source]

Verifies that service or process specified by path or query will raise the appropriate error if applicable.

weaver.wps_restapi.jobs.jobs.get_queried_jobs(request)[source]

Retrieve the list of jobs which can be filtered, sorted, paged and categorized using query parameters.

weaver.wps_restapi.jobs.jobs.get_job_status(request)[source]

Retrieve the status of a job.

weaver.wps_restapi.jobs.jobs.cancel_job(request)[source]

Dismiss a job.

Note: Will only stop tracking this particular process (WPS 1.0 doesn’t allow to stop a process)

weaver.wps_restapi.jobs.jobs.get_results(job: Job, container: AnySettingsContainer) → JSON[source]

Obtains the results with extended full WPS output URL as applicable and according to configuration settings.

weaver.wps_restapi.jobs.jobs.get_job_results(request)[source]

Retrieve the results of a job.

weaver.wps_restapi.jobs.jobs.get_job_exceptions(request)[source]

Retrieve the exceptions of a job.

weaver.wps_restapi.jobs.jobs.get_job_logs(request)[source]

Retrieve the logs of a job.

weaver.wps_restapi.jobs.jobs.get_job_output(request)[source]