You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Casey Stella (JIRA)" <ji...@apache.org> on 2016/11/02 18:24:58 UTC

[jira] [Updated] (METRON-112) Add concept of a loader to Configurations/Configuration class

     [ https://issues.apache.org/jira/browse/METRON-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Casey Stella updated METRON-112:
--------------------------------
    Fix Version/s:     (was: 0.2.1BETA)

> 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
>              Labels: newbie++, platform
>
> 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)