Reworks how Stryker4s reads config to allow multiple sources. Any config value can be read from any config source and combined into a config. For example, a dashboard module from sbt, dashboard version as a CLI arg and a default dashboard URI are combined into a single dashboard config. Each source has a priority which will be tried first.
Currently, allows HOCON file (same as before), CLI arguments and sbt settings. Improved CLI arg handling, maven config source is future work. Moving the dashboard environment resolving by adding a environment variable resolver is also future work.
Todo:
[x] Update any mentions of stryker4s.conf in the code
[ ] Update configuration docs
[x] Add tests for maven config source
[x] Improve logging (nothing is logged when stryker4s starts)
Reworks how Stryker4s reads config to allow multiple sources. Any config value can be read from any config source and combined into a config. For example, a dashboard module from sbt, dashboard version as a CLI arg and a default dashboard URI are combined into a single dashboard config. Each source has a priority which will be tried first.
Currently, allows HOCON file (same as before), CLI arguments and sbt settings. Improved CLI arg handling, maven config source is future work. Moving the dashboard environment resolving by adding a environment variable resolver is also future work.
Todo: