You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "David M. Lyle (JIRA)" <ji...@apache.org> on 2016/04/19 18:19:25 UTC
[jira] [Created] (METRON-112) Add concept of a loader to
Configurations/Configuration class
David M. Lyle created METRON-112:
------------------------------------
Summary: Add concept of a loader to Configurations/Configuration class
Key: METRON-112
URL: https://issues.apache.org/jira/browse/METRON-112
Project: Metron
Issue Type: Improvement
Reporter: David M. Lyle
Priority: Minor
Currently Configurations requires knowledge of how the configuration actually gets loaded i.e. updateConfigurationFromZookeeper.
In METRON-96, I added a Configuration class which took a first step of abstracting this away.
A potentially more general pattern- create an interface ConfigLoader that has an update method. Currently we would need to realize a FileLoader and a Zookeeper loader class to support currently usage.
Finally, merge Configurations and Configuration together to one class and modify the existing instantiations of Configurations and .updateFrom type calls to reflect these changes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)