You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
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 定义与参数添加自动执行接口及响应模型的文档说明