Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Configuration Type aliases

Config: { locationUrl: string; taiOffset: number }

Represents the shape of configuration properties ConfigModule.

Type declaration

  • locationUrl: string
    description

    the url of the location server that will be used by LocationService client factory.

    default

    http://localhost:7654

  • taiOffset: number
    description

    the default value for taiTime Offset. Make sure, This is set to same value which is set in CSW's time service.

    default

    37

Other Type aliases

LocationInfo: { host: string; port: number }

Type declaration

  • host: string
  • port: number

Variables

AASConfig: { bearer-only: boolean; ssl-required: string; use-resource-role-mappings: boolean; verify-token-audience: boolean } = ...

Type declaration

  • bearer-only: boolean
  • ssl-required: string
  • use-resource-role-mappings: boolean
  • verify-token-audience: boolean
AGENT_SERVICE_CONNECTION: HttpConnection = ...
AUTH_CONNECTION: HttpConnection = ...
CONFIG_CONNECTION: HttpConnection = ...
GATEWAY_CONNECTION: Connection = ...
GlobalConfig: Config = DefaultConfig

Application wide Global Variable to keep TMT Application related configuration. This variable is solely responsible for providing frontend configurations across all the TMT applications. Note: This variable need to be set on application load time using loadGlobalConfig()

SEQUENCE_MANAGER_CONNECTION: HttpConnection = ...

Configuration Functions

  • loadGlobalConfig(): Promise<void>
  • This function loads the required Configuration from the static server's root level file named 'config.js'. This configuration is currently used to set Global Configurations which will be used by all TMT Applications. In Production, this method expects config.js file to be present containing ConfigModule.

    Returns Promise<void>

Other Functions

  • setAppName(name: string): void

Generated using TypeDoc