feat(UME): 增加RESTCONF对接与可视化运维页

- 支持 token 获取/续约/断开、DB共享缓存与跨进程单飞锁、keepalive 保活

- 新增 inventory/current/history 告警同步入库与查询接口,前端增加 UME 对接页面与分页

- 修复 stop_netx.ps1 在部分 PowerShell 版本下 Stop-Job -Force 报错

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-05-08 01:36:53 +08:00
parent ab1b76dd47
commit 7f2e4ec393
15 changed files with 2577 additions and 15 deletions

View file

@ -31,8 +31,9 @@ function Get-ListenPids {
Write-Host "[WARN] port query failed for $LocalPort : $($_.Exception.Message)"
} finally {
if ($job) {
Stop-Job $job -Force -ErrorAction SilentlyContinue
Remove-Job $job -Force -ErrorAction SilentlyContinue
# Windows PowerShell 5.1 does not support -Force on Stop-Job/Remove-Job.
Stop-Job $job -ErrorAction SilentlyContinue
Remove-Job $job -ErrorAction SilentlyContinue
}
}
@($ids)