Documentation
Workflow Execution Service (WES)
Components
Runs

WES Runs Component

Beta
0.1.1
<ecc-client-ga4gh-wes-runs/>
ECCClientGa4ghWesRuns

Overview

The WES Runs Component facilitates browsing workflow runs via the GA4GH Workflow Execution Service (WES) API.

Preview

Examples

Basic Usage

ECCClientGa4ghWesRuns.tsx
import ECCClientGa4ghWesRuns from '@elixir-cloud/wes/dist/react/runs/index';
 
export default function Runs() {
  return <ECCClientGa4ghWesRuns />;
}

Properties

PropertyRequiredDefaultTypeDescription
baseURLfalsehttps://prowes.rahtiapp.fi/ga4gh/wes/v1 (opens in a new tab)StringBase URL for the WES API
pageSizefalse5NumberNumber of runs per page
fieldsfalseDefault FieldsArray<Field>Configuration for data rendering in groups
extendFieldsfalsefalseBooleanExtends default fields instead of overriding when set to true

baseURL

The baseURL property specifies the endpoint for WES API requests. The component appends /runs to this URL for run-related operations.

pageSize

Defines the number of workflow runs displayed per pagination window.

fields

An array of Field objects that determine how data is structured and rendered.

default

The default value of fields property.

[
  {
    "label": "Tags",
    "tab": "Overview",
    "key": "request.tags",
    "path": "request.tags"
  },
  {
    "label": "Engine parameters",
    "tab": "Parameter",
    "key": "request.workflow_engine_parameters",
    "path": "request.workflow_engine_parameters",
    "copy": true
  },
  {
    "label": "Parameters",
    "tab": "Parameter",
    "key": "request.workflow_params",
    "path": "request.workflow_params",
    "copy": true
  },
  {
    "label": "Type",
    "tab": "Parameter",
    "key": "request.workflow_type",
    "path": "request.workflow_type"
  },
  {
    "label": "Version",
    "tab": "Parameter",
    "key": "request.workflow_type_version",
    "path": "request.workflow_type_version"
  },
  {
    "label": "Url",
    "tab": "Overview",
    "key": "request.workflow_url",
    "path": "request.workflow_url",
    "copy": true
  },
  {
    "label": "Run Logs",
    "key": "run_log",
    "path": "run_log",
    "tab": "Run logs",
    "copy": true
  },
  {
    "key": "run_log.max_retries",
    "path": "run_log.max_retries",
    "label": "Max retries"
  },
  {
    "key": "run_log.max_retries",
    "path": "run_log.max_retries",
    "label": "Max retries"
  },
  {
    "key": "run_log.stderr",
    "path": "run_log.stderr",
    "label": "STDERR"
  },
  {
    "key": "run_log.stdout",
    "path": "run_log.stdout",
    "label": "STDOUT"
  },
  {
    "key": "run_log.task_finished",
    "path": "run_log.task_finished",
    "label": "Finished at"
  },
  {
    "key": "run_log.task_received",
    "path": "run_log.task_received",
    "label": "Received at"
  },
  {
    "key": "run_log.task_received",
    "path": "run_log.task_received",
    "label": "Received at"
  },
  {
    "key": "run_log.time_execution",
    "path": "run_log.time_execution",
    "label": "Execution time"
  },
  {
    "key": "run_log.time_queue",
    "path": "run_log.time_queue",
    "label": "Queue time"
  },
  {
    "key": "run_log.time_total",
    "path": "run_log.time_total",
    "label": "Total time"
  },
  {
    "key": "run_log.utc_offset",
    "path": "run_log.utc_offset",
    "label": "UTC offset"
  },
  {
    "label": "Task Logs",
    "key": "task_logs",
    "path": "task_logs",
    "tab": "Task logs",
    "copy": true
  },
  {
    "key": "task_logs[*]",
    "path": "task_logs[*]",
    "arrayOptions": {
      "labelOptions": {
        "prefix": "Creation time: ",
        "path": "creation_time"
      }
    },
    "copy": true
  },
  {
    "key": "output",
    "tab": "Output",
    "label": "Output",
    "path": "outputs",
    "copy": true
  }
]

extendFields

When set to true, the extendFields property extends the default fields instead of overriding them.

Elixir Cloud & AAICloud SDKElixir

Released under Apache 2.0 License.

Copyright © 2023-2024 ELIXIR