Refactor network element state management - Removed the NE state endpoint and related service logic from the network_data module. - Introduced a new NEStateController to handle network element state records. - Implemented NEState service and repository for managing state records in the database. - Updated NEInfo and NeLicense controllers to utilize the new NEState service for fetching and saving state information. - Enhanced state handling in the websocket processor to reflect the latest state of network elements. - Added caching logic for network element states using Redis. - Improved error handling and response formatting for state queries.
build
打包添加到构建工具的 /tmp/usr/local/etc/omc 目录内
文件资源
| 路径 | 说明 |
|---|---|
| database | 数据库 |
| default | 默认配置文件 |
| vendor | 各厂商的定制修改 |
编译发布
# =================== Vendor Database
echo
ApiDir=/root/omc.git/be.ems
BuildDir=/root/omc.git/build.ems
dirs="database default vendor"
for v in ${dirs}; do
path=$BuildDir/tmp/usr/local/etc/omc
rm -rf ${path}/${v}
cp -rf ${ApiDir}/build/${v} ${path}/${v}
done