Skip to main content

Starter Kit WES Configuration

The Starter Kit WES service can be configured with modifiable properties. All property configuration is done via a YAML config file that is supplied to the program at runtime via a -c ${CONFIG_FILE} option. This section outlines the structure of the YAML config.

The config file MUST start with a single root object named wes. All sub-properties are nested under wes.

Configurable wes properties

AttributeDescriptionLinks
serverPropsModifies the behavior of high-level server application properties, such as listening port(s), logging, and CORS headers.See serverProps for more info
databasePropsConnect to a target database that has been set up with the prerequisite table schema for Starter Kit WESSee databaseProps for more info.
serviceInfoDisplay custom information about the deployed web service via the /service-info endpointSee serviceInfo for more info on configuring a custom Service Info response. See WES Service Info Defaults for the default service info values for Starter Kit WES deployments.

WES Service Info Defaults

The following table lists the default attribute values returned over /service-info for Starter Kit WES services.

AttributeDefault Value
idorg.ga4gh.starterkit.wes
nameGA4GH Starter Kit WES Service
descriptionAn open source, community-driven implementation of the GA4GH Workflow Execution Service (WES) API specification.
contactUrlmailto:info@ga4gh.org
documentationUrlhttps://github.com/ga4gh/ga4gh-starter-kit-wes
createdAt2020-01-15T12:00:00Z
updatedAt2020-01-15T12:00:00Z
environmenttest
version0.2.0
organization.nameGlobal Alliance for Genomics and Health
organization.urlhttps://ga4gh.org

Example Starter Kit WES Config

The following snippet displays an example complete YAML configuration for a deployment of the Starter Kit WES service.

wes:
serverProps:
scheme: https
hostname: wes-api-starterkit.example.com
publicApiPort: 80
adminApiPort: 7000
databaseProps:
url: jdbc:postgresql://starter-kit-demo-db.ga4gh.org:5555/wesdb
username: ga4gh-admin
password: makeSureThisIsSecure123
serviceInfo:
id: org.ga4gh.wes.public-wes
name: GA4GH Public Workflow Execution Service
description: Allows researchers to run workflow analyses according to the WES specification