-
Notifications
You must be signed in to change notification settings - Fork 575
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
feature: support etcd as data source. #292
base: master
Are you sure you want to change the base?
Conversation
add etcd supported methods.
1. add get ip address method; 2. refactor dao for support etcd and mysql.
method of compose_plugin_data is too long, need refact it. Co-Authored-By: WangKai <[email protected]>
modify init and init_work method, load data source according to configurations. Co-Authored-By: WangKai <[email protected]> Co-Authored-By: redzippo1 <[email protected]>
remove unused variables and modify code style.
2. rename mysql_store.lua to store.lua 3. add some variable to store.lua
This reverts commit 2288245.
1. move mysql_db.lua, mysql_store.lua to mysql package. 2. rename mysql_store.lua to store.lua 3. add some variable to store.lua
Update code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.tar.gz这样的文件最好不要提交到仓库作为git的一部分
好的,我看看如何弄一下,谢谢。 |
相关文档可以更新到 README @EasonFeng5870 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I think it is very necessary to add some test case coverage. |
Need more time to optimization, pls wait for a while, thanks~ |
1:make data source able to switch by configuration in orange.conf file.
2:support ETCD data source.