Contains all the functions to manage the configuration system, such as loading, setup, parsing & processing.
- Copyright:
- Copyright © 2022-… by Seth Hollingsead. All rights reserved
- Source:
Requires
- module:ruleBroker
- module:chiefData
- module:configurator
- module:loggers
- module:data
- @haystacks/constants
- path
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. |
- 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. |
- Source:
Returns:
- Type
- void