geonode.resource.api.tasks

Attributes

logger

Functions

_get_param_value(_param, _input_value)

resouce_service_dispatcher(self, execution_id)

Performs a Resource Service request asynchronously.

Module Contents

geonode.resource.api.tasks.logger[source]
geonode.resource.api.tasks._get_param_value(_param, _input_value)[source]
geonode.resource.api.tasks.resouce_service_dispatcher(self, execution_id: str)[source]

Performs a Resource Service request asynchronously.

This is the main Resource Service API dispatcher. The method looks for avaialable ExecutionRequests with status READY and triggers the func_name method of the resource_manager with the input_params. It finally updates the status of the request.

A client is able to query the status_url endpoint in order to get the current status other than the output_params.