Git Product home page Git Product logo

Comments (2)

sjjian avatar sjjian commented on June 9, 2024 1

接口变更

设置定时上线

  1. url:/v1/workflows/{workflow_id}/schedule
  2. method: put
  3. 提交时间类型的数据,与工单详情接口返回的时间一致
    image
  4. 设置/.更新定时时间则带上schedule_time 时间字段,若要取消定时,则提交空body "{}"则将定时时间置为空

SQL上线使用新的接口

  1. url: /v1/workflows/{workflow_id}/task/execute
  2. method: post
  3. 提交则触发上线,不再使用老的接口

数据展示

1. 上线时间,结束时间

在原有接口 /v1/tasks/audits/{task_id}/ 内返回,新增字段exec_start_time, exec_end_time

2. 定时时间

在原有接口/v1/workflows/{workflow_id}/ 内返回,在字段record对应结构下新增 schedule_time,无字段则代表无定时上线,有值代表配置为定时上线

工单状态

  1. on_process :处理中(已有)
  2. rejected :已驳回(已有)
  3. canceled :已关闭(已有)
  4. exec_scheduled :定时上线(新增)
  5. executing :正在上线(新增)
  6. exec_failed :上线失败(新增)
  7. finished:已上线(已有)

from sqle.

sjjian avatar sjjian commented on June 9, 2024

最新工单流转参考:https://actiontech.github.io/sqle-docs-cn/3.modules/3.5_auditworkflow/auditworkflow_management.html

from sqle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.