Giter Site home page Giter Site logo

plugindemo's Introduction

ITSM对接插件

开发

yarn dev

构建

yarn build

插件打包

yarn build-app

需求文档

请查阅项目中的以下两个文档:

  1. DevOps与ITSM系统对接20220510 v1.8.docx
  2. 生产缺陷上线流程.docx

上线计划自动化配置

1 - 自动创建系统上线计划

整体配置

image-20220608153919440

Web请求配置

请求地址:http://gitee-proxima-core:1337/app/osc/system_communicate/webhooks/createSystemReleaseApproval

image-20220608153933831

2 - 系统上线计划提交评估,同步上线计划状态

整体配置

image-20220608154213186

状态流转逻辑

当子【系统上线计划】全部提交评估后,将父【上线计划】流转至 风险评估中 状态。

3 - 系统上线计划提交评估,向ITSM同步系统上线计划

整体配置

image-20220608152405659

Web请求配置

image-20220608152519695

请求地址:http://gitee-proxima-core:1337/app/osc/system_communicate/webhooks/syncSystemReleaseApproval

4 - 根据系统上线计划评估结果,流转上线计划状态

整体配置

image-20220608152636930

状态流转逻辑

  1. 当存在【系统上线计划】评估未通过 时,父【上线计划】也流转至 评估未通过
  2. 当所有子【系统上线计划】评估通过时,父【上线计划】流转至 评估通过状态

5 - 同步投产变更申请、需求审批单附件至系统上线计划

整体配置

image-20220608153535816

Web请求配置

请求地址:http://gitee-proxima-core:1337/app/osc/system_communicate/webhooks/setSystemReleaseAttachments

image-20220608153611837

6 - 系统上线计划附件上传完毕,流转上线计划状态

整体配置

image-20220608153711774

状态流转逻辑

当子【系统上线计划】状态全部为 待投产 时,将【上线计划】状态流转至 牵头人复核。

7 - 牵头人复核附件完成,向 ITSM 同步系统上线计划附件

整体配置

image-20220608153241206

Web请求配置

请求地址:http://gitee-proxima-core:1337/app/osc/system_communicate/webhooks/syncSystemReleaseAttachments

image-20220608153254389

8 - 根据系统上线计划上线结果,流转上线计划状态

整体配置

image-20220608154608416

Web请求配置

请求地址:http://gitee-proxima-core:1337/app/osc/system_communicate/webhooks/setReleasePlanStatus

image-20220608154629746

状态流转逻辑

  • 子【系统上线计划】事项的上线结果相同,即均为 上线成功/上线取消/上线回退 中的某一个时,将父【上线计划】也流转至对应状态。其中,当子【系统上线计划】全部上线成功时,父【上线计划】流转 至业务验证状态。
  • 子【系统上线计划】事项状态不一致时,将父【上线计划】状态流转至 人工确认 状态。

9 - 业务验证完成后,向 ITSM 同步验证结果

整体配置

image-20220608160012508

Web请求配置

请求地址:http://gitee-proxima-core:1337/app/osc/system_communicate/webhooks/syncOnlineVerifyResult

image-20220608160036510

10 - 上线完成后,流转业务需求状态

整体配置

image-20220608160154874

状态流转逻辑

  • 当父【业务需求】下存在 版本 字段相同的【部分上线申请】事项时,将【业务需求】流转至 部分上线 状态

    image-20220608160452259

  • 当父【业务需求】下的所有【部分上线申请】事项中的 版本 字段均与 【上线计划】不通,将【业务需求】流转至 全部上线状态

    image-20220608160502747

缺陷上线计划自动化配置

1 - 向 ITSM 同步缺陷上线计划

整体配置

image-20220608160722228

Web请求配置

请求地址:http://gitee-proxima-core:1337/app/osc/system_communicate/webhooks/syncBugFixPlanApproval

image-20220608160737506

2 - 向 ITSM 同步缺陷上线计划附件

整体配置

image-20220608160828960

Web请求配置

请求地址:http://gitee-proxima-core:1337/app/osc/system_communicate/webhooks/syncBugFixAttachments

image-20220608160840651

plugindemo's People

Contributors

mariojames avatar hengyuyao avatar

Watchers

 avatar

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.