RouterConfig Data Type

This class is an object representation of the 'router-config.json'.

Implemented Interfaces
Serializable
Properties
name data type constraints description
configVersion string   The config-version is a parameter which each OTP deployment may set to be able to query the OTP server and verify that it uses the correct version of the config. The version must be injected into the config in the operation deployment pipeline. How this is done is up to the deployment.

The config-version have no effect on OTP, and is provided as is on the API. There is not syntax or format check on the version and it can be any string.

Be aware that OTP uses the config embedded in the loaded graph if no new config is provided.

This parameter is optional, and the default is null.

default boolean required If true the config is loaded from file, in not the DEFAULT config is used.

Example

{
  "configVersion" : "...",
  "default" : true
}