-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor KibbleDatabase #84
Comments
Additionally when working on #94 I got the following warning. It would be good to address it:
|
Hi @turbaszek, I can take a look into this if it is still available? |
Doing #114 I saw that we have also similar logic of creating es connection in: |
Yeah there is lot of duplication which cna be simplified. Same with yaml file used by scanners to, I think we can unify those configs in the top level .ini file |
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.py
that will keep definition of this object.KibbleConfigParser
fromkibble/configuration.py
The text was updated successfully, but these errors were encountered: