Skip to content

JSON Configuration Settings

Configuration setting descriptions for parameters within [config.json].

NOTE If this application is running in a Docker container with LOG_LEVEL set in the Docker Compose file, it will override log_level.

app

  • name: Application name. Rename as needed.
  • function_name: The function name of the application. Must be in camel case.
  • version: Defines the application's versioning with major, minor, and micro values.
  • log_level: Logging level; info, debug, error, warning, critical.

registration

  • static_enabled: Enables static registration for the application use the provided TAR.GZ file.
  • targz: Path to a TAR.GZ config file created by either the App Config Editor or REST Server.
  • dynamic_general_enable: Enables dynamic general registration (recommended to keep false for initial setup).
  • dynamic_config_enable: Enables dynamic configuration registration (recommended to keep false for initial setup).

heartbeat

  • interval: Heartbeat interval in seconds.

provisioning

  • complex: false : Simple Provisioning, true : Complex Provisioning

network

  • rest_ip_override: IP address override for the REST interface. Specify if connecting to the HCC2 externally (ie ETH-1/2).
  • app_ip_override: IP address override for the device running this application. Specify if connecting to the HCC2 externally.

rest_api

  • port: Port number for the REST API.
  • version: API version number.