Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: MySQL bridge and connector to separate applications #11151

Merged

Conversation

kjellwinblad
Copy link
Contributor

@kjellwinblad kjellwinblad commented Jun 27, 2023

This PR refactor the MySQL bridge and the connector to separate applications.

Fixes:
https://emqx.atlassian.net/browse/EMQX-9533

Summary

馃 Generated by Copilot at 3d1712c

This pull request introduces a new emqx_mysql application that implements a MySQL connector for EMQ X. It also updates the existing emqx_authn, emqx_authz, and emqx_bridge_mysql applications to use the new connector API and fixes some bugs and refactors some code. It removes the MySQL connector from the emqx_connector application and updates the documentation and tests accordingly.

PR Checklist

Please convert it to a draft if any of the following conditions are not met. Reviewers may skip over until all the items are checked:

  • [] Added tests for the changes
  • [] Changed lines covered in coverage report
  • Change log has been added to changes/{ce,ee}/(feat|perf|fix)-<PR-id>.en.md files
  • For internal contributor: there is a jira ticket to track this change
  • If there should be document changes, a PR to emqx-docs.git is sent, or a jira ticket is created to follow up
  • Schema changes are backward compatible

@kjellwinblad kjellwinblad requested review from a team, JimMoen and savonarola as code owners June 27, 2023 15:17
savonarola
savonarola previously approved these changes Jun 27, 2023
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 5397791914

  • 5 of 5 (100.0%) changed or added relevant lines in 3 files are covered.
  • 42 unchanged lines in 8 files lost coverage.
  • Overall coverage increased (+0.02%) to 81.757%

Files with Coverage Reduction New Missed Lines %
apps/emqx_bridge_gcp_pubsub/src/emqx_bridge_gcp_pubsub_consumer_worker.erl 1 58.73%
apps/emqx_dashboard/src/emqx_dashboard_desc_cache.erl 1 94.44%
apps/emqx_dashboard/src/emqx_dashboard_monitor.erl 1 65.52%
apps/emqx/src/emqx_limiter/src/emqx_limiter_schema.erl 1 81.48%
apps/emqx_machine/src/emqx_machine_boot.erl 3 76.06%
apps/emqx_resource/src/emqx_resource_buffer_worker.erl 4 93.04%
apps/emqx/src/emqx_reason_codes.erl 13 87.5%
apps/emqx_psk/src/emqx_psk.erl 18 71.95%
Totals Coverage Status
Change from base Build 5390442341: 0.02%
Covered Lines: 30511
Relevant Lines: 37319

馃挍 - Coveralls

@savonarola savonarola requested review from a team and removed request for a team June 28, 2023 11:10
@kjellwinblad kjellwinblad merged commit f9ea924 into emqx:master Jun 28, 2023
140 checks passed
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file should be removed, mysql connector is ee only feature

also see similar comment for redis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants