Skip to main content

Runtime Configurations

About

This guide provides a breakdown of environment variables utilized within the IgniteConnex runtime. Each variable serves a distinct purpose in configuring various aspects of the IgniteConnex runtime environment, ranging from security configurations to essential configurations and panel preferences. The descriptions help users understand the significance of these variables and how they impact the behavior or functionality of the IgniteConnex runtime.

The configurations are split into the following sections:

  1. Essential Configurations
  2. Login Configurations
  3. Flow File and User Directory Configurations
  4. Security Configurations
  5. Server Configurations
  6. Editor Configurations
  7. Context Storage Configurations
  8. Panel Configurations

Essential Configurations

  • PROJECT_NAME : Name of the Digital Product created for your Runtime.
  • CLIENT_ID : For your Runtime, a unique client is created inside IgniteConnex Identity, Client ID is the name of that client.
  • CLIENT_SECRET : For your Runtime, a unique client is created inside IgniteConnex Identity, Client Secret is the credentials secret of the client. Below is the screenshot from IgniteConnex Identity. ClientSecret
  • IGNITE_API_SECRET : This is the secret created specially for your runtime and is unique. IgniteConnex uses this secret to perform various operations like monitoring, logging, etc.
  • AUTH_SERVER_URL : To perform login to runtime, a AUTH SERVER URL is required to validate user authentication. Default is https://sso.igniteconnex.io/auth
  • APP_URL : This is the base url for the runtime. Default is http://localhost:1880 for onpremise apps.
  • IGNITE_API_BASE_URL : This is the base url for IgniteConnex API URL. Default is https://api.igniteconnex.io

Login Configurations

  • EDITOR_AUTO_LOGIN : To enable auto login using IgniteConnex Identity in Runtime, Set value as "enabled". Default is false.
  • PUBLIC_SECRET: To enable public secret while authentication, Set value to true. Default is false.
  • SSL_REQUIRED : To enable ssl connection to internal or external, set SSL_REQUIRED to "internal". Default is "external"

Monitor and Logging Configurations

  • IGNITE_MONITOR : To enable IgniteConnex Monitor capabilities inside your runtime, Set value to "enabled".
  • IGNITE_MONITOR_LOGGING : To enable IgniteConnex Logging capabilities inside your runtime, Set value to "enabled".

Flow File and User Directory Configurations

  • CREDENTIAL_SECRET: Encryption key for credentials storage. Set value to true to enable.
  • FLOW_FILE_PRETTY: Boolean flag for pretty-printing flow JSON. Set value to true to enable.

Security Configurations

  • SESSION_EXPIRY_TIME: Session expiration time for admin authentication. Default time is 3600.

Server Configurations

  • PORT: TCP port the IgniteConnex Runtime web server listens on. Default value of port is 1880.
  • API_MAX_LENGTH: Maximum size of HTTP request accepted by the runtime API. Default length is 5.
  • SERVER_ROOT_PATH: By default, the IgniteConnex Runtime is available at http://localhost:1880/ for onpremise app. The following property can be used to specify a different root path. If set to false, this is disabled

Editor Configurations

  • RUNTIME_STATE_ENDPOINTS: Enable or Disable flows/state endpoint. Must be set to false to disable
  • RUNTIME_STATE_EDITOR_CONTROLS: Show or Hide runtime stop/start options in the IgniteConnex runtime. Must be set to false to hide.
  • EDITOR_DISABLE_MODE: Toggle for disabling the IgniteConnex runtime. The following property can be used to disable the editor. The admin API is not affected by this option. To disable both the editor and the admin API, use either the httpRoot or httpAdminRoot properties.
  • ENABLE_WELCOME_TOURS: To disable the 'Welcome to IgniteConnex Runtime' tour displayed the first time you access the editor for each IgniteConnex release, set this to false.
  • START_MODE or PROJECT_MODE: If you want to enable projects feature, set START_MODE to PROJECT or PROJECT_MODE to enabled.

Context Storage Configurations

  • EXPORT_GLOBAL_CONTEXT_KEYS: global.keys() returns a list of all properties set in global context. This allows them to be displayed in the Context Sidebar within the editor. In some circumstances it is not desirable to expose them to the editor. The following property can be used to hide any property set in functionGlobalContext from being list by global.keys(). By default, the property is set to false to avoid accidental exposure of their values. Setting this to true will cause the keys to be listed.

Panel Configurations

  • COLORISE_DEBUG_OUTPUT: Toggle for colorizing the console output of the debug node. Set value to "enabled" to enable.
  • DEBUG_MAX_LENGTH: Maximum length of a message sent to the debug sidebar tab. Default length is 1000.
  • MQTT_RECONNECT_TIME: Retry time in milliseconds for MQTT connections. Default time is 15000.
  • SERIAL_RECONNECT_TIME: Retry time in milliseconds for Serial port connections. Default time is 15000.

Note : All above times are in milliseconds.