Module | Services | Data types | Constants |
---|---|---|---|
task_model | DataStageType DataStagingTaskModel EnvironmentSetupTaskModel JobSubmissionTaskModel MonitorTaskModel TaskModel TaskTypes |
TaskTypes: An enumerated list of TaskTypes. Task being generic, the task type will provide the concrete interpretation.
ENV_SETUP | 0 | |
DATA_STAGING | 1 | |
JOB_SUBMISSION | 2 | |
ENV_CLEANUP | 3 | |
MONITORING | 4 | |
OUTPUT_FETCHING | 5 |
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.
INPUT | 0 | |
OUPUT | 1 | |
ARCHIVE_OUTPUT | 2 |
Key | Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|---|
1 | taskId | string | required | "DO_NOT_SET_AT_CLIENTS" | |
2 | taskType | TaskTypes | required | ||
3 | parentProcessId | string | required | ||
4 | creationTime | i64 | required | ||
5 | lastUpdateTime | i64 | required | ||
6 | taskStatuses | list< | required | ||
7 | taskDetail | string | optional | ||
8 | subTaskModel | binary | optional | ||
9 | taskErrors | list< | optional | ||
10 | jobs | list< | optional | ||
11 | maxRetry | i32 | optional | ||
12 | currentRetry | i32 | 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.
Key | Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|---|
1 | source | string | required | ||
2 | destination | string | required | ||
3 | type | DataStageType | required | ||
4 | transferStartTime | i64 | optional | ||
5 | transferEndTime | i64 | optional | ||
6 | transferRate | string | optional | ||
7 | processInput | application_io_models.InputDataObjectType | optional | ||
8 | processOutput | application_io_models.OutputDataObjectType | optional |
Key | Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|---|
1 | location | string | required | ||
2 | protocol | data_movement_models.SecurityProtocol | required |
EnvironmentSetupTaskModel: A structure holding the environment creation task details
Key | Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|---|
1 | jobSubmissionProtocol | compute_resource_model.JobSubmissionProtocol | required | ||
2 | monitorMode | compute_resource_model.MonitorMode | required | ||
3 | wallTime | i32 | optional |
Key | Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|---|
1 | monitorMode | compute_resource_model.MonitorMode | required |