ska_src_api_global_execution.service.execution_service

A class submit and get the status of a Execution.

Module Contents

Classes

ExecutionService

A class to submit and get the status of a execution.

class ska_src_api_global_execution.service.execution_service.ExecutionService(execution_repository, batch_job_executor, interactive_job_executor, background_task_manager)

A class to submit and get the status of a execution.

logger
async __get_cached_execution_model(execution_id, user_name)

Retrieve a cached task by its execution ID.

__get_user_name_from_token(token)

Extract the user name from the token.

__update_repository_if_state_changed(previous_state, execution_model)

Update the execution data in the repository if the job state has changed.

async fetch(execution_id, token, cached=False)

Retrieve a task by its execution ID.

async submit(workstep_model, token)

Submit a execution to be executed using the provision.