Thrift module: task_model

ModuleServicesData typesConstants
task_model DataStageType
DataStagingTaskModel
EnvironmentSetupTaskModel
JobSubmissionTaskModel
MonitorTaskModel
TaskModel
TaskTypes

Enumerations

Enumeration: TaskTypes

TaskTypes: An enumerated list of TaskTypes. Task being generic, the task type will provide the concrete interpretation.

ENV_SETUP0
DATA_STAGING1
JOB_SUBMISSION2
ENV_CLEANUP3
MONITORING4
OUTPUT_FETCHING5

Enumeration: DataStageType

DataStagingTaskModel: A structure holding the data staging task details. Source and Destination locations includes standard representation of protocol, host, port and path A friendly description of the task, usally used to communicate information to users.

INPUT0
OUPUT1

Data structures

Struct: TaskModel

KeyFieldTypeDescriptionRequirednessDefault value
1taskIdstringrequired"DO_NOT_SET_AT_CLIENTS"
2taskTypeTaskTypesrequired
3parentProcessIdstringrequired
4creationTimei64required
5lastUpdateTimei64required
6taskStatusstatus_models.TaskStatusrequired
7taskDetailstringoptional
8subTaskModelbinaryoptional
9taskErrorairavata_commons.ErrorModeloptional
10jobslist<job_model.JobModel>optional

TaskModel: A structure holding the generic task details. taskDetail: A friendly description of the task, usally used to communicate information to users. subTaskModel: A generic byte object for the Task developer to store internal serialized data into registry catalogs.

Struct: DataStagingTaskModel

KeyFieldTypeDescriptionRequirednessDefault value
1sourcestringrequired
2destinationstringrequired
3typeDataStageTyperequired
4transferStartTimei64optional
5transferEndTimei64optional
6transferRatestringoptional
7processInputapplication_io_models.InputDataObjectTypeoptional
8processOutputapplication_io_models.OutputDataObjectTypeoptional

Struct: EnvironmentSetupTaskModel

KeyFieldTypeDescriptionRequirednessDefault value
1locationstringrequired
2protocoldata_movement_models.SecurityProtocolrequired

EnvironmentSetupTaskModel: A structure holding the environment creation task details

Struct: JobSubmissionTaskModel

KeyFieldTypeDescriptionRequirednessDefault value
1jobSubmissionProtocolcompute_resource_model.JobSubmissionProtocolrequired
2monitorModecompute_resource_model.MonitorModerequired
3wallTimei32optional

Struct: MonitorTaskModel

KeyFieldTypeDescriptionRequirednessDefault value
1monitorModecompute_resource_model.MonitorModerequired