Comments (2)
接口变更
设置定时上线
- url:/v1/workflows/{workflow_id}/schedule
- method: put
- 提交时间类型的数据,与工单详情接口返回的时间一致
- 设置/.更新定时时间则带上schedule_time 时间字段,若要取消定时,则提交空body "{}"则将定时时间置为空
SQL上线使用新的接口
- url: /v1/workflows/{workflow_id}/task/execute
- method: post
- 提交则触发上线,不再使用老的接口
数据展示
1. 上线时间,结束时间
在原有接口 /v1/tasks/audits/{task_id}/ 内返回,新增字段exec_start_time, exec_end_time
2. 定时时间
在原有接口/v1/workflows/{workflow_id}/ 内返回,在字段record对应结构下新增 schedule_time,无字段则代表无定时上线,有值代表配置为定时上线
工单状态
- on_process :处理中(已有)
- rejected :已驳回(已有)
- canceled :已关闭(已有)
- exec_scheduled :定时上线(新增)
- executing :正在上线(新增)
- exec_failed :上线失败(新增)
- finished:已上线(已有)
from sqle.
最新工单流转参考:https://actiontech.github.io/sqle-docs-cn/3.modules/3.5_auditworkflow/auditworkflow_management.html
from sqle.
Related Issues (20)
- SQL审核出现panic HOT 1
- 上线的问题SQL需要定位 HOT 2
- 导入项目预览时展示项目描述 HOT 1
- 审核文件时,审核结果展示的SQL文本换行不准确
- xml文件审核,pg插件报错
- sqle无法打印debug级别日志
- 审核结果页面分页时无法跳转
- sqle-ms-plugin:测试数据源连通性失败
- SQL工单下载审核报告参数错误 HOT 1
- 无法提交SQL工单,且页面没有明确的错误信息 HOT 1
- sql审核时过滤掉没有审核能力的规则
- 索引创建建议规则空指针报错 HOT 1
- 索引创建建议规则不支持列是别名的情况
- pg数据源密码不支持%号
- oracle TOP SQL 采集失败
- 回滚语句包含二进制数据会导致保存失败 HOT 1
- char字段包含emoji表情,回滚语句没有生成对应emoji
- MySQL审核存储过程脚本时SQL片段切分不正确
- sql工单页面前端代码重构 HOT 1
- 工单审核时,update语句生成的回滚语句无法使用 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqle.