Job

Overview

Job data model hosts information about any job.

Summary

Field
Create
Update
Unique
Required

id

uuid

description

tool

userId

commandLine

params

creationDate

modificationDate

priority

release

outDir

input

output

tags

dependsOn

execution

stdout

stderr

visited

release

study

attributes

Data Model

Job

You can find the Java code here.

Field
Description

id String

Object ID is a mandatory parameter when creating a new one, this ID cannot be changed at the moment.

uuid String

Unique 32-character identifier assigned automatically by OpenCGA.

description String

Users may provide a description for the entry.

Job tool info.

userId String

Job user id.

commandLine String

Job command line.

params Map<String,Object>

Job params.

creationDate String

Autogenerated date following the format YYYYMMDDhhmmss containing the date when the entry was first registered.

modificationDate String since: 1.0

Autogenerated date following the format YYYYMMDDhhmmss containing the date when the entry was last modified.

priority Priority

Job priority.

An integer describing the current data release.

Output dir for the job.

List of input files.

List of output files.

tags List<String>

List of tags for the job.

List of jobs the current job depends on.

Result of the execution.

Standard out file.

Standard error file.

visited boolean

Boolean that represents if the job has been visited or not.

release int

An integer describing the current data release.

Job study.

attributes Map<String,Object>

You can use this field to store any other information, keep in mind this is not indexed so you cannot search by attributes.

ExecutionResult

You can find the Java code here.

Field
Description

id String

Object ID is a mandatory parameter when creating a new one, this ID cannot be changed at the moment.

Object describes execution information.

Date the execution started.

Date the execution was completed.

Executor status can have the values PENDING, RUNNING, DONE and ERROR.

List of uris to the external files.

List of ToolStep.

events List<Event>

List of Event.

attributes ObjectMap

You can use this field to store any other information, keep in mind this is not indexed so you cannot search by attributes.

JobStudyParam

You can find the Java code here.

Field
Description

id String

Object ID is a mandatory parameter when creating a new one, this ID cannot be changed at the moment.

others List<String>

List of strings.

ToolInfo

You can find the Java code here.

Field
Description

id String

Object ID is a mandatory parameter when creating a new one, this ID cannot be changed at the moment.

description String

Users may provide a description for the entry.

scope Scope

Tool info scope can have the values GLOBAL, PROJECT and STUDY.

type Type

Tool info type can have the values OPERATION and ANALYSIS.

resource Resource

Tool info resource can have the values AUDIT, USER, PROJECT, STUDY, FILE, SAMPLE, JOB, INDIVIDUAL, COHORT, DISEASE_PANEL, FAMILY, CLINICAL_ANALYSIS, INTERPRETATION, VARIANT, ALIGNMENT, CLINICAL, EXPRESSION, RGA and FUNCTIONAL.

JobInternal

You can find the Java code here.

Field
Description

Job internal status can have the values PENDING, QUEUED, RUNNING, DONE, ERROR, UNKNOWN, REGISTERING, UNREGISTERED, ABORTED, DELETED.

Job internal Webhook.

events List<Event>

Events of the internal job.

Status of the internal object.

registrationDate String

Registration date of the internal object.

lastModified String

Date of the last modification of the internal object.

Status

You can find the Java code here.

InternalStatus

You can find the Java code here.

JobInternalWebhook

You can find the Java code here.

Field
Description

Webhook URL.

status Map<String,Status>

Webhook status map can have the values SUCCESS or ERROR.

ToolStep

You can find the Java code here.

Field
Description

id String

Object ID is a mandatory parameter when creating a new one, this ID cannot be changed at the moment.

Date the execution started.

Date the execution was completed.

status Type

Executor status can have the values PENDING, RUNNING, DONE and ERROR.

attributes ObjectMap

You can use this field to store any other information, keep in mind this is not indexed so you cannot search by attributes.

URI

You can find the Java code here.

Date

You can find the Java code here.

ExecutionStatus

You can find the Java code here.

ExecutorInfo

You can find the Java code here.

Field
Description

id String

Object ID is a mandatory parameter when creating a new one, this ID cannot be changed at the moment.

clazz String

ExecutorInfo class.

params ObjectMap

ExecutorInfo params.

source Source

Executor info source can have the values FILE, PARQUET_FILE, MONGODB, HBASE, STORAGE.

framework Framework

Executor info framework can have the values LOCAL, MAP_REDUCE, SPARK.

URL

You can find the Java code here.

Last updated