Initial commit

This commit is contained in:
Docker7530
2026-03-01 01:43:46 +08:00
commit c6125c117b
3840 changed files with 415340 additions and 0 deletions
@@ -0,0 +1,496 @@
## 阶段代办
1、前置校验问题:暂时不做,产品改文档。
2、话单异常删除兜底
3、下发 BPM 重试机制(已完初版)
4、工单审批记录
5、信安异常捕捉
6、bpm 联调注意时间格式
7、bboss 联调工作
8、测试问题
![](../../../../attachment/images-uuid/5f2daf41af2a42b5b7bcddc8ab800bed.png)
9、重复入库问题:存储后是否会自动映射 id(验证后会自动映射)
10、事务自测,最外层事务是否保持关闭(目前为关闭)
11、工单详情页(自测已确认待最后验证用例确认)
12、邮件发送人员最终确认(待确认 sa 概念目前任务国际和集团都是政企 sa)
13、增加上线 patch 项,一个联系人配置项
14、省侧流程(已经跑过一次)
15、归属问题 拿过来了。
```json
{
"accessSystem":"IBS",
"account":"CDN-IBS",
"data":{
"tyywrwlcdx":{
"businessStartTime ":"2023-09-08 13:35:03",
"cdn_type":"web",
"code":"kt-0908133453",
"createDate":"2023-09-08 13:35:01",
"create_time":"2023-09-08 13:35:14",
"domains":[
"tianzhuo276482281.komect.com"
],
"nameOfClient":"测试企业-1694151073",
"operMail":"remaxob441@kamismail.comabc",
"operTel":"15700197926",
"operUser":"15700197926cmcc",
"plains":[
"0"
],
"pro_content":"业务开通(处理业务开通工单), web, 域名列表: tianzhuo276482281.komect.com",
"pro_title":"业务开通(处理业务开通工单)",
"prodType":"1",
"province":"JT",
"task_first_class":"3",
"task_second_class":"5",
"triggerMode":"manualTrigger",
"user_id":"921"
}
},
"flowKey":"tyywrwlc"
}
```
# 联调工作
> 2023 年 9 月 20 日晚上 6 点灰度开始联调,开始遇到 tocken 问题
## 测试用例 1- 试用单直接首次开通
**试用单**
100A230920170122001
**开通单**
100A230920170126001
**BBOSS 请求参数**
```json
{
"accessToken":"20231015100000202050f60a9b406191ec5c4aac005de9-0019-1694743200",
"busType":"BBSS",
"content":{
"BackFlag":"0",
"BillingMethod":"1",
"BizRequest":"100A230920170122001",
"BizStart":"20230920",
"BusiInfo":"",
"BusinessType":"1",
"DataFlow":"1",
"InfoSecurity":"",
"InfoSecurityTable":"",
"OrderNum":"100A230920170126001",
"ProdType":"1",
"ProductID":"61000616304"
},
"cutOffDay":"20230920",
"domain":"CDNP",
"envFlag":"0",
"routeType":"00",
"routeValue":"995",
"sessionID":"675cf2df623c47e69e523c0fd2b6f7b9",
"sign":"DE132BD55A30C04864CFA3D445BD0209",
"signMethod":"md5",
"timeStamp":"20230920185339",
"transIDO":"675cf2df623c47e69e523c0fd2b6f7b9",
"userPartyID":"BBSS9980",
"version":"1.0.0"
}
```
**下发话单参数**
注销试用单
```json
{
"productInfos":[
{
"billingMethod":"1", // 计费方式
"businessType":"1", // 试用单目前为产品类型 1234
"cancelStatus":"2", // 注销状态:注销
"cancelTime":"20230920185436", // 注销时间:当前时间
"createTime":"20230920183230", // 创建时间:试用单时间
"domain":"pull.api-eas-3.li.com", // 域名
"enterpriseId":"100A23100079275183", // 企业Id
"enterpriseName":"北京泽天伟业商贸有限公司", // 企业名称
"infoType":"1", // 订购类型,1为试商用,2为商用
"jobId":"100A230920170122001", // 试用工单工单号
"productId":"1", // 试用单目前为产品类型 1234
"province":"100" // 省份信息
}
]
}
```
下发商用单
```json
{
"productInfos":[
{
"billingMethod":"1",
"businessType":"1", // 试用单目前为产品类型 1234
"cancelStatus":"1", // 注销状态:未注销
"cancelTime":"20330920185436",
"createTime":"20230920185435",
"domain":"pull.api-eas-3.li.com",
"enterpriseId":"100A23100079275183",
"enterpriseName":"北京泽天伟业商贸有限公司",
"infoType":"2", // 订购类型,1为试商用,2为商用
"jobId":"100A230920170126001", // 工单号
"productId":"61000616304", // 商用为订购关系ID
"province":"100"
}
]
}
```
**大数据侧库信息**
![](../../../../attachment/images-uuid/03d55efcb68748b89b78a1946169a4dd.png)
**下发 bpm 参数**
```json
{
"accessSystem":"IBS",
"account":"CDN-IBS",
"data":{
"tyywrwlcdx":{
"businessStartTime":"2023-09-20 18:54:36",
"cdn_type":"web",
"code":"100A230920170126001",
"createDate":"2023-09-20 18:54:36", // 时间已处理
"create_time":"2023-09-20 18:54:36",
"domains":[
"pull.api-eas-3.li.com"
],
"nameOfClient":"北京泽天伟业商贸有限公司",
"operMail":"43",
"operTel":"18867110000",
"operUser":"beijingyunying",
"plains":[
"0"
],
"pro_content":"业务开通(处理业务开通工单), web, 域名列表: pull.api-eas-3.li.com",
"pro_title":"业务开通(处理业务开通工单)",
"prodType":"1",
"province":"BJ",
"task_first_class":"3",
"task_second_class":"5",
"triggerMode":"manualTrigger",
"user_id":"1458"
}
},
"flowKey":"tyywrwlc"
}
```
**邮件是否正常**
灰度环境无法验证邮件,开发环境已验证
**工单详情页**
![](../../../../attachment/images-uuid/63eecc8efb484e31a563236d36c28682.png)
**获取试用流量**
```json
{"result":"{\"code\":200,\"message\":\"成功\",\"result\":[{\"enterpriseId\":\"100A23100079275183\",\"productId\":\"1\",\"dataflow\":0.0,\"jobId\":\"100A230920170122001\"}]}"}
{
"code":200,
"message":"成功",
"result":[
{
"enterpriseId":"100A23100079275183",
"productId":"1",
"dataflow":0,
"jobId":"100A230920170122001"
}
]
}
```
## 测试用例 2- 非首次开通
**非首次开通**
100A230920170127001
**BBOSS 请求参数**
```json
{
"accessToken":"20231015100000202050f60a9b406191ec5c4aac005de9-0019-1694743200",
"busType":"BBSS",
"content":{
"BackFlag":"0",
"BillingMethod":"1",
"BizRequest":"100A230920170122001",
"BizStart":"20230920",
"BusiInfo":"100A230920170127001_50004020030_20230920191212.xlsx",
"BusinessType":"1",
"DataFlow":"1",
"InfoSecurity":"100A230920170127001_50004020027_20230920191212.xlsx",
"InfoSecurityTable":"100A230920170127001_50004020028_20230920191212.xlsx",
"OrderNum":"100A230920170127001",
"ProdType":"1",
"ProductID":"61000616305",
"ProvContent":[
{
"ProvReq":"pull.api-easss-3.li.com"
}
]
},
"cutOffDay":"20230920",
"domain":"CDNP",
"envFlag":"0",
"routeType":"00",
"routeValue":"995",
"sessionID":"f08ae70d9d694996aafb1314839c8b7e",
"sign":"F993E7C03523A3161BA84E856D9D0ABE",
"signMethod":"md5",
"timeStamp":"20230920191215",
"transIDO":"f08ae70d9d694996aafb1314839c8b7e",
"userPartyID":"BBSS9980",
"version":"1.0.0"
}
```
**下发话单参数**
```json
{
"productInfos":[
{
"billingMethod":"1",
"businessType":"1",
"cancelStatus":"1",
"cancelTime":"20330920191917",
"createTime":"20230920191917",
"domain":"pull.api-easss-3.li.com",
"enterpriseId":"100A23100079275183",
"enterpriseName":"北京泽天伟业商贸有限公司",
"infoType":"2",
"jobId":"100A230920170127001",
"productId":"61000616305",
"province":"100"
}
]
}
```
**下发 bpm 参数**
```json
{
"accessSystem":"IBS",
"account":"CDN-IBS",
"code":"100A230920170127001",
"createDate":"2023-09-20 19:13:12",
"data":{
"cdn_type":"web",
"cpId":"80171614",
"domains":[
"pull.api-easss-3.li.com"
],
"filelist":[
{
"name":"100A230920170127001_50004020027_20230920191212.xlsx"
},
{
"name":"100A230920170127001_50004020030_20230920191212.xlsx"
}
],
"nameOfClient":"北京泽天伟业商贸有限公司",
"numberOfDoamin":1,
"operMail":"43",
"operTel":"18867110000",
"operUser":"beijingyunying",
"sourceBasis":"100A230920170127001",
"sourceOfDemand":"IBS平台",
"titleOfDemand":"北京泽天伟业商贸有限公司业务开通工单"
},
"processType":"2",
"prodType":"1",
"province":"BJ",
"userList":[
{
"userMail":"yuhuazheng@aspirecn.com",
"userName":"15512341234cmcc",
"userTel":"15512341234"
}
]
}
```
**邮件是否正常**
灰度环境无法验证邮件,开发环境已验证
**工单详情页**
![](../../../../attachment/images-uuid/e5e2476678244d54a7ca378bcb4d7486.png)
## 测试用例 3- 存在试用变更的开通
**试用单**
100A230920170128001
**试用变更单**
100A230920170129001
**首次开通单**
100A230920170130001
**BBOSS 请求参数**
```json
{
"accessToken":"20231015100000202050f60a9b406191ec5c4aac005de9-0019-1694743200",
"busType":"BBSS",
"content":{
"BackFlag":"0",
"BillingMethod":"1",
"BizRequest":"100A230920170128001",
"BizStart":"20230930",
"BusiInfo":"",
"BusinessType":"4",
"DataFlow":"12121",
"InfoSecurity":"",
"InfoSecurityTable":"",
"OrderNum":"100A230920170130001",
"ProdType":"1",
"ProductID":"61000616307"
},
"cutOffDay":"20230920",
"domain":"CDNP",
"envFlag":"0",
"routeType":"00",
"routeValue":"995",
"sessionID":"4ed55605c6c3464fb064bb2b4d2864b4",
"sign":"F8854E7485C6BA6C0B3BC4752AE2FB54",
"signMethod":"md5",
"timeStamp":"20230920193956",
"transIDO":"4ed55605c6c3464fb064bb2b4d2864b4",
"userPartyID":"BBSS9980",
"version":"1.0.0"
}
```
**下发话单参数**
```json
{
"productInfos":[
{
"billingMethod":"1",
"businessType":"4",
"cancelStatus":"1",
"cancelTime":"20330920194051",
"createTime":"20230930000000",
"domain":"pull.api-eassss-3.li.com",
"enterpriseId":"100A23100079275183",
"enterpriseName":"北京泽天伟业商贸有限公司",
"infoType":"2",
"jobId":"100A230920170130001",
"productId":"61000616307",
"province":"100"
},
{
"billingMethod":"1",
"businessType":"4",
"cancelStatus":"1",
"cancelTime":"20330920194051",
"createTime":"20230930000000",
"domain":"pull.api-aeassss-3.li.com",
"enterpriseId":"100A23100079275183",
"enterpriseName":"北京泽天伟业商贸有限公司",
"infoType":"2",
"jobId":"100A230920170130001",
"productId":"61000616307",
"province":"100"
}
]
}
```
**下发 bpm 参数**
```json
{
"accessSystem":"IBS",
"account":"CDN-IBS",
"data":{
"tyywrwlcdx":{
"businessStartTime":"2023-09-30 00:00:00",
"cdn_type":"liveStream",
"code":"100A230920170130001",
"createDate":"2023-09-20 19:40:52",
"create_time":"2023-09-20 19:40:52",
"domains":[
"pull.api-eassss-3.li.com",
"pull.api-aeassss-3.li.com"
],
"nameOfClient":"北京泽天伟业商贸有限公司",
"operMail":"43",
"operTel":"18867110000",
"operUser":"beijingyunying",
"plains":[
"-1"
],
"pro_content":"业务开通(处理业务开通工单), liveStream, 域名列表: pull.api-eassss-3.li.com,pull.api-aeassss-3.li.com",
"pro_title":"业务开通(处理业务开通工单)",
"prodType":"1",
"province":"BJ",
"task_first_class":"3",
"task_second_class":"5",
"triggerMode":"manualTrigger",
"user_id":"1458"
}
},
"flowKey":"tyywrwlc"
}
```
**邮件是否正常**
灰度环境无法验证邮件,开发环境已验证
**工单详情页**
![](../../../../attachment/images-uuid/788aa12154da471eb5de959a7d93b516.png)
**定时任务情况**
```java
2023-09-20 11:40:52 [,,,,] [http-nio-8080-exec-9] INFO com.cmcc.cdn.platform.common.quartz.service.impl.ScheduleServiceImpl 143 createScheduleJob - 创建任务调度器并注册任务成功,taskName=BBossOrderJob$$EnhancerBySpringCGLIB$$dfc3d364_100A230920170130001_20230929160000
```
![](../../../../attachment/images-uuid/578e3af09da248bea38ef5767608a0d1.png)
![](../../../../attachment/images-uuid/83a0b43fe5a341048d5ee9a3a85e9cdc.png)