335 lines
13 KiB
Markdown
335 lines
13 KiB
Markdown
# CPID反查接口新增客户等级字段(联调)
|
||
|
||
## 需求评审
|
||
|
||
## 需求备注
|
||
|
||
## 需求开发
|
||
|
||
增加当手动修改客户等级时清楚缓存。
|
||
|
||
# 业务工单与IBS的后端portal交互优化
|
||
|
||
## 需求评审
|
||
|
||
## 需求备注
|
||
|
||
```yaml
|
||
##测试验证环境
|
||
app.name=CDN Portal
|
||
server.port=8181
|
||
|
||
spring.thymeleaf.mode=HTML
|
||
spring.thymeleaf.servlet.content-type=text/html
|
||
|
||
|
||
spring.devtools.livereload.enabled=true
|
||
|
||
#########################################################
|
||
###存储基本配置;
|
||
#########################################################
|
||
#定义文件存储的方式(本地或者archive子系统)
|
||
storage.engine = local
|
||
#storage.upload 一定不能配置为C:\\,否则无法使用
|
||
storage.upload = /tmp/upload/
|
||
#本地存储的参数定义
|
||
storage.local.base = /tmp/images/
|
||
|
||
########################################################
|
||
###quartz 配置
|
||
########################################################
|
||
quartz.enabled=true
|
||
# Configure Main Scheduler Properties
|
||
org.quartz.scheduler.instanceName = MyScheduler
|
||
# Configure Datasources, release host address
|
||
org.quartz.dataSource.myDS.driver = ${spring.datasource.driver-class-name}
|
||
org.quartz.dataSource.myDS.URL = ${spring.datasource.url}
|
||
org.quartz.dataSource.myDS.user = ${spring.datasource.username}
|
||
org.quartz.dataSource.myDS.password = ${spring.datasource.password}
|
||
org.quartz.dataSource.myDS.maxConnections = 5
|
||
org.quartz.dataSource.myDS.validationQuery =select 1
|
||
|
||
#登陆页面地址
|
||
login.html = http://10.26.1.32:8080/
|
||
|
||
auth.useUsernamePassword = false
|
||
auth.permitAll = false
|
||
|
||
#客户经理姓名和手机号
|
||
account.manager.name=徐娜
|
||
account.manager.mobile=13401095778
|
||
|
||
# BBOSS地址
|
||
bboss.url = http://117.136.128.15:1102/TransProxy/in/Trans/Receiver
|
||
# bboss.url = http://13.115.181.62:1102/bboss_ok
|
||
# BBOSS的testFlag
|
||
test.flag = 0
|
||
#试用工单流量监控触发时间
|
||
cron =0 0/10 * * * ?
|
||
|
||
#读取公告栏文件地址
|
||
notice.location = /tmp/cdnportal/notice.txt
|
||
#代理配置
|
||
server.tomcat.remote_ip_header=x-forwarded-for
|
||
server.tomcat.protocol_header=x-forwarded-proto
|
||
server.use-forward-headers=true
|
||
server.tomcat.internal-proxies=117\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}
|
||
|
||
#######################################################
|
||
#IBS提供的接口地址
|
||
#######################################################
|
||
#通过接口在portal发起用户注册流程和更新试用起止时间
|
||
self.portal.create.enterprise = https://p.cdn.10086.cn/portal/bss/createCP
|
||
#通过接口在portal更新企业信息
|
||
self.portal.update.enterprise = https://p.cdn.10086.cn/portal/bss/updateTrail
|
||
#通过接口在portal检验验证企业账号下试用域名是否已配置生效
|
||
self.portal.verification = https://p.cdn.10086.cn/portal/bss/trialDomainConfig
|
||
#当BSS平台上业务开通工单反馈“开通成功”时,通知自服务门户IBS进行产品开通
|
||
self.portal.businessorder = https://p.cdn.10086.cn/portal/bss/businessorder
|
||
#当使用工单提交 流量耗尽或时长耗尽 请求同步
|
||
self.portal.flowOrtime.finish = https://p.cdn.10086.cn/portal/bss/trail/end
|
||
|
||
#######################################################
|
||
#大数据提供的接口
|
||
#######################################################
|
||
#通过接口从大数据获取试用工单中产品已使用的流量
|
||
bboss.flow.url=http://39.136.113.82:8081/commercialTrial/get
|
||
#新增域名话单配置大数据请求路径
|
||
bboss.save.productid.url=/productInfo/save
|
||
#删除域名话单配置大数据请求路径
|
||
bboss.delete.productid.url=/productInfo/delete
|
||
#修改订购关系的计费方式大数据请求路径
|
||
bboss.update.productid.url=http://39.136.113.82:8081/productInfo/update
|
||
|
||
#访问自服务接口是否使用代理模式
|
||
portal.cdn.proxy=false
|
||
#代理ip
|
||
proxy_ip=10.26.1.1
|
||
#代理端口
|
||
proxy_port=3128
|
||
|
||
logging.config=file:config/log4j2.xml
|
||
|
||
server.tomcat.basedir=${user.home}/deployer/tomcat
|
||
auth.token.key=cmcdn
|
||
auth.token.id=cdnbss
|
||
portal.url.login=https://p.cdn.10086.cn/
|
||
ibs.url = https://p.cdn.10086.cn/bboss/order
|
||
statement.ip=http://39.136.113.82:8081
|
||
statistic.flow.export.url=http://39.136.113.82:8081/statistic/bss/flow
|
||
|
||
bboss.trail.flow.url =http://39.136.113.82:8081/queryFlow/trial
|
||
bboss.commercial.flow.url =http://39.136.113.82:8081/queryFlow/commercial
|
||
statistic.bw.export.url=http://39.136.113.82:8081/statistic/bss/bandwidth
|
||
|
||
security.ignored=/**
|
||
productId.peek.url=http://39.136.113.82:8081/statistic/bss/bwPeak
|
||
|
||
statistic.crs.bw.export.url = http://39.136.113.82:8081/statistic/crs/bandwidth
|
||
authorization.switch=false
|
||
time.effective.duration=5
|
||
bss.access.key=XtrqJJ4S
|
||
bss.secret.key=26484d7e6735e141653a421e0b877d2a25f0c84d2fddb3753f43d03732d2c472
|
||
bss.salt=lpYeKpha
|
||
ibs.access.key=Mlvb2EWP
|
||
ibs.secret.key=7e671ab145af9c4138d0c65be0e751ab9e062ef61a6e0834dba92454d5d273a2
|
||
statistic.crs.flow.export.url = http://39.136.113.82:8081/statistic/crs/flow
|
||
|
||
statistic.css.flow.url = http://39.136.113.82:8081/statistic/bss/ccs/flow
|
||
#ydy.statement.ip=http://39.135.122.120:20045
|
||
ydy.statement.ip=http://39.136.113.84:8088
|
||
ydy.update.statement.url=/productInfo/updateByDomain
|
||
|
||
|
||
statistic.mul.peak.url = http://39.136.113.82:8081/statistic/bss/mul/aggBwPeak
|
||
|
||
statistic.mul.detail.peak.url = http://39.136.113.82:8081/statistic/bss/mul/detBwPeak
|
||
|
||
statistic.mul.flow.url = http://39.136.113.82:8081/statistic/bss/mul/flow
|
||
|
||
statistic.mul.ec.flow.url = http://39.136.113.82:8081/statistic/bss/mul/ec/flow
|
||
|
||
statistic.mul.css.flow.url = http://39.136.113.82:8081/statistic/bss/mul/ccs/flow
|
||
|
||
statistic.mul.bw.url = http://39.136.113.82:8081/statistic/bss/mul/bandwidth
|
||
|
||
|
||
ydy.productId.peek.url = http://39.136.113.84:8088/statistic/bss/bwPeak
|
||
|
||
ydy.statistic.flow.export.url = http://39.136.113.84:8088/statistic/bss/flow
|
||
|
||
ydy.statistic.crs.flow.export.url = http://39.136.113.84:8088/statistic/crs/flow
|
||
|
||
ydy.statistic.bw.export.url = http://39.136.113.84:8088/statistic/bss/bandwidth
|
||
|
||
ydy.statistic.crs.bw.export.url = http://39.136.113.84:8088/statistic/crs/bandwidth
|
||
|
||
ydy.statistic.css.flow.url = http://39.136.113.84:8088/statistic/bss/ccs/flow
|
||
|
||
ydy.statistic.mul.peak.url = http://39.136.113.84:8088/statistic/bss/mul/aggBwPeak
|
||
|
||
ydy.statistic.mul.detail.peak.url = http://39.136.113.84:8088/statistic/bss/mul/detBwPeak
|
||
|
||
ydy.statistic.mul.flow.url = http://39.136.113.84:8088/statistic/bss/mul/flow
|
||
|
||
ydy.statistic.mul.ec.flow.url = http://39.136.113.84:8088/statistic/bss/mul/ec/flow
|
||
|
||
ydy.statistic.mul.css.flow.url = http://39.136.113.84:8088/statistic/bss/mul/ccs/flow
|
||
|
||
ydy.statistic.mul.bw.url = http://39.136.113.84:8088/statistic/bss/mul/bandwidth
|
||
|
||
|
||
ibs.service.ip = https://p.cdn.10086.cn/
|
||
bboss.service.ip = https://39.135.122.120:14465
|
||
bboss.token.ip = https://39.135.122.120:14465
|
||
bboss.mock = false
|
||
statistic.charge.url = http://39.136.113.82:8081/statistic/crs/bandwidth/bytedance
|
||
|
||
```
|
||
|
||
## 需求开发
|
||
|
||
```
|
||
/statistic/bss/mul/ccs/flow
|
||
/statistic/bss/bwPeak
|
||
/queryFlow/commercial
|
||
/queryFlow/trial
|
||
```
|
||
|
||
自测:ECName1743039575
|
||
|
||
PRODUCTID1743039933
|
||
|
||
```
|
||
BBossAndDssInteractiveServiceImpl.queryProductIdCssFlowResult(String) (com.cmcc.cdn.platform.selfservice.service.impl)
|
||
ProductIdInfoServiceImpl.queryProductIdCssFlowResult(String, String, List<String>, List<String>, List<String>, List<String>, List<String>, ...) (com.cmcc.cdn.platform.selfservice.service.impl)
|
||
ProductIdInfoServiceImpl.getProductIdProvinceTotalData(List<String>, Integer, Integer, JSONObject, List<String>, String, List<String>, ...) (com.cmcc.cdn.platform.selfservice.service.impl)
|
||
ProductIdInfoServiceImpl.handleDetailProductIdTask(List<String>, Integer, Integer, List<String>, List<String>, JSONObject, Boolean, ...) (com.cmcc.cdn.platform.selfservice.service.impl)
|
||
ProductIdInfoServiceImpl.getProductIdProvinceDetailData(List<String>, Integer, Integer, JSONObject, List<String>, String, List<String>, ...) (com.cmcc.cdn.platform.selfservice.service.impl)
|
||
ProductIdInfoServiceImpl.handleDetailProductIdTask(List<String>, Integer, Integer, List<String>, List<String>, JSONObject, Boolean, ...) (com.cmcc.cdn.platform.selfservice.service.impl)
|
||
ProductIdChargeInfoServiceImpl.getProductIdChargeInfoDataCssResult(String, String, List<String>, Map, List<String>, Class<T>, String) (com.cmcc.cdn.platform.selfservice.service.impl)
|
||
ProductIdChargeInfoServiceImpl.queryProductIdDimensionsRequest(String, String, List<String>, JSONObject, String) (com.cmcc.cdn.platform.selfservice.service.impl)
|
||
ProductIdChargeInfoServiceImpl.queryStatisticBssCssFlow(String, String, String, List<String>, Integer, Integer) (com.cmcc.cdn.platform.selfservice.service.impl)
|
||
ProductIdChargeInfoServiceImpl.handleCpProvinceDimensionsCssRequest(String, String, List<String>, List<String>, Map, Map<String, List<String>>, String) (com.cmcc.cdn.platform.selfservice.service.impl)
|
||
ProductIdChargeInfoServiceImpl.handleProvinceDimensionsCssRequest(String, String, JSONObject, String) (com.cmcc.cdn.platform.selfservice.service.impl)
|
||
|
||
```
|
||
|
||
5497558138880
|
||
|
||
### 商用流量
|
||
|
||
```
|
||
Method: post
|
||
URL: http://172.21.16.50:8090/queryFlow/commercial
|
||
Request Body: {"productIds":["PRODUCTID1743039933"]}
|
||
```
|
||
|
||
### 话单带宽
|
||
|
||
```
|
||
Method: get
|
||
URL: http://172.21.16.50:8090/statistic/bss/bwPeak?startTime=2025-04-03T00%3A00%3A00%2B08%3A00&endTime=2025-04-03T07%3A50%3A00%2B08%3A00&productIds=PRODUCTID1743039933&provinces=all&dimensions=productId%2Ctime&source=bw&crsDataSource=false&distributionPlanes=all&flowTypes=all&sources=1&ecProvinces=000
|
||
Request Body: null
|
||
```
|
||
|
||
### 查询计费话单多订购聚合95峰值
|
||
|
||
```
|
||
Method: post
|
||
URL: http://172.21.16.50:8090/statistic/bss/mul/aggBwPeak
|
||
Request Body: {"dimensions":["time"],"distributionPlanes":["all"],"endTime":"2025-04-02T23:59:00+08:00","flowTypes":["all"],"metric":"flow","prodMapToEcProv":{"PRODUCTID1743039933":"000"},"productIds":["PRODUCTID1743039933"],"provinces":["all"],"sources":["1"],"startTime":"2025-03-27T00:00:00+08:00"}
|
||
|
||
```
|
||
|
||
### 查询计费话单多订购带宽
|
||
|
||
```
|
||
Method: post
|
||
URL: http://172.21.16.50:8090/statistic/bss/mul/bandwidth
|
||
Request Body: {"dimensions":["productId","time"],"distributionPlanes":["all"],"endTime":"2025-04-02T23:59:00+08:00","flowTypes":["all"],"prodMapToEcProv":{"PRODUCTID1743039933":"000"},"productIds":["PRODUCTID1743039933"],"provinces":["all"],"sources":["1"],"startTime":"2025-03-27T00:00:00+08:00"}
|
||
|
||
```
|
||
|
||
### 查询计费话单多订购明细95峰值
|
||
|
||
```
|
||
Method: post
|
||
URL: http://172.21.16.50:8090/statistic/bss/mul/detBwPeak
|
||
Request Body: {"dimensions":["productId","time"],"distributionPlanes":["all"],"endTime":"2025-04-02T23:59:00+08:00","flowTypes":["all"],"metric":"flow","prodMapToEcProv":{"PRODUCTID1743039933":"000"},"productIds":["PRODUCTID1743039933"],"provinces":["all"],"sources":["1"],"startTime":"2025-03-27T00:00:00+08:00"}
|
||
```
|
||
|
||
### 查询计费话单多订购流量
|
||
|
||
```
|
||
Method: post
|
||
URL: http://172.21.16.50:8090/statistic/bss/mul/flow
|
||
Request Body: {"dimensions":["productId","province"],"distributionPlanes":["all"],"endTime":"2025-04-02T23:59:00+08:00","flowTypes":["all"],"prodMapToEcProv":{"PRODUCTID1743039933":"000"},"productIds":["PRODUCTID1743039933"],"provinces":["all"],"sources":["1"],"startTime":"2025-03-27T00:00:00+08:00"}
|
||
```
|
||
|
||
### 查询边缘和内容中心计费话单总和
|
||
|
||
```
|
||
Method: post
|
||
URL: http://172.21.16.50:8090/statistic/bss/mul/ec/flow
|
||
Request Body: {"dimensions":["productId","province"],"distributionPlanes":["all"],"endTime":"2025-04-02T23:59:00+08:00","flowTypes":["all"],"prodMapToEcProv":{"PRODUCTID1743039933":"000"},"productIds":["PRODUCTID1743039933"],"provinces":["all"],"sources":["1"],"startTime":"2025-03-27T00:00:00+08:00"}
|
||
```
|
||
|
||
### 华为内容中心数据查询接口
|
||
|
||
```
|
||
Method: post
|
||
URL: http://172.21.16.50:8090/statistic/bss/mul/ccs/flow
|
||
Request Body: {"dimensions":["productId","province"],"distributionPlanes":["all"],"endTime":"2025-04-02T23:59:00+08:00","flowTypes":["all"],"prodMapToEcProv":{"PRODUCTID1743039933":"000"},"productIds":["PRODUCTID1743039933"],"provinces":["all"],"sources":["1"],"startTime":"2025-03-27T00:00:00+08:00"}
|
||
```
|
||
|
||
# 企业客户-域名列表-冲突域名-信安附件展示优化
|
||
|
||
## 需求评审
|
||
|
||
针对冲突域名:在企业客户的域名列表和直播控制台的域名详情页,用户下载已上传的附件时附件中 A 列显示“冲突域名”,S 列显示“真实域名”。
|
||
|
||
## 需求备注
|
||
|
||
## 需求开发
|
||
|
||
【金山文档 | WPS云文档】 企业-视图跳转
|
||
|
||
https://kdocs.cn/l/caFIsEA7q3DD
|
||
|
||
### 直播控制台
|
||
|
||
后端处理信安接口为 ID。
|
||
|
||
### 点播控制台
|
||
|
||
后端处理信安接口为 ID。
|
||
|
||
/configManage/detail/display?domainId=(入参字段改为 domainId)
|
||
|
||
/configManage/update/domain?domainId=(入参字段改为 domainId)
|
||
|
||
### 企业客户跳转
|
||
|
||
后端处理信安接口为 ID。
|
||
|
||
/selfService/domain/ticket/display?domainId=(入参字段改为 domainId)
|
||
|
||
/selfService/domain/ticket/getDomain?domainId=(入参字段改为 domainId)
|
||
|
||
### 信安信息下载
|
||
|
||
/configManage/getSecurity?domainId=(入参字段改为 domainId)
|
||
|
||
# 用例评审
|
||
|
||
## 企业客户-域名列表-冲突域名-信安附件展示优化
|
||
|
||
确认测试用例的意思是冲突和真实在一个企业下。
|
||
|
||
## 业务工单与IBS的后端portal交互优化
|
||
|
||
需要大数据确认前提是否正常。
|
||
|
||
# 冒烟自测
|