Partly addresses the conversation of #79 to instantly trigger the config load on sparrow startup.
Changes
I've added the initial startup config load and refactored the http loader to return the runtime config per value instead of reference to avoid sending a nil pointer through the channel.
For additional information look at the commits.
Tests done
I've provided some unit tests for the initial config load.
[x] Unit tests succeeded.
[ ] E2E tests succeeded. - we have no e2e tests for this.
Motivation
Partly addresses the conversation of #79 to instantly trigger the config load on sparrow startup.
Changes
I've added the initial startup config load and refactored the http loader to return the runtime config per value instead of reference to avoid sending a nil pointer through the channel.
For additional information look at the commits.
Tests done
I've provided some unit tests for the initial config load.
TODO