Initial commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
来源:前端
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
@@ -0,0 +1,44 @@
|
||||
来源:运营
|
||||
|
||||
www.fdjkqzxx.com
|
||||
|
||||
自主配置域名还在删除中编号:ZdB14OkZUFerVl6a 辛苦查看下
|
||||
|
||||
李哥,有个管道话问题,平时接触管道话少也不知道哪个群找你合适,单独咨询下。pm9d09ca3aee914adeae52023ddb69bbef
|
||||
|
||||
这个任务没回调是为啥呀。
|
||||
|
||||
```
|
||||
2024-01-02 10:19:59 [ibs-portal:sh-lgcmcc05.shlg.cmcdn.net:8080,,,,] [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-2] INFO com.cmcc.cdn.platform.selfservice.service.impl.BigCloudBasicInfoServiceImpl 973 lambda$repeatXinan$0 - 【请求信安接口】param:{"delete_user_info_list":[{"user_id_cdn":"QjnMymJpP"}]}, 返回结果:{resp={"_status": "ERR", "_error": {"message": "The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.", "code": 401}}, status=401}
|
||||
```
|
||||
|
||||
```
|
||||
{
|
||||
"delete_user_info_list":[
|
||||
{
|
||||
"user_id_cdn":"QjnMymJpP"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
```
|
||||
{"_status": "ERR", "_error": {"message": "The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.", "code": 401}}, status=401}
|
||||
```
|
||||
|
||||

|
||||
|
||||
嗯,前期写了故障恢复接口。。调/admincontro/taskprocessalarm/handle/xxxxxxxxxxxxxxxxxxxx
|
||||
|
||||
具体参数 xxxxxxxxxxx 看逻辑代码和数据库吧
|
||||
|
||||
第一种方案需要超管权限。
|
||||
|
||||
第二种方案在确认配管已经回调的情况下:走这个接口
|
||||
|
||||
https://p.cdn.10086.cn/actionpm?commandType=pipeDomainCallBack&version=1
|
||||
|
||||
异常处理表
|
||||
|
||||
select *
|
||||
from sys_task_process_alarm;
|
||||
@@ -0,0 +1,5 @@
|
||||
来源:测试
|
||||
|
||||

|
||||
|
||||
代码中最外层包裹了验收成功。
|
||||
@@ -0,0 +1,93 @@
|
||||
来源:测试
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
产品查询接口
|
||||
|
||||
/workorder/filter/product
|
||||
|
||||
www.baosheng03.com
|
||||
|
||||
## 问题一
|
||||
|
||||
测试环境发现客户经理提交域名配置需求工单失败:定位为空指针异常,无对应试用单。
|
||||
|
||||
## 问题二
|
||||
|
||||
同时测试问为什么试用产品可以提单
|
||||
|
||||
## 问题流程
|
||||
|
||||
1、背景为这个产品是非首次开通引入,但是驳回了。
|
||||
|
||||

|
||||
|
||||
2、非首次开通收到工单的时候 ep_product_chargemode 的 product_state 存储为 3 试用中(验收反馈才会变为 4 开通)。同时会向 product_trial 及其关联表 product_trial_domain 存储域名。
|
||||
|
||||
3、当非首次开通退回时未处理 ep_product_chargemode 和 product_trial_domain
|
||||
|
||||
4、导致域名配置需求工单在企业对应产品筛查列表中筛查出响应的产品
|
||||
|
||||
com.cmcc.cdn.platform.selfservice.controller.NewWorkOrderController#filterProduct
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
主要日志
|
||||
|
||||
```
|
||||
2024-01-17 09:38:52 [ibs-portal:chiqingguo57.cmp11428.openpf:8088,,,,] [http-nio-8088-exec-9] WARN org.hibernate.engine.jdbc.spi.SqlExceptionHelper 137 logExceptions - SQL Error: 1048, SQLState: 23000
|
||||
|
||||
2024-01-17 09:38:52 [ibs-portal:chiqingguo57.cmp11428.openpf:8088,,,,] [http-nio-8088-exec-9] ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper 142 logExceptions - Column 'pre_task_id' cannot be null
|
||||
|
||||
2024-01-17 09:38:52 [ibs-portal:chiqingguo57.cmp11428.openpf:8088,,,,] [http-nio-8088-exec-9] ERROR com.cmcc.cdn.platform.selfservice.pojo.TaskProcessTaskPack 78 excTaskAndAlarm - could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
|
||||
|
||||
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:276) ~[spring-orm-5.3.28.jar!/:5.3.28]
|
||||
|
||||
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:233) ~[spring-orm-5.3.28.jar!/:5.3.28]
|
||||
```
|
||||
|
||||
问题根源在于入库,后边解决问题,遇到数据库异常要观察表结构。
|
||||
|
||||
测试库:
|
||||
|
||||

|
||||
|
||||
生产库:
|
||||
|
||||

|
||||
|
||||
更改字段是否为空 sql 语句
|
||||
|
||||
```sql
|
||||
ALTER TABLE sys_task_process MODIFY pre_task_id YOUR_DATA_TYPE NULL;
|
||||
```
|
||||
|
||||
## 验证点
|
||||
|
||||
1、非首次开通,建单后 ep_charge 表不新增数据,域名配置需求工单列表查不到产品与订购,企业管理页面查不到新产品
|
||||
|
||||
2、阶段反馈后,下发商用话单正常
|
||||
|
||||
3、阶段反馈后,域名管理界面 计费时间显示为当前时间
|
||||
|
||||
4、验收反馈后,域名管理界面 计费时间刷新为 bpm 反馈时间
|
||||
|
||||
5、验收反馈后,域名配置需求工单列表能够查到新产品与订购,ep_charge 表有新数据,企业管理页面产品状态正常
|
||||
|
||||
6、新建域名配置需求工单,客户经理管理员审批后,下发话单正常,话单时间为 bpm 反馈时间,域名管理界面 计费时间为 bpm 反馈时间
|
||||
|
||||
非首次开通之前那个问题我也跑了跑。
|
||||
|
||||
流程交互上没问题我感觉。我看了看你改的基本上是这两个场景吧。
|
||||
|
||||
open_time 小于 5 分钟直接验收 ep_product_chargemode 入库。
|
||||
|
||||
大于 5 分钟的未来时间需要通过到时间 BBossOrderJob 执行后 ep_product_chargemode 入库。
|
||||
@@ -0,0 +1,7 @@
|
||||
来源:测试
|
||||
|
||||
# 是不是只有已生效的域名才能需求变更
|
||||
|
||||
这个下拉列表历史逻辑就是没有已停用的。
|
||||
|
||||
com.cmcc.cdn.platform.selfservice.service.impl.BssManageServiceImpl#getEffectAdaptDomainInfo
|
||||
@@ -0,0 +1,11 @@
|
||||
来源:测试
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
最终原因是因为因为验收的时候省份信息字段作用域过大,导致省份信息重复设置值。
|
||||
|
||||
com.cmcc.cdn.platform.selfservice.service.impl.AdaptWorkOrderServiceImpl#esopBpmFeedBackApprove
|
||||
|
||||

|
||||
@@ -0,0 +1,53 @@
|
||||
来源:运营
|
||||
|
||||
## 中国移动通信集团辽宁有限公司
|
||||
|
||||
pm921dd06557ee485f95e866b3a9e2e7d2
|
||||
|
||||
```
|
||||
'www.dalianxg.jcy.gov.cn', 'www.dalianzs.jcy.gov.cn', 'www.daliancxd.jcy.gov.cn', 'www.daliancj.jcy.gov.cn',
|
||||
'www.lnwafangdian.jcy.gov.cn', 'www.lnchanghai.jcy.gov.cn', 'www.lnzhuanghe.jcy.gov.cn', 'www.dlzh.gov.cn',
|
||||
'www.dldj.gov.cn', 'www.dalian.jcy.gov.cn', 'www.dlxg.gov.cn', 'www.zhiyuntech.cn', 'anshengmall.com',
|
||||
'm-wifi.9451.com', 'www.djtu.edu.cn', 'www.dlpbb.com', 'www.9451.com', 'www.dlzgh.org', 'netcgroup.com',
|
||||
'www.dlgyy.com', 'wap.dltv.cn', 'megaunity.com', 'www.dltv.cn', 'xfj.dl.gov.cn'
|
||||
```
|
||||
|
||||
自主配置域名还在删除流程中(1 月 2 号申请的),统一处理下吧
|
||||
|
||||
```
|
||||
2024-01-02 03:59:58 [ibs-portal:sh-ibs01.shlg.cmcdn.net:8080,,,,] [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-2] INFO com.cmcc.cdn.platform.selfservice.service.impl.PortalInformationTransServiceImpl 73 deleteUsers - 企业删除同步信安,userCdnList:{"delete_user_info_list":[{"user_id_cdn":"SbrEFFMtb"}]}
|
||||
```
|
||||
|
||||
```
|
||||
2024-01-02 04:00:02 [ibs-portal:sh-ibs01.shlg.cmcdn.net:8080,,,,] [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-2] INFO com.cmcc.cdn.platform.common.util.HttpUtil 342 doHttpRequest2 - url:https://117.136.191.90:5151/v1.0/delete_user_info, method:post, 返回的状态码为:401
|
||||
|
||||
2024-01-02 04:00:02 [ibs-portal:sh-ibs01.shlg.cmcdn.net:8080,,,,] [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-2] INFO com.cmcc.cdn.platform.common.util.HttpUtil 348 doHttpRequest2 - url:https://117.136.191.90:5151/v1.0/delete_user_info, method:post, 返回的请求体:{"_status": "ERR", "_error": {"message": "The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.", "code": 401}}
|
||||
|
||||
2024-01-02 04:00:02 [ibs-portal:sh-ibs01.shlg.cmcdn.net:8080,,,,] [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-2] INFO com.cmcc.cdn.platform.selfservice.service.impl.BigCloudBasicInfoServiceImpl 973 lambda$repeatXinan$0 - 【请求信安接口】param:{"delete_user_info_list":[{"user_id_cdn":"SbrEFFMtb"}]}, 返回结果:{resp={"_status": "ERR", "_error": {"message": "The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.", "code": 401}}, status=401}
|
||||
|
||||
2024-01-02 04:00:02 [ibs-portal:sh-ibs01.shlg.cmcdn.net:8080,,,,] [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-2] INFO com.cmcc.cdn.platform.selfservice.service.impl.BigCloudBasicInfoServiceImpl 1389 deletedInformationUser - informatiuonTokenResponse:"{\"_status\": \"ERR\", \"_error\": {\"message\": \"The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.\", \"code\": 401}}"
|
||||
```
|
||||
|
||||
## 四川省公司也反馈了 基本都在 1- 今天
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
注意回调请求体
|
||||
|
||||

|
||||
|
||||
## 凯炜信息
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
这个问题,目前是先进行了回调。但是根本问题,如果有时间的话还是要再看看。至少找到问题的根本。
|
||||
@@ -0,0 +1,21 @@
|
||||
来源:测试
|
||||
|
||||
试用域名
|
||||
|
||||
通过 TestOrderFlowMonitorJob 触发试用流量耗尽
|
||||
|
||||
改 testorder_info
|
||||
|
||||
表的 flow_consume_mark_time 时间为 2 天前
|
||||
|
||||
通过 TestOrderFlowMonitorJob 再触发停用,回调停用
|
||||
|
||||
再点删除,再通用运维回调会下发注销话单。
|
||||
|
||||

|
||||
|
||||
代码位置
|
||||
|
||||
com.cmcc.cdn.platform.selfservice.service.impl.BssManageServiceImpl#deleteForDomain
|
||||
|
||||
com.cmcc.cdn.platform.selfservice.service.impl.TestOrderServiceImpl#endTestOrderAutomatic(java.lang.String)
|
||||
@@ -0,0 +1,23 @@
|
||||
来源:测试
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
```
|
||||
{
|
||||
"ibs_code": "002-20240104007",
|
||||
"result": "退回不受理",
|
||||
"message": "message"
|
||||
}
|
||||
```
|
||||
|
||||
这个可以这样子你明天自己走下流程,如果符合我说的场景。你可以和产品提一下。
|
||||
|
||||
这个应该需要产品和 bpm 再次确认好。
|
||||
|
||||
com.cmcc.cdn.platform.selfservice.entity.workorder.ConfigChangeWorkOrderPO#canModify
|
||||
|
||||

|
||||
@@ -0,0 +1,42 @@
|
||||
来源:测试
|
||||
|
||||
# 问题
|
||||
|
||||
域名配置需求工单,在提单的时候如果是单个域名,是合法的。但是如果是批量域名,域名列表显示的非法的。
|
||||
|
||||
最终排查位置:com.cmcc.cdn.platform.selfservice.order.DomainOrderService#updateCheckedIcpInfo
|
||||
|
||||
因为当用域名获取信安信息后 Map 中是真域名对应的备案号。
|
||||
|
||||
但是后边直接用这个 Map 去查库了,导致更新的是真实域名的备案号。
|
||||
|
||||
进行了 Map 的更新。
|
||||
|
||||

|
||||
|
||||
```java
|
||||
if (WorkOrderEnums.Type.domain_request.name().equals(order.getType())) {
|
||||
// 因map中生成的为【真实域名,真实域名对应的备案号】,需替换为【假域名,真实域名对应的备案号】格式刷库
|
||||
for (BatchSelfDomainPO batchSelfPo : ls) {
|
||||
String cpDomain = batchSelfPo.getCpDomain();
|
||||
String domain = batchSelfPo.getDomain();
|
||||
if (StringUtils.isNotEmpty(cpDomain)) {
|
||||
map.put(domain, map.get(cpDomain));
|
||||
map.remove(cpDomain);
|
||||
}
|
||||
}
|
||||
selfServiceDomainConfigService.updateLegalByMap(map);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateLegalByMap(Map<String, String> map) {
|
||||
for (Map.Entry<String, String> stringStringEntry : map.entrySet()) {
|
||||
SelfServiceDomainConfigPO po = selfServiceDomainConfigDao.findByDomain(stringStringEntry.getKey()).orElse(null);
|
||||
if (Objects.nonNull(po)) {
|
||||
po.setLegal(StringUtils.isNotEmpty(po.getIcp()) ? po.getIcp().equals(stringStringEntry.getValue()) : false);
|
||||
// po.setIcp(stringStringEntry.getValue());
|
||||
selfServiceDomainConfigDao.save(po);
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,11 @@
|
||||
来源:运营
|
||||
|
||||
# 问题
|
||||
|
||||
scjdglj.chongyang.gov.cn
|
||||
|
||||
编号:5d4fBTb0Sn4u1aRZ
|
||||
|
||||

|
||||
|
||||

|
||||
@@ -0,0 +1,73 @@
|
||||
来源:春良
|
||||
|
||||
# 问题
|
||||
|
||||
519 个域名
|
||||
|
||||
27 个域名多平面
|
||||
|
||||
6 个域名有删除记录
|
||||
|
||||
驳回(004-20230529001)
|
||||
|
||||
hlsztetrialmgsplive.a208.ottcn.com
|
||||
|
||||
hlsztetrialmgsplive.miguvideo.com
|
||||
|
||||
hlszytrialmgsplive.a208.ottcn.com
|
||||
|
||||
hlszytrialmgsplive.miguvideo.com
|
||||
|
||||
驳回(004-20230526003:同工单还有一个 hlsdmzymgsplive.miguvideo.com)
|
||||
|
||||
hlsztemgsplive.a208.ottcn.com
|
||||
|
||||
hlszymgsplive.a208.ottcn.com
|
||||
|
||||
良哥,这个活儿能再具体点吗比如说哪个是多平面然后下发了单平面?我筛了一下,就是 519 个域名,excle 里 27 个域名多平面,其中 6 个域名有删除记录
|
||||
|
||||
但是这 6 个域名是两个驳回单删除的。驳回(004-20230529001)驳回(004-20230526003)。
|
||||
|
||||
看驳回是后台关的{"ibs_code":"004-20230526003","message":" 因业务调整,后台关闭工单 ","result":" 退回不受理 "}
|
||||
|
||||
select *
|
||||
|
||||
from work_order
|
||||
|
||||
where corp_name = ' 咪咕视讯 '
|
||||
|
||||
and source = 'WEB'
|
||||
|
||||
and type = 'DOMAIN_DELETE'
|
||||
|
||||
order by id desc;
|
||||
|
||||
2024-01-09 09:42:21(oyGshWXJfC0a4AMp)
|
||||
|
||||
2023-01-11 09:20:34(2EBhLBFO5GdXthEQ)
|
||||
|
||||
2023-01-11 09:19:55(JrtqT4RPHlSbExHs)
|
||||
|
||||
2023-01-11 02:49:41(xTHPoXpAUQvhBRdl) 运维系统
|
||||
|
||||
2023-01-11 02:47:47(LGn5eCjMYM29Rg8L) 运维系统
|
||||
|
||||
select *
|
||||
|
||||
from domain_delete_record
|
||||
|
||||
where domain in ('yxhdpic.itv.cmvideo.cn',
|
||||
|
||||
'appot-sc.a282.ottcn.com',
|
||||
|
||||
'programot-sc.a282.ottcn.com',
|
||||
|
||||
'commonot-sc.a282.ottcn.com',
|
||||
|
||||
'vmsot-sc.a282.ottcn.com');
|
||||
|
||||
分辨不出来哪个是有问题的。
|
||||
|
||||
最近的一个删除来说 oyGshWXJfC0a4AMp,对应的域名配置的就是自研(杭研),是那种 20 年的老单子引入的。删除下发的就是一个平面 0。
|
||||
|
||||
对就是这个。这就是 2024-01-09 09:42:21 删除的。我看了引入,然后删除下发通用运维,通用运维回传,删除记录。
|
||||
@@ -0,0 +1,36 @@
|
||||
来源:客响
|
||||
|
||||
此问题是总结来的,今天调整笔记结构放在问题处理中。
|
||||
|
||||
```sql
|
||||
#首次开通单数据处理
|
||||
业务开通订单号:NO.000A230428371002001
|
||||
订购关系ID:60000013334
|
||||
开通时间2023-04-30 00:00:00
|
||||
处理动作:
|
||||
1、更新订购关系记录
|
||||
|
||||
UPDATE `productid_info` SET `develop_stage` = 3, `business_start_time` = '2023-04-30 00:00:00' WHERE `id` = 126;
|
||||
|
||||
2、流程中结束当前审核人记录
|
||||
|
||||
UPDATE `order_process` SET `updated_time` = now(), `status` = 1 WHERE `id` = 2446;
|
||||
|
||||
3、更新工单状态、更新业务受理工单明细
|
||||
|
||||
UPDATE `order_info` SET `updated_time` = now(), `result` = '开通成功', `order_state` = 3 WHERE `id` = 1448;
|
||||
|
||||
#下发话单 portal机器执行
|
||||
curl -ksS -X POST -H 'Content-type: application/json' -d '{"ecId":"000AE0002022020820525230","productType":"2","orderNum":"000A221208088579001","billMethod":"3","productId":"60000013334"}' 'https://p.cdn.10086.cn/portal/bss/businessorder'
|
||||
|
||||
#开通单提交反馈bboss bss机器执行
|
||||
curl -ksS -X POST -H 'Content-type: application/json' -d '{"accessToken":"20230524084725eb94a679d44a4173b89faa0f428d82c4-0330-1682297245","busType":"BBSS","content":{"BackFlag":"0","DevelopStage":"3","OrderNum":"000A230428371002001","ProductID":"60000013334","StartDate":"20230430000000"},"domain":"BBSS","envFlag":"1","routeType":"00","routeValue":"998","sessionID":"632b81fc20c14f05ba52b10332e7f8","sign":"ECBBD5DCB2DF714595D5185D6460073F","signMethod":"md5","timeStamp":"20230505090814","transIDO":"632b81fc20c14f05ba52b10332e7f8","version":"1.0.0"}' 'https://bss.cmcdn.cdn.10086.cn/sync/BBOSS/BusiProvResultServ'
|
||||
|
||||
UPDATE `bbossorder_info` SET `develop_stage` = 3, `remark` = '处理成功', `result_rsp` = '00', `start_time` = '2023-04-30 00:00:00', `order_state` = 3 WHERE `id` = 126;
|
||||
|
||||
|
||||
4、新增当前审核人的操作
|
||||
|
||||
INSERT INTO `order_info_history_record`(`created_time`, `deleted`, `updated_time`, `handle_action`, `next_operator`, `operation_user_mobile`, `operation_user_name`, `operator_user_email`, `operator_user_role`, `order_id`, `pre_order_explain`, `predict_test_end_time`, `remark`, `result`, `test_actu_time`, `test_end_date`, `test_start_time`, `turn_on_time`, `complete_time`, `modify_date`, `reason`) VALUES (now(), b'0', now(), 2, NULL, '13693662092', '朱鹏昊', 'zhupenghao@cmhi.chinamobile.com', '集团集团运营经理', 1448, NULL, NULL, '处理成功', '开通成功', NULL, NULL, NULL, '2023-04-30 00:00:00', NULL, NULL, NULL);
|
||||
|
||||
```
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,15 @@
|
||||
来源:产品
|
||||
|
||||
~~业务变更工单~~
|
||||
|
||||
~~业务暂停工单~~
|
||||
|
||||
~~业务恢复工单~~
|
||||
|
||||
~~试用暂停工单~~
|
||||
|
||||
~~试用恢复工单~~
|
||||
|
||||
业务注销工单
|
||||
|
||||
~~商机关闭工单~~
|
||||
@@ -0,0 +1,61 @@
|
||||
来源:客响
|
||||
|
||||
```
|
||||
'www.sdfyhg.com',
|
||||
'en.sdfyhg.com',
|
||||
'dyljfy.sdcourt.gov.cn',
|
||||
'www.sdhbjg.cn',
|
||||
'zbdl.sljl.cn',
|
||||
'cjgyz.com.cn',
|
||||
'ticket.kzbwg.cn',
|
||||
'bpm.shengrunqc.com',
|
||||
'jinxiangrencai.com',
|
||||
'm.yuqiaofu.com',
|
||||
'smtp.qftemb.com',
|
||||
'pop.qftemb.com',
|
||||
'lmsrs.qfzyyxx.com',
|
||||
'imap.anlitaigroup.com',
|
||||
'smtp.anlitaigroup.com',
|
||||
'm.hylj.cc',
|
||||
'hylj.cc',
|
||||
'www.zhuowengroup.com',
|
||||
'zhuowengroup.com',
|
||||
'ys.sdfyhg.com',
|
||||
'www.ydzry.com',
|
||||
'mail.sanyanggroup.com',
|
||||
'www.laiwu.gov.cn',
|
||||
'jw.laiwu.gov.cn',
|
||||
'laiwu.gov.cn',
|
||||
'www.gangcheng.gov.cn',
|
||||
'en.sanlityre.com',
|
||||
'm.en.sanlityre.com',
|
||||
'laiwubus.com',
|
||||
'www.airpower.cn',
|
||||
'www.sdhuijin.com',
|
||||
'www.lwytjx.com',
|
||||
'www.sdgude.com'
|
||||
|
||||
pm8cabcec13bf1415baa720f92ec0d8b3b,5
|
||||
pmbb2bc0bc3d0043b6b99c39afa14c3983,12
|
||||
pme6abd2141c624607a825f3f0b64f3ccb,11
|
||||
pmee14b784ec6b463bbf7cc40d5d6105e8,5
|
||||
|
||||
|
||||
'pm8cabcec13bf1415baa720f92ec0d8b3b',
|
||||
'pmbb2bc0bc3d0043b6b99c39afa14c3983',
|
||||
'pme6abd2141c624607a825f3f0b64f3ccb',
|
||||
'pmee14b784ec6b463bbf7cc40d5d6105e8'
|
||||
|
||||
pm8cabcec13bf1415baa720f92ec0d8b3b,5
|
||||
pmbb2bc0bc3d0043b6b99c39afa14c3983,12
|
||||
pme6abd2141c624607a825f3f0b64f3ccb,11
|
||||
pmee14b784ec6b463bbf7cc40d5d6105e8,5
|
||||
|
||||
|
||||
pmee14b784ec6b463bbf7cc40d5d6105e8 2024-01-11 15:20:02 {'success': True, 'messageId': 'pmee14b784ec6b463bbf7cc40d5d6105e8', 'message': 'OK', 'status': 0}
|
||||
pmbb2bc0bc3d0043b6b99c39afa14c3983 2023-12-31 09:50:01 {'success': True, 'messageId': 'pmbb2bc0bc3d0043b6b99c39afa14c3983', 'message': 'OK', 'status': 0}
|
||||
pm8cabcec13bf1415baa720f92ec0d8b3b 2023-12-26 11:30:01 {'success': True, 'messageId': 'pm8cabcec13bf1415baa720f92ec0d8b3b', 'message': 'OK', 'status': 0}
|
||||
pme6abd2141c624607a825f3f0b64f3ccb 2024-01-15 10:10:02 {'success': True, 'messageId': 'pme6abd2141c624607a825f3f0b64f3ccb', 'message': 'OK', 'status': 0}
|
||||
```
|
||||
|
||||
有删除前备份
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,37 @@
|
||||
来源:鹏豪
|
||||
|
||||
## 获得商用客户
|
||||
|
||||
```sql
|
||||
select DISTINCT(bi.id),
|
||||
bi.order_num as '开通单号',
|
||||
ei.enterprise_name as '企业名称',
|
||||
ei.enterprise_cp_id as '企业CP_ID',
|
||||
pi.business_type as '产品类型',
|
||||
pi.product_id as '订购ID',
|
||||
pi.business_start_time as '开通时间',
|
||||
ei.enterprise_id as 'tId'
|
||||
# ,
|
||||
# ssdc.domain,
|
||||
# ssdc.domain_plain
|
||||
from bbossorder_info bi
|
||||
left join productid_info pi on bi.product_id = pi.product_id
|
||||
left join enterprise_info ei on pi.ec_id = ei.ec_id
|
||||
left join ep_product_chargemode epc on ei.enterprise_id = epc.enterprise_id
|
||||
# LEFT JOIN self_service_domain_config ssdc ON ei.enterprise_id = ssdc.tenant_id
|
||||
|
||||
where pi.cancel_status = 1
|
||||
and ei.source = 'BSS'
|
||||
and epc.product_state = 4
|
||||
order by pi.business_start_time;
|
||||
```
|
||||
|
||||
## 获得公司对应的平面信息
|
||||
|
||||
```sql
|
||||
SELECT tenant_id, GROUP_CONCAT(domain) AS domains
|
||||
FROM self_service_domain_config
|
||||
WHERE tenant_id IN ('yloiy4ms-x7sldjk9gdnt2cib', 'migbq85b-3njr7ylfi1jantml', 'liyk5qv3-3frd1daqmgu0sfld',
|
||||
'2gc5ewux-bpel3akyqelz96lm', 'xhrsfafr-d23mmlopgfouekx2', 'p7xvifuo-2bx1te6ywrw294ua')
|
||||
GROUP BY tenant_id;
|
||||
```
|
||||
@@ -0,0 +1,27 @@
|
||||
来源:测试
|
||||
|
||||
# 问题背景
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
ECName-1704869213
|
||||
|
||||
20240122141229.komect.com
|
||||
|
||||
域名表 无 A 域名 live 表有 A 域名但是为 true 删除
|
||||
|
||||
# 问题代码
|
||||
|
||||

|
||||
|
||||
如果用了 Collections.singletonList(po) 后边不能再对集合进行增删改查
|
||||
|
||||

|
||||
|
||||
查询条件过滤已经逻辑删除的
|
||||
|
||||
关键代码位置
|
||||
|
||||
com.cmcc.cdn.platform.selfservice.service.live.impl.LiveConfigServiceImpl#initLiveDomains
|
||||
@@ -0,0 +1,17 @@
|
||||
来源:生产
|
||||
|
||||
```log
|
||||
2024-01-24 at 14:24:46 CST [http-nio-8080-exec-38154] INFO com.cmcc.cdn.platform.selfservice.xinan.XinAnApiService 293 postRequest - 获取信安备案号信息参数, url: http://117.136.191.91:7790/CDNISMS/QueryBeian?dns=, requestConfig: [expectContinueEnabled=false, proxy=null, localAddress=null, cookieSpec=null, redirectsEnabled=true, relativeRedirectsAllowed=true, maxRedirects=50, circularRedirectsAllowed=false, authenticationEnabled=true, targetPreferredAuthSchemes=null, proxyPreferredAuthSchemes=null, connectionRequestTimeout=20000, connectTimeout=20000, socketTimeout=30000, contentCompressionEnabled=true, normalizeUri=true], requestParamMap: ["res.longyujoy.com"]
|
||||
|
||||
2024-01-24 at 14:25:16 CST [http-nio-8080-exec-38154] WARN com.cmcc.cmhi.bb.utils.http.HttpUtils 189 post - HttpUtil.post socket timeout,url: http://117.136.191.91:7790/CDNISMS/QueryBeian?dns=, params: null, json: ["res.longyujoy.com"], contentType: application/json; charset=UTF-8, headers: null, requestConfig: [expectContinueEnabled=false, proxy=null, localAddress=null, cookieSpec=null, redirectsEnabled=true, relativeRedirectsAllowed=true, maxRedirects=50, circularRedirectsAllowed=false, authenticationEnabled=true, targetPreferredAuthSchemes=null, proxyPreferredAuthSchemes=null, connectionRequestTimeout=20000, connectTimeout=20000, socketTimeout=30000, contentCompressionEnabled=true, normalizeUri=true] java.net.SocketTimeoutException: Read timed out
|
||||
```
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
```
|
||||
请教个问题客户实际要用的域名为 res.longyujoy.com,但我提交试用流程的时候,验证提示 res.longyujoy.com 未备案(实际主体域名 longyujoy.com 已备案),我把流程和信安表里面都改为 longyujoy.com,流程才验证通过,那需求表里面也要同步改成 longyujoy.com 吗?如改动需求表中域名,会对客户业务产生影响吗?
|
||||
```
|
||||
|
||||

|
||||
@@ -0,0 +1,46 @@
|
||||
---
|
||||
日期: 2024-01-29 21:19
|
||||
来源: 张平
|
||||
---
|
||||
|
||||
# 问题详情
|
||||
|
||||
202401291521 回退未删除企业信息
|
||||
|
||||
# 处理过程
|
||||
|
||||
现开户信息
|
||||
|
||||
19213331667@qq.com
|
||||
|
||||
testZL0126
|
||||
|
||||
19213331667
|
||||
|
||||
问题主要原因是调用 com.cmcc.cdn.platform.selfservice.controller.bpm.BpmController#bpmDrawBack 业务退回接口,当执行 com.cmcc.cdn.platform.selfservice.service.impl.TestOrderServiceImpl#testOrderRevoke 方法进行企业信息回退时被 com.cmcc.cdn.platform.selfservice.service.impl.TestOrderServiceImpl#checkParam(com.cmcc.cdn.platform.selfservice.entity.bboss.TestOrderInfo, java.lang.Long, java.lang.String, java.util.List<java.lang.String>) 方法校验报错。
|
||||
|
||||
报错内容是在 bss_order_file_temp 存在 md5 为‘fcnixsomrza2ceg23xjsplzfo’的一个附件,关联的 file_info 记录名称为 test240109.xls。
|
||||
|
||||
但是不知道 test240109.xls 这个附件是怎么引入的。
|
||||
|
||||
工单详情页也展示了这个 test240109.xls 记录,但是创单请求没有这个附件。
|
||||
|
||||

|
||||
|
||||
# 代码位置
|
||||
|
||||

|
||||
|
||||
# 总结
|
||||
|
||||
# 问题日志
|
||||
|
||||
com.cmcc.cdn.platform.selfservice.controller.OrderController#testOrder(com.cmcc.cdn.platform.selfservice.pojo.bboss.TestOrderFeedbackVO)
|
||||
|
||||
```
|
||||
2024-01-29 07:29:10 [ibs-portal:chiqingguo57.cmp11428.openpf:8088,,,,] [http-nio-8088-exec-5] INFO com.cmcc.cdn.platform.common.OperationLog 87 info - [operation] 试用工单, [loc] 413 com.cmcc.cdn.platform.selfservice.controller.OrderController testOrder, [src] 18866220002cmcc, [msg] orderNum:202401291521, result:{success=true}
|
||||
```
|
||||
|
||||
/order/security/upload
|
||||
|
||||

|
||||
@@ -0,0 +1,22 @@
|
||||
---
|
||||
日期: 2024-01-29 21:58
|
||||
来源: BBOSS
|
||||
---
|
||||
|
||||
# 问题详情
|
||||
|
||||
# 处理过程
|
||||
|
||||
# 代码位置
|
||||
|
||||
# 总结
|
||||
|
||||
信安答复网络问题
|
||||
|
||||
# 问题日志
|
||||
|
||||
```
|
||||
2024-01-24 at 14:24:46 CST [http-nio-8080-exec-38154] INFO com.cmcc.cdn.platform.selfservice.xinan.XinAnApiService 293 postRequest - 获取信安备案号信息参数, url: http://117.136.191.91:7790/CDNISMS/QueryBeian?dns=, requestConfig: [expectContinueEnabled=false, proxy=null, localAddress=null, cookieSpec=null, redirectsEnabled=true, relativeRedirectsAllowed=true, maxRedirects=50, circularRedirectsAllowed=false, authenticationEnabled=true, targetPreferredAuthSchemes=null, proxyPreferredAuthSchemes=null, connectionRequestTimeout=20000, connectTimeout=20000, socketTimeout=30000, contentCompressionEnabled=true, normalizeUri=true], requestParamMap: ["res.longyujoy.com"]
|
||||
|
||||
2024-01-24 at 14:25:16 CST [http-nio-8080-exec-38154] WARN com.cmcc.cmhi.bb.utils.http.HttpUtils 189 post - HttpUtil.post socket timeout,url: http://117.136.191.91:7790/CDNISMS/QueryBeian?dns=, params: null, json: ["res.longyujoy.com"], contentType: application/json; charset=UTF-8, headers: null, requestConfig: [expectContinueEnabled=false, proxy=null, localAddress=null, cookieSpec=null, redirectsEnabled=true, relativeRedirectsAllowed=true, maxRedirects=50, circularRedirectsAllowed=false, authenticationEnabled=true, targetPreferredAuthSchemes=null, proxyPreferredAuthSchemes=null, connectionRequestTimeout=20000, connectTimeout=20000, socketTimeout=30000, contentCompressionEnabled=true, normalizeUri=true] java.net.SocketTimeoutException: Read timed out
|
||||
```
|
||||
@@ -0,0 +1,79 @@
|
||||
---
|
||||
日期: 2024-01-30 12:29
|
||||
来源: 联调
|
||||
---
|
||||
|
||||
# 问题详情
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
# 处理过程
|
||||
|
||||
先考虑了 feign 日志。
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
BPM 开放后
|
||||
|
||||

|
||||
|
||||
# 代码位置
|
||||
|
||||
com.cmcc.cdn.platform.selfservice.service.bpm.impl.BpmManageServiceImpl#closeBpmOrder
|
||||
|
||||
修改前备份
|
||||
|
||||
```java
|
||||
/* 6.17.0版本需求:esop来源现网验收去掉只能选择验收通过的限制
|
||||
* 因联调过程中发现,域名配置需求工单业务结束回滚后,无法修改重提下发BPM。暂时启用客户经理直接关单重提方案。
|
||||
* 但业务结束回滚后关单此处BPM异常。故此处注释异常抛出,通过任务表记录状态,优化需求更新后再启用校验。
|
||||
*/
|
||||
BaseResponse response = null;
|
||||
try {
|
||||
BpmService bpmService = bpmManageTrancService.getBpmService();
|
||||
response = bpmService.closeBpmOrder(closeOrderRequest);
|
||||
} catch (Exception e) {
|
||||
log.error("通知bpm关单失败: {}", e.getMessage(), e);
|
||||
bpmTaskPO.setErrorMsg("通知bpm关单失败");
|
||||
// throw new PlatformException("通知bpm关单失败");
|
||||
}
|
||||
log.info("close order response:{}", JSONObject.toJSONString(response));
|
||||
if (ObjectUtils.isEmpty(response)) {
|
||||
log.error("bpm关单响应为空");
|
||||
bpmTaskPO.setErrorMsg("bpm关单响应为空");
|
||||
}
|
||||
if (!ObjectUtils.isEmpty(response) && 0 != response.getError_code()) {
|
||||
log.error("bpm关单响应异常: {}", response.getError_msg());
|
||||
bpmTaskPO.setErrorMsg("bpm关单响应异常");
|
||||
// throw new PlatformException("BPM侧关单失败");
|
||||
} else {
|
||||
bpmTaskPO.setTaskState(BpmTaskStateEnum.SUCCESS.name());
|
||||
bpmTaskPO.setErrorMsg("通知bpm关单成功");
|
||||
}
|
||||
bpmTaskDao.save(bpmTaskPO);
|
||||
```
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
# 总结
|
||||
|
||||
直接 curl 发起关停重试
|
||||
|
||||
```shell
|
||||
curl --location 'https://stgbpm-uops.cdn.10086.cn/runtime/v1/cdn/business/change/adaptation/closeOrder' \
|
||||
--header 'AccessKey: Mlvb2EWP' \
|
||||
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJpYnNmcm9tenciLCJleHAiOjE3MDY2NjYzOTIsImlhdCI6MTcwNjU3OTk5Mn0.-eXR8-W0iyFXhYx7riDSyCTfTcC3MN5JMpto0Ww7IbFok2OwMatIlphw08prba_uTZciyRmjNDLZXNZn9j-moQ' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data '{"message":"手动终止","ibs_code":"001-20240130001","user_id":"840"}' \
|
||||
--insecure
|
||||
```
|
||||
|
||||
这次问题主要是因为个人观察响应结构疏忽,后边个人对响应结构的判断也要更加严谨。
|
||||
|
||||
# 问题日志
|
||||
@@ -0,0 +1,107 @@
|
||||
---
|
||||
日期: 2024-01-31 09:19
|
||||
来源: 客响
|
||||
---
|
||||
|
||||
# 问题详情
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
# 处理过程
|
||||
|
||||
```
|
||||
select *
|
||||
from pipe_config_entity
|
||||
where target_name in ('bucket-pc.51yuejiao.com',
|
||||
'bucket01.51yuejiao.com',
|
||||
'bucket02.51yuejiao.com');
|
||||
|
||||
select *
|
||||
from sys_task_process_alarm
|
||||
where tag like '%pm61a90a9469bd4ed6beec1a029b95ce7c%';
|
||||
|
||||
# pma1d0424b3fc94be6aecf0fbde8cda0b7
|
||||
# pm04d1f194579f483fbb20edf442588dac
|
||||
# pm61a90a9469bd4ed6beec1a029b95ce7c
|
||||
|
||||
|
||||
select *
|
||||
from work_order
|
||||
where type = 'DOMAIN_DELETE'
|
||||
and details like '%自助%'
|
||||
and status = 'config'
|
||||
and corp_name like '%辽宁%';
|
||||
|
||||
select *
|
||||
from pipe_config_entity
|
||||
where target_name in ('mw.shenyang.gov.cn',
|
||||
'nyncj.shenyang.gov.cn',
|
||||
'sjj.shenyang.gov.cn',
|
||||
'sfj.shenyang.gov.cn',
|
||||
'www.tiexi.gov.cn',
|
||||
'www.sysic.cn',
|
||||
'www.kangping.gov.cn',
|
||||
'www.sydpf.cn',
|
||||
'www.syast.org.cn',
|
||||
'bucket-pc.51yuejiao.com',
|
||||
'bucket01.51yuejiao.com',
|
||||
'bucket02.51yuejiao.com',
|
||||
'dfz.shenyang.gov.cn',
|
||||
'www.23383838.com',
|
||||
'www.sybws.com');
|
||||
```
|
||||
|
||||

|
||||
|
||||
# 代码位置
|
||||
|
||||
# 总结
|
||||
|
||||
```
|
||||
'mw.shenyang.gov.cn',
|
||||
'nyncj.shenyang.gov.cn',
|
||||
'sjj.shenyang.gov.cn',
|
||||
'sfj.shenyang.gov.cn',
|
||||
'www.tiexi.gov.cn',
|
||||
'www.sysic.cn',
|
||||
'www.kangping.gov.cn',
|
||||
'www.sydpf.cn',
|
||||
'www.syast.org.cn',
|
||||
'bucket-pc.51yuejiao.com',
|
||||
'bucket01.51yuejiao.com',
|
||||
'bucket02.51yuejiao.com',
|
||||
'dfz.shenyang.gov.cn',
|
||||
'www.23383838.com',
|
||||
'www.sybws.com'
|
||||
|
||||
|
||||
pm04d1f194579f483fbb20edf442588dac
|
||||
pm04d1f194579f483fbb20edf442588dac
|
||||
pm04d1f194579f483fbb20edf442588dac
|
||||
pm04d1f194579f483fbb20edf442588dac
|
||||
pma1d0424b3fc94be6aecf0fbde8cda0b7
|
||||
pma1d0424b3fc94be6aecf0fbde8cda0b7
|
||||
pma1d0424b3fc94be6aecf0fbde8cda0b7
|
||||
pma1d0424b3fc94be6aecf0fbde8cda0b7
|
||||
pma1d0424b3fc94be6aecf0fbde8cda0b7
|
||||
pma1d0424b3fc94be6aecf0fbde8cda0b7
|
||||
pma1d0424b3fc94be6aecf0fbde8cda0b7
|
||||
pma1d0424b3fc94be6aecf0fbde8cda0b7
|
||||
pma1d0424b3fc94be6aecf0fbde8cda0b7
|
||||
pm61a90a9469bd4ed6beec1a029b95ce7c
|
||||
pm61a90a9469bd4ed6beec1a029b95ce7c
|
||||
|
||||
pma1d0424b3fc94be6aecf0fbde8cda0b7(已处理)
|
||||
|
||||
pm04d1f194579f483fbb20edf442588dac
|
||||
|
||||
pm61a90a9469bd4ed6beec1a029b95ce7c
|
||||
```
|
||||
|
||||

|
||||
|
||||
# 问题日志
|
||||
Reference in New Issue
Block a user