1778682052
This commit is contained in:
@@ -6,6 +6,16 @@
|
||||
|
||||
NRWLXT-30894
|
||||
|
||||
Add NRWLXT-30894 BYAC CSPID-2026-00AET1 AI 优化 HCDN业务标准化接入-典基平面接入与基础数据模型扩展
|
||||
|
||||
Add NRWLXT-30894 BYRC CLID-0000N4 代码复用 HCDN业务标准化接入-典基平面接入与基础数据模型扩展
|
||||
|
||||
Add NRWLXT-30925 BYAC CSPID-2026-00A6C7 AI 优化 HCDN业务标准化接入-典基平面接入与基础数据模型扩展
|
||||
|
||||
NRWLXT-30925
|
||||
|
||||
CSPID-2026-00A6C7
|
||||
|
||||
## 需求备注
|
||||
|
||||
## 需求开发
|
||||
|
||||
@@ -0,0 +1,99 @@
|
||||
```
|
||||
param(
|
||||
[Parameter(Mandatory = $true, Position = 0)]
|
||||
[string]$InputFile,
|
||||
|
||||
[Parameter(Mandatory = $true, Position = 1)]
|
||||
[string]$Domain,
|
||||
|
||||
[Parameter(Position = 2)]
|
||||
[string]$OutputFile,
|
||||
|
||||
[switch]$MatchAnywhere
|
||||
)
|
||||
|
||||
Set-StrictMode -Version Latest
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
function Resolve-LogPath {
|
||||
param([string]$Path)
|
||||
|
||||
if (Test-Path -LiteralPath $Path -PathType Leaf) {
|
||||
return (Resolve-Path -LiteralPath $Path).Path
|
||||
}
|
||||
|
||||
if ([System.IO.Path]::GetExtension($Path) -eq '') {
|
||||
$pathWithLogExtension = "$Path.log"
|
||||
if (Test-Path -LiteralPath $pathWithLogExtension -PathType Leaf) {
|
||||
return (Resolve-Path -LiteralPath $pathWithLogExtension).Path
|
||||
}
|
||||
}
|
||||
|
||||
throw "Input file not found: $Path"
|
||||
}
|
||||
|
||||
function Test-CdnLogDomain {
|
||||
param(
|
||||
[string]$Line,
|
||||
[string]$ExpectedDomain
|
||||
)
|
||||
|
||||
$firstTab = $Line.IndexOf("`t")
|
||||
if ($firstTab -lt 0) { return $false }
|
||||
|
||||
$secondTab = $Line.IndexOf("`t", $firstTab + 1)
|
||||
if ($secondTab -lt 0) { return $false }
|
||||
|
||||
$thirdTab = $Line.IndexOf("`t", $secondTab + 1)
|
||||
if ($thirdTab -lt 0) { return $false }
|
||||
|
||||
$fourthTab = $Line.IndexOf("`t", $thirdTab + 1)
|
||||
if ($fourthTab -lt 0) { return $false }
|
||||
|
||||
$lineDomain = $Line.Substring($thirdTab + 1, $fourthTab - $thirdTab - 1)
|
||||
return [string]::Equals($lineDomain, $ExpectedDomain, [System.StringComparison]::OrdinalIgnoreCase)
|
||||
}
|
||||
|
||||
$resolvedInputFile = Resolve-LogPath -Path $InputFile
|
||||
$inputDirectory = Split-Path -Parent $resolvedInputFile
|
||||
$inputBaseName = [System.IO.Path]::GetFileNameWithoutExtension($resolvedInputFile)
|
||||
|
||||
if ([string]::IsNullOrWhiteSpace($OutputFile)) {
|
||||
$OutputFile = Join-Path $inputDirectory "$inputBaseName`_$Domain"
|
||||
}
|
||||
|
||||
$reader = [System.IO.StreamReader]::new($resolvedInputFile)
|
||||
$writerEncoding = [System.Text.UTF8Encoding]::new($false)
|
||||
$writer = [System.IO.StreamWriter]::new($OutputFile, $false, $writerEncoding)
|
||||
|
||||
$totalCount = 0L
|
||||
$matchedCount = 0L
|
||||
|
||||
try {
|
||||
while (($line = $reader.ReadLine()) -ne $null) {
|
||||
$totalCount++
|
||||
|
||||
if ($MatchAnywhere) {
|
||||
$matched = $line.IndexOf($Domain, [System.StringComparison]::OrdinalIgnoreCase) -ge 0
|
||||
}
|
||||
else {
|
||||
$matched = Test-CdnLogDomain -Line $line -ExpectedDomain $Domain
|
||||
}
|
||||
|
||||
if ($matched) {
|
||||
$writer.WriteLine($line)
|
||||
$matchedCount++
|
||||
}
|
||||
}
|
||||
}
|
||||
finally {
|
||||
$writer.Dispose()
|
||||
$reader.Dispose()
|
||||
}
|
||||
|
||||
Write-Host "Input file: $resolvedInputFile"
|
||||
Write-Host "Output file: $OutputFile"
|
||||
Write-Host "Total lines: $totalCount"
|
||||
Write-Host "Matched lines: $matchedCount"
|
||||
|
||||
```
|
||||
@@ -0,0 +1,71 @@
|
||||
# 3.1 业务开通单(首次开通)开通成功通知优化
|
||||
|
||||
## 需求评审
|
||||
|
||||
0.5
|
||||
|
||||
## 需求备注
|
||||
|
||||
## 需求开发
|
||||
|
||||
# 3.9 IBS平台试用到期提醒通知能力优化
|
||||
|
||||
## 需求评审
|
||||
|
||||
1
|
||||
|
||||
## 需求备注
|
||||
|
||||
## 需求开发
|
||||
|
||||
# 3.10 IBS平台邮件通知机制优化—IBS发政企邮件收件人列表增加政企管理员
|
||||
|
||||
## 需求评审
|
||||
|
||||
## 需求备注
|
||||
|
||||
!!! https://www.kdocs.cn/l/cj2VeBmqnoXP
|
||||
|
||||

|
||||
|
||||
这个不要周芸
|
||||
|
||||

|
||||
|
||||
试用到期时 还会给客户经理发一个运营工单,看看这个有没有发邮件
|
||||
|
||||
## 需求开发
|
||||
|
||||
# 3.12 自主化配置-配置失败新增SA人员&新增失败原因描述
|
||||
|
||||
## 需求评审
|
||||
|
||||
0.5
|
||||
|
||||
## 需求备注
|
||||
|
||||
## 需求开发
|
||||
|
||||
# 3.16 信安信息更新通知自动邮件改造
|
||||
|
||||
## 需求评审
|
||||
|
||||
1
|
||||
|
||||
## 需求备注
|
||||
|
||||
## 需求开发
|
||||
|
||||
# 4.2 HCDN标准化接入-统计分析模块(用量查询)前端与查询能力改造
|
||||
|
||||
## 需求评审
|
||||
|
||||
4
|
||||
|
||||
## 需求备注
|
||||
|
||||
## 需求开发
|
||||
|
||||
# 用例评审
|
||||
|
||||
# 冒烟自测
|
||||
@@ -293,8 +293,11 @@ xcftest1119esop01.komect.com,gpnxknoh-mqewujpo0ofulamk,[1],2024-11-19 08:47:57,
|
||||

|
||||
|
||||
1.已存在esop企业:esop测试企业,企业中已存在点播域名
|
||||
|
||||
2.已在后台配置开启,域名列表页存在“新建域名”按钮
|
||||
|
||||
3.esop测试企业 配置为惩戒黑名单企业
|
||||
|
||||
4.开启惩戒功能
|
||||
|
||||
## (完成)相同CPID下冲突域名兼容
|
||||
|
||||
Reference in New Issue
Block a user