# 2019年11月27日【发布】TASK#1409 【测试】OA流程 / OA - 禅道

[http://zbox.sjfx.com.cn/zentao/task-view-1409.html](http://zbox.sjfx.com.cn/zentao/task-view-1409.html)

分支：feature_oa_flow

服务：tenant,authorization,corpwx,oaflow,oa-gateway,oss, message-push,mobile

开发：况秋勇，李俊

脚本：2019-10-28_feature_oa_flow.sql

一、oa-gateway配置文件

1）oa-gateway-application.properties

#server

server.port=20450

#dubbo

dubbo.protocol.port=20451

dubbo.application.owner=kuangqiuyong

# for spring cloud gateway

hystrix.command.default.execution.timeout.enabled=false

spring.cloud.gateway.httpclient.connect-timeout=10000

spring.cloud.gateway.httpclient.response-timeout=15s

hystrix.command.gateway.execution.isolation.semaphore.maxConcurrentRequests=800

hystrix.command.default.execution.isolation.semaphore.maxConcurrentRequests=20

2）oa-gateway-application-pre.properties

spring.datasource.url=jdbc:mysql://192.168.1.23:13000/oa_gateway?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai

spring.datasource.username=sjfx

spring.datasource.password=123456

sqlserver.datasource.minimumIdle=1

sqlserver.datasource.maximumPoolSize=5

sqlserver.datasource.cachePrepStmts=true

sqlserver.datasource.prepStmtCacheSize=250

sqlserver.datasource.prepStmtCacheSqlLimit=2048

sqlserver.datasource.connTimeout=30000

二、oaflow-application.properties

#server

server.port=20440

#dubbo

dubbo.protocol.port=20441

#rocketmq

rocketmq.producer.enable=true

rocketmq.consumer.enable=true

三、application.properties

# redis db

增加项：oaflow:57, 'oa-gateway':58

四、oss-application.properties

#oss-oa

oaflow.endpoint=oss-cn-hangzhou.aliyuncs.com

oaflow.bucket=sjfx-oaflow

oaflow.dir=

oaflow.access-key-id=LTAI4Fd9Bahx8MTDfnRXHtJo

oaflow.access-key-secret=B0c9

2deqDeC0feCJkBy9RIipmuCM

oaflow.callback=${sjfx.host.name}/oss/callback

[2019-10-28_feature_oa_flow.sql](2019-10-28_feature_oa_flow.sql)

------
------

服务：corpwx

------
版本：1.0.0.1574752882

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/deploy-f3-h3/136/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/build-f3-h3/154/consoleText)

------
回滚版本：1.0.0.1574683419

------

------
------

服务：message-push

------
版本：1.2.0.1574752973

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/deploy-f4-h4/34/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/build-f4-h4/13/consoleText)

------
回滚版本：1.2.0.1573883662

------

------
------

服务：oss

------
版本：1.2.0.1574752888

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/deploy-g2-i2/29/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/build-g2-i2/11/consoleText)

------
回滚版本：1.2.0.1564370455

------

------
------

服务：prod-mobile

------
版本：1.2.0.1574752923

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/2-deploy-web-mobile/225/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/1-web-mobile-to-prod/231/consoleText)

------
回滚版本：1.2.0.1574397834

------

------
------

服务：tenant

------
版本：1.2.0.1574753228

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/deploy-f4-h4-g4-i4/55/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/build-f4-h4-g4-i4/61/consoleText)

------
回滚版本：1.2.0.1574683438

------

------
------

服务：authorization

------
版本：1.2.0.1574753342

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/deploy-f1-h1-g1-i1/169/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/build-f1-h1-g1-i1/190/consoleText)

------
回滚版本：1.2.0.1573801728

------

------
------

服务：oaflow

------
版本：1.2.0.1574839266

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/deploy-f2-h2/158/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/build-f2-h2/201/consoleText)

------
回滚版本：1.2.0.1574752849

------

------
------

服务：corpwx

------
版本：1.0.0.1574839347

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/deploy-f3-h3/137/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/build-f3-h3/155/consoleText)

------
回滚版本：1.0.0.1574752882

------

------
------

服务：authorization

