Feat add sql type#3173
Conversation
PR Reviewer Guide 🔍(Review updated until commit 8594d69)
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
5f70c7e to
a64dde9
Compare
|
Persistent review updated to latest commit a64dde9 |
PR Code Suggestions ✨Explore these optional code suggestions:
|
…low creation and execution
a64dde9 to
8594d69
Compare
|
Persistent review updated to latest commit 8594d69 |
|
Failed to generate code suggestions for PR |
User description
关联的 issue
https://github.com/actiontech/sqle-ee/issues/2586
描述你的变更
DMS工作台调用的审核接口返回SQLType字段
确认项(pr提交后操作)
Tip
请在指定复审人之前,确认并完成以下事项,完成后✅
not_compatibleneed_update_docDescription
新增自动创建工单及执行的 API 接口(仅限 sys 用户)
定义并实现 AutoCreateAndExecuteWorkflowV1 相关数据结构与流程
增加 SQLType 字段在 SQL 审计响应中的传递
更新 swagger 文档,完善 API 定义与错误提示
Diagram Walkthrough
File Walkthrough
4 files
添加自动创建并执行工单的 API 路由实现 AutoCreateAndExecuteWorkflowV1 及辅助函数SQL 审计响应中添加 SQLType 字段将 SQLType 字段加入任务 SQL 解析中3 files
优化 workflow 转换逻辑处理 nil 模板调整 SQL 执行异常处理代码放宽用户权限检查,允许 sys 与 admin 操作工单3 files
更新 swagger 文档,添加新接口定义补充新 API 的 swagger 定义与参数添加自动执行接口及响应模型的文档说明