feat: 将和查询相关的接口迁移至 rest api, 方便AI 和 cli 调用#3191
Open
LeoQuote wants to merge 15 commits into
Open
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3191 +/- ##
==========================================
+ Coverage 84.66% 84.98% +0.32%
==========================================
Files 141 149 +8
Lines 25015 25433 +418
==========================================
+ Hits 21179 21615 +436
+ Misses 3836 3818 -18 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
7afb569 to
44d1d83
Compare
- Introduced a unified SQLQuery interface with DRF, enhancing security and authorization. - Implemented core functionalities including executing queries, managing query logs, and handling favorites. - Created services for resource management and query execution, ensuring compatibility with existing logic. - Developed comprehensive tests to validate the new API endpoints and maintain legacy compatibility. - Established a clear task structure for phased implementation, prioritizing user stories based on criticality.
44d1d83 to
463fa93
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
将以下和查询相关的接口迁移至 sql_api:
设置中, 默认 permission class 改为管理员拥有 API 权限, 同时开放所有 query 相关接口至所有正常用户, 原先的表, 数据库等级的检查保持不变