功能 #3296
基站、核心网外部版本号显示优化
0%
描述
1.在版本信息文件中增加外部版本号字段供解析使用(showVersion=x.x.x);
2.界面显示版本号只显示外部版本号;
3.在详细版本信息中显示内部版本号;
4.版本中增加ums.ini完整性校验文件供校验版本信息文件;
5.去除使用包名进行版本校验逻辑,以版本信息文件中的内部版本号为准;
历史记录
由 马 党旗 更新于 大约一个月 之前
- 指派给 从 马 党旗 变更为 马 自伟
oam-backend 已经添加相关字段。
基站:
type ModuleVerAndPkg struct {
Version string `json:"version"`
ShowVersion string `json:"showVersion"` //增加外部版本号
InnerVer string `json:"innerVer"`
InstallTime string `json:"install-time"`
ReleaseTime string `json:"release-time"`
Package []PkgFileInfoList `json:"pkgInfo"`
}
type ModuleInfo struct {
Type string `json:"type"` // CU,DU,MIX
Version string `json:"version"`
ShowVersion string `json:"showVersion"`
InnerVer InnerVersion `json:"innerVerInfo"`
Status string `json:"status"`
ErrorMessage string `json:"errorMessage"`
}
核心网:
type ModuleInfo struct {
Type string `json:"type"`
Version string `json:"version"`
ShowVersion string `json:"showVersion"`
Status string `json:"status"`
ErrorMessage string `json:"errorMessage"`
}
type FiveGCModulesInfo struct {
Status string `json:"status"` //active,inactive
Version string `json:"version"`
ShowVersion string `json:"showVersion"`
Modules []ModuleInfo `json:"modules"`
}