Object Glossary
Detailed below are the central objects used in the API. This documentation is generated from the OpenAPI spec, and the original ordering is preserved. See the API endpoints docs for information detailing usage.
WorkflowObject
Workflow object. See https://observation-management-service.github.io/ewms-docs/services/wms.html#workflow.
Used as output by:
POST /v1/query/workflows
POST /v1/workflows
Fields:
Field |
Type |
Description |
|---|---|---|
|
string |
A unique identifier automatically generated for this workflow. |
|
number |
The epoch time when this workflow was created. |
|
integer |
The workflow’s priority level relative to other workflows. |
|
string | null |
|
|
number | null |
TaskDirectiveObject
Task directive object. See https://observation-management-service.github.io/ewms-docs/services/wms.html#task-directive.
Used as output by:
POST /v1/workflows
Fields:
Field |
Type |
Description |
|---|---|---|
|
string |
A unique identifier automatically generated for this task. |
|
string |
The identifier of the overarching workflow object (M task directives : 1 workflow). |
|
array of string |
The HTCondor pool(s) where the taskforce(s) will run. |
|
string |
The Docker/Singularity/Apptainer image to run for each event. Apptainer images in directory (sandbox) format will start fastest; other formats will first be converted to this format on each worker CPU. |
|
string |
The argument string to pass to the task image. |
|
object |
Environment variables (and values) to set in the task instance. |
> (any key) |
string |
|
|
string |
The Docker/Singularity/Apptainer image for the init container. See ‘task_image’ for caveats/optimizations regarding the image format. |
|
string |
The argument string to pass to the init container. |
|
object |
Environment variables (and values) to set in the init container. |
> (any key) |
string |
|
|
number |
The epoch time when this task was created. |
|
array of string |
The message queue(s) that this task will use for event input. |
|
array of string |
The message queue(s) that this task will use for event output. |
TaskforceObject
Taskforce object. See https://observation-management-service.github.io/ewms-docs/services/wms.html#taskforce.
Used as input by:
Used as output by:
POST /v1/query/taskforces
POST /v1/workflows
Fields:
Field |
Type |
Description |
|---|---|---|
|
string |
A unique identifier automatically generated for this taskforce. |
|
string |
The identifier of the associated task directive object (N taskforces : 1 task directive). |
|
string |
The identifier of the overarching workflow object (N*M taskforces : M task directives : 1 workflow). |
|
number |
The epoch time when this taskforce was created. |
|
integer |
The priority level relative to other taskforces (usually, this value is inherited from the parent workflow object). |
|
string | null |
|
|
string |
The address of the HTCondor schedd. |
|
integer | null |
|
|
object |
Configuration settings for the EWMS pilot. |
> |
string |
The image tag to use (e.g., ‘#.#.#’, ‘latest’, or a feature branch tag). Note: tags like # or #.# are disallowed since these are mutable. This field is useful for repeatability. |
> |
"cvmfs""auto" |
The canonical source name for the image. |
> |
object |
Environment variables and their corresponding values. |
> > (any key) |
string | integer | array of string |
|
> |
array of string |
Paths to files to make available to the task container. These files must already be accessible on the AP. |
|
object |
Configuration settings for the HTCondor cluster submission. |
> |
boolean |
Indicates whether to transfer back the workers’ stdout and stderr (accessible on the AP). |
> |
integer |
The maximum runtime for a worker. Adjust this to optimize performance (e.g., to terminate slow CPUs). |
> |
integer |
The number of cores to request per HTCondor worker. |
> |
integer |
The priority level for the HTCondor submission. |
> |
string | integer |
|
> |
string | integer |
|
> |
string |
The ‘requirements’ string given to the HTCondor submission. |
|
integer | null |
|
|
object |
The actual HTCondor submit class ad. |
> (any key) |
string | integer |
|
|
string |
The file path on the HTCondor AP containing job event logs. |
|
"pre-mq-activation""pre-launch""pending-starter""condor-submit""pending-stopper""condor-rm""condor-complete" |
The current phase of the taskforce within the workflow’s lifetime. Not all taskforces will enter every phase. |
|
array of object |
A record of all attempted phase changes, including both successful and unsuccessful ones. |
> |
string |
The phase that the system was attempting to transition to. |
> |
number |
The epoch timestamp when this phase change attempt was recorded in the system. |
> |
boolean |
Indicates whether the phase change was completed successfully, i.e. did it actually change? |
> |
number | null |
|
> |
string |
The entity (person, system, or process) responsible for the external event that triggered this phase change attempt. |
> |
string |
The circumstances or background information about the phase change attempt. |
|
object |
Aggregated status of the workers, represented as a nested dictionary mapping HTCondor states to EWMS pilot states and their counts. |
> (any key) |
object |
|
|
object |
The most common errors encountered by workers, paired with their occurrence counts. |
> (any key) |
integer |
FindObject
The fields and values used to search.
Used as input by:
POST /v1/query/taskforces
POST /v1/query/workflows
Fields:
Field |
Type |
Description |
|---|---|---|
|
object |
The search criteria (MongoDB-filter syntax) |
|
array of string |
The fields to include in the response |
|
string |
The database ‘_id’ to resume pagination from, taken from a previous response’s ‘next_after’ field. |
QueryNextAfter
Used as output by:
POST /v1/query/taskforces
POST /v1/query/workflows
DeactivatedWorkflowResponseObject
Used as output by:
Fields:
Field |
Type |
Description |
|---|---|---|
|
string |
The workflow ID. |
|
integer |
Number of taskforces to be stopped. |
ErrorResponse
Fields:
Field |
Type |
Description |
|---|---|---|
|
integer |
HTTP error code. |
|
string |
HTTP error reason. |