Currently we implement two times the same class: `KibbleDatabase`: https://github.com/apache/kibble/blob/2abfcc871dd35ddc727317267a4595f8230b53eb/kibble/setup/makeaccount.py#L27 https://github.com/apache/kibble/blob/2abfcc871dd35ddc727317267a4595f8230b53eb/kibble/api/plugins/database.py#L121 What should be done: 1. We should consolidate the whole logic into single class and create `kibble/database.py` that will keep definition of this object. 2. Refactor this class to use values from `KibbleConfigParser` from `kibble/configuration.py` 3. Drop support for es < 7 as per: #85
Currently we implement two times the same class:
KibbleDatabase:https://github.com/apache/kibble/blob/2abfcc871dd35ddc727317267a4595f8230b53eb/kibble/setup/makeaccount.py#L27
https://github.com/apache/kibble/blob/2abfcc871dd35ddc727317267a4595f8230b53eb/kibble/api/plugins/database.py#L121
What should be done:
kibble/database.pythat will keep definition of this object.KibbleConfigParserfromkibble/configuration.py