The development branch currently doesn't support handling of configs. 'localhost:25560' is statically declared as the backend.
The implementation of this should see a single Gamma instance only having a single ConfigManager instance. Gamma instances default to LocalConfigManager (see below) if not overwritten at any point of proxy operation.
| Class |
Description |
| ConfigManager |
Base class, detailing general structure of ConfigManager classes. raise NotImplementedError on fetch(hostname:str) method. |
| LocalConfigManager |
Subclass of ConfigManager that implements the fetch method to load hostname configs from ./gamma/configs/ |
| DemoNetworkConfigManager |
EXAMPLE subclass of ConfigManager that implements the fetch method to load hostname configs from ./gamma/configs/ (cache) or fetch new from an API and update cache if cached config is expired. |
Gamma class should have a set_config_manager(manager:ConfigManager) method added that allows switching out of config managers in real-time, or a new argument in the class constructor (init), or both.
The development branch currently doesn't support handling of configs. 'localhost:25560' is statically declared as the backend.
The implementation of this should see a single Gamma instance only having a single ConfigManager instance. Gamma instances default to LocalConfigManager (see below) if not overwritten at any point of proxy operation.
Gamma class should have a set_config_manager(manager:ConfigManager) method added that allows switching out of config managers in real-time, or a new argument in the class constructor (init), or both.