------
版本：1.2.0.1574839287

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/deploy-f1-h1-g1-i1/170/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/build-f1-h1-g1-i1/191/consoleText)

------
回滚版本：1.2.0.1574753342

------

------
------

服务：oss

------
版本：1.2.0.1574839365

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/deploy-g2-i2/30/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/build-g2-i2/12/consoleText)

------
回滚版本：1.2.0.1574752888

------

------
------

服务：message-push

------
版本：1.2.0.1574839372

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/deploy-f4-h4/35/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/build-f4-h4/14/consoleText)

------
回滚版本：1.2.0.1574752973

------

------
------

服务：tenant

------
版本：1.2.0.1574839289

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/deploy-f4-h4-g4-i4/56/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/build-f4-h4-g4-i4/62/consoleText)

------
回滚版本：1.2.0.1574753228

------

------
------

服务：prod-mobile

------
版本：1.2.0.1574839381

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/2-deploy-web-mobile/227/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/1-web-mobile-to-prod/233/consoleText)

------
回滚版本：1.2.0.1574818841

------

------
------

服务：oa-gateway

------
版本：1.2.0.1574839427

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/deploy-f2-h2/159/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/build-f2-h2/202/consoleText)

------
回滚版本：1.2.0.1574753000

------

------

C:\vuecode\cypress>npx cypress run 


====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    3.5.0                                                                              │
  │ Browser:    Electron 73 (headless)                                                             │
  │ Specs:      1 found (all.spec.js)                                                              │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                    
  Running:  all.spec.js                                                                     (1 of 1)
##teamcity[testSuiteStarted name='login and logout' flowId='7180']
##teamcity[testStarted name='visit' captureStandardOutput='true' flowId='7180']
##teamcity[testFinished name='visit' duration='1756' flowId='7180']
##teamcity[testStarted name='login' captureStandardOutput='true' flowId='7180']
##teamcity[testFinished name='login' duration='2234' flowId='7180']
##teamcity[testStarted name='parameter set' captureStandardOutput='true' flowId='7180']
##teamcity[testFinished name='parameter set' duration='105' flowId='7180']
##teamcity[testStarted name='wechat' captureStandardOutput='true' flowId='7180']
##teamcity[testFinished name='wechat' duration='10470' flowId='7180']
##teamcity[testStarted name='employee' captureStandardOutput='true' flowId='7180']
##teamcity[testFinished name='employee' duration='117' flowId='7180']
##teamcity[testStarted name='store' captureStandardOutput='true' flowId='7180']
##teamcity[testFinished name='store' duration='131' flowId='7180']
##teamcity[testStarted name='account' captureStandardOutput='true' flowId='7180']
##teamcity[testFinished name='account' duration='644' flowId='7180']
##teamcity[testStarted name='tag' captureStandardOutput='true' flowId='7180']
##teamcity[testFinished name='tag' duration='2525' flowId='7180']
##teamcity[testStarted name='bill' captureStandardOutput='true' flowId='7180']
##teamcity[testFinished name='bill' duration='1183' flowId='7180']
##teamcity[testStarted name='sms' captureStandardOutput='true' flowId='7180']
##teamcity[testFinished name='sms' duration='1095' flowId='7180']
##teamcity[testStarted name='theme' captureStandardOutput='true' flowId='7180']
##teamcity[testFinished name='theme' duration='1129' flowId='7180']
##teamcity[testStarted name='logout' captureStandardOutput='true' flowId='7180']
##teamcity[testFinished name='logout' duration='1838' flowId='7180']
##teamcity[testSuiteFinished name='login and logout' duration='23282' flowId='7180']

  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        12                                                                               │
  │ Passing:      12                                                                               │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     23 seconds                                                                       │
  │ Spec Ran:     all.spec.js                                                                      │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF                                                     
  -  Finished processing: C:\vuecode\cypress\cypress\videos\all.spec.js.mp4               (1 second)


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped  
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ √  all.spec.js                              00:23       12       12        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    √  All specs passed!                        00:23       12       12        -        -        -  


------
查看测试详情：[https://git.sjfx.com.cn/report/publish/blob/master/2019-11/task1409.mp4](https://git.sjfx.com.cn/report/publish/blob/master/2019-11/task1409.mp4)
------
