As we're going to have configuration files for each daemon (like described in #44), Broker does not need anymore to ask for configuration to Router, since it can read the configuration from its own file. This approach will make Router lighter and turn communication between daemons simpler. Implementing this issue includes:
Removing code on Broker and Router for the get configuration API call
Create a way to pass configuration to Broker, possibly a static method from_configuration that received a dict and returns a Broker instance.
As we're going to have configuration files for each daemon (like described in #44), Broker does not need anymore to ask for configuration to Router, since it can read the configuration from its own file. This approach will make Router lighter and turn communication between daemons simpler. Implementing this issue includes:
get configuration
API callBroker
, possibly a static methodfrom_configuration
that received adict
and returns aBroker
instance.Configuration directives can be found on #44.
Similiar to #57 and #58.