Application State

The Intelligence Hub installation includes the application code, configuration, and application settings. This section describes the different files in the installation.

Application Code

The following files and directories are the core application code of the Intelligence Hub. This code changes between releases.

  • configuration/*

    • The web based user interface that is accessible via web browser.
  • runtime/intelligencehub-runtime.jar

    • Core runtime Java code.
  • runtime/lib/*

    • All 3rd party Java dependencies.

Configuration State

The following files are part of the Intelligence Hub configuration state.

  • intelligencehub-configuration.json

    • The project configuration for the Intelligence Hub (e.g., connections, models, flows, etc.) stored as JSON.
  • intelligencehub-certificatestore.pkcs12

    • Certificate store that contains the keys for encrypting passwords in the intelligencehub-configuration.json file.
  • intelligencehub-users.json

    • Contains local users, passwords, roles and claims settings.
  • intelligencehub-events.db

    • Event log files stored in an encrypted SQLite format.
  • intelligencehub-events.log

    • Event log files stored in a JSON based text format.
  • intelligencehub-cache.db

    • Cached state of connections in the Intelligence Hub (e.g., SQL indexed query, getting only data newer than a certain date, etc.).
  • intelligencehub-writestore-CONECTIONNAME.db

    • Store and forward file for a specific connection (only present when store and forward is enabled on the connection).
  • backups/*

    • A folder containing automatic backups of the intelligencehub-configuration.json. Snapshots are added anytime the configuration is modified.

Application State

The following files hold application state independent of the configuration.

  • intelligencehub-settings.json

    • Contains application settings like the REST API port, location of configuration directory, max events to log, etc. See Application Settings for details.
  • intelligencehub-remoteconfig.json

    • Contains the URL of the central Intelligence Hub instance to connect to and the token required to authenticate the connection. This is only applicable when using central configuration. See Remote Hub Configuration for details.