This is the Configuration server of AGE's node. Each node within the AGE's ecosystem has a centralized registry stored into the standard configuration directory (see age_tools:get_config_path/0) as "age.hive". This centralized Hive is loaded automatically at Node's initialization, and can be accessed asynchronously through the Configuration server. The module "age_config" provides a straightforward API to access and use the configuration server. Any function from this API should be considered as a stand-alone request to the server that can be send and processed asynchronously from any process. |
Configuration of Module parameters within Services
This API provides also simple but quite useful framework to store, export and import set of parameters (keys and values) associated to a common identifier called Module. In that way you can rapidly create customized configurations for all your modules, and you can maintain these configurations by exporting or importing parameters with external files. All modules with their parameters are stored automatically within the "AGE_SERVICES" cell. |
-define(AGE_HCELL_SYSTEM, "AGE_SYSTEM"). -define(AGE_HCELL_NETWORK, "AGE_NETWORK"). -define(AGE_HCELL_FIREWALL, "AGE_FIREWALL"). -define(AGE_HCELL_SERVICES, "AGE_SERVICES"). -define(AGE_HCELL_WEB, "AGE_WEB"). -define(AGE_HCELL_MAIL, "AGE_MAIL"). -define(AGE_HCELL_ADBC, "AGE_ADBC"). |