-
Notifications
You must be signed in to change notification settings - Fork 26
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
[FEEL FREE TO FINISH] New module: proxysql_cluster #27
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #27 +/- ##
==========================================
+ Coverage 70.02% 70.12% +0.10%
==========================================
Files 8 10 +2
Lines 994 1329 +335
Branches 164 220 +56
==========================================
+ Hits 696 932 +236
- Misses 222 295 +73
- Partials 76 102 +26 ☔ View full report in Codecov by Sentry. |
@akimrx thanks for the new module! |
Hi! Yep, a little later |
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.
@akimrx thanks for the module!
Most the comments from the other PR is relevant here.
When it's ready for review, please put it explicitly and I'll ping the other folks to review.
Thanks.
extends_documentation_fragment: | ||
- community.proxysql.proxysql.managing_config | ||
- community.proxysql.proxysql.connectivity | ||
|
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.
you could also put the seealso
section, with a link to related proxysql documentation. E.g. from postgresq_pg_hba module
114 seealso:
115 - name: PostgreSQL pg_hba.conf file reference
116 description: Complete reference of the PostgreSQL pg_hba.conf file documentation.
117 link: https://www.postgresql.org/docs/current/auth-pg-hba-conf.html
Just an idea, not necessary
cursor.execute(query_string, query_data) | ||
return True | ||
|
||
def update_server_config(self, cursor): |
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.
def update_server_config(self, cursor): | |
def update_server_config(self, cursor): |
can we pass it only once when initializing the object and use self.cursor
everywhere?
If a specialist reviews, tests, and provides feedback that the c.proxysql users will get what they expect, we could merge the module @markuman if you could take a look, it would be really great |
short_description: Adds or removes proxysql cluster hosts using the B(ProxySQL) admin interface | ||
description: | ||
- The M(community.proxysql.proxysql_cluster) module adds or removes | ||
ProxySQL cluster hosts using the B(ProxySQL) admin interface. |
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.
ProxySQL cluster hosts using the B(ProxySQL) admin interface. | |
ProxySQL cluster hosts using the B(ProxySQL) admin interface. | |
version_added: '1.2.0' |
FYI: Whoever finishes this, i believe it would be fair if they put themselves in the |
I can take over. But I'd like to address #60, #61 and #62 first and release 1.2.0 |
sounds very good to me |
I will target #19 for the next release. |
SUMMARY
IF ANYONE WANTS TO FINISH IT BECAUSE OF #26 (comment), FEEL FREE TO DO IT!
Added new module
proxysql_cluster
, which implements server management in the ProxySQL cluster.Read more here.
ISSUE TYPE
COMPONENT NAME
proxysql_cluster
ADDITIONAL INFORMATION
The linked module
proxysql_manage_config
has also been updated.