Module: chiefConfiguration

Contains all the functions to manage the configuration system, such as loading, setup, parsing & processing.

Author:
  • Seth Hollingsead
Source:

Requires

Methods

(inner) parseLoadedConfigurationData(allConfigurationData) → {boolean}

Parses through all of the configuration data that we just loaded from the XML files and adds that data to the correct data-structures in the D.[configuration] data hive.

Parameters:
Name Type Description
allConfigurationData object

A JSON data structure object that contains all configuration meta-data.

Author:
  • Seth Hollingsead
Source:
Returns:

True or False to indicate if the configuration data was applied successfully or not.

Type
boolean

(inner) setupConfiguration(appConfigPath, frameworkConfigPath) → {void}

Sets up all of the application and framework configuration data.

Parameters:
Name Type Description
appConfigPath string

The path of the configuration files for the application layer.

frameworkConfigPath string

The path of the configuration files for the framework layer.

Author:
  • Seth Hollingsead
Source:
Returns:
Type
void