Configuration Internals
The configuration subsystem is located in snakeway-core/src/conf.
The configuration loading process is broken down into the following steps:
- Spec
- The operator-facing config file specification.
- Defined in
snakeway-core/src/conf/types/specification
- Parse
- Ingest the config files and convert to an in-memory spec representation.
- Fail early on parse errors.
- Validate
- Pass the spec representation through a series of validation steps.
- Collect validation errors and warnings.
- Lower
- Transform the spec representation into a runtime representation.
- Define in
snakeway-core/src/conf/types/runtime
- Runtime
- Runtime representation is returned by the
load_configfunction.
- Runtime representation is returned by the