Commit Graph

244 Commits

Author SHA1 Message Date
TsMask
cfe6ab61e3 ref: 多core表结构和代码调整修改 2025-06-10 17:50:54 +08:00
TsMask
7c045fc036 del: 移除旧跟踪任务相关的路由注册 2025-06-06 14:29:23 +08:00
TsMask
2f65fb08cf fix: 修复Authorization函数中JWT令牌提取逻辑,优化空格处理 2025-05-23 14:14:36 +08:00
TsMask
64b82821f7 fix: 注释掉日志输出以减少启动时的冗余信息 2025-05-22 19:30:07 +08:00
TsMask
afbe029a28 Refactor server configuration and update certificate handling
- Changed the NotifyUrl in PostMeasureTaskToNF to use a hardcoded port (33030).
- Updated GetEMSState to retrieve the port from the server configuration instead of the YAML config.
- Removed deprecated RestParam struct and related code from YamlConfig.
- Deleted old certificate files (omc-server.crt, omc-server.key, omc-web.crt, omc-web.key).
- Added new certificate files (www.omc.net.crt, www.omc.net.key) for updated server configuration.
- Modified local/omc.yaml to reflect changes in server configuration and certificate paths.
- Updated main.go to load server configuration instead of rest configuration, ensuring proper handling of multiple HTTP services.
2025-04-27 17:21:55 +08:00
TsMask
80d612c56c Refactor error handling in system and trace controllers
- Updated error response codes for various validation errors from 400 to 422 to better reflect the nature of the errors.
- Changed error messages for empty parameters (e.g., userId, menuId, roleId) to use a consistent error code format.
- Improved error handling in the IPerf, Ping, and WS controllers to provide more informative error messages.
- Ensured that all controllers return appropriate error messages when binding JSON or query parameters fails.
2025-04-27 16:38:19 +08:00
TsMask
56991a0b49 feat: Implement Oauth2 login log service and repository
- Added Oauth2LogLoginService for managing user authorization logs.
- Implemented methods for inserting logs, cleaning logs, and exporting log data.
- Created a new file for Oauth2 login log service.

refactor: Remove unused open_api module

- Deleted the open_api.go file as it was not utilized in the project.

fix: Update error codes in SysProfileController

- Changed error codes for binding errors and user authentication errors to more descriptive values.

fix: Update cache handling in SysConfig and SysDictType services

- Modified Redis set operations to include expiration time for cached values.

refactor: Update middleware authorization checks

- Replaced PreAuthorize middleware with AuthorizeUser across multiple routes in system and tool modules for consistency.

chore: Clean up trace and ws modules

- Updated middleware authorization in trace and ws modules to use AuthorizeUser.
2025-04-27 11:07:34 +08:00
TsMask
4d4f6095f6 chore: 移除无用go-cache封装 2025-04-25 15:38:17 +08:00
TsMask
01df7b745b fix: 更新restagent为omc 2025-04-01 18:44:35 +08:00
TsMask
94ed370efa fix: 处理兼容旧网元查询函数 2025-03-26 16:19:59 +08:00
TsMask
0a9a82118b fix: 获取网元状态信息错误 2025-02-21 20:41:47 +08:00
TsMask
5b9bcd6660 refactor: 重构更新多个文件中的相关调用 2025-02-20 10:11:40 +08:00
TsMask
3cbbfc44dd feat: 基站状态记录上报和导出功能 2025-02-08 16:59:36 +08:00
TsMask
33dc2fa599 del: 移除旧代码假系统数据库备份 2025-01-07 11:13:18 +08:00
TsMask
b7d0711084 del: 移除旧代码lib/core 2025-01-07 11:11:18 +08:00
TsMask
d081961af1 perf: 移动features模块配置序列号结构体到be.ems/lib/config 2025-01-07 11:09:33 +08:00
TsMask
046e46a2f3 style: 配置文件读取错误显示中文问题 2024-12-25 17:45:34 +08:00
TsMask
75de667f7a feat: 系统用户免登录认证,默认为admin操作所有接口 2024-11-25 11:58:08 +08:00
802210cb7d fix: customized kpi features issues 2024-11-06 17:19:17 +08:00
587e7a65f0 add: NBI get fille api 2024-10-24 16:18:12 +08:00
TsMask
ee93b68683 del: 移除旧接口/objectType/license 2024-10-12 19:03:52 +08:00
TsMask
b01c38c4ac del: 移除param_config表相关引用 2024-10-12 18:00:20 +08:00
c4533da0e0 fix: return code and message to FE issue 2024-09-09 17:19:50 +08:00
b5ae51d1cc add: sshsvc support telnet server 2024-09-09 14:11:18 +08:00
e7686d9a96 update: file size humanize show 2024-09-06 17:57:11 +08:00
292bbeab89 update: file size humanize show 2024-09-06 17:05:51 +08:00
32933cca79 fix: file not contain owner and group 2024-09-06 15:28:44 +08:00
13b322a038 add: update export table task 2024-09-06 14:58:02 +08:00
86ae0779ef version 2.2409.1 2024-09-04 15:29:31 +08:00
fb3ce6183b fix for custom kpi and export log&cdr table file 2024-08-30 11:41:22 +08:00
cd7e5693f5 add: custom kpi and export log&cdr file 2024-08-29 11:46:45 +08:00
TsMask
b001f0ae31 del: 旧文件处理工具包 2024-08-16 10:28:26 +08:00
TsMask
2ff03fc7e8 del: 移除jwt-go依赖 2024-08-16 10:08:42 +08:00
TsMask
0b5366fe82 del: 移除无用接口-文件资源列表 2024-08-16 10:07:05 +08:00
TsMask
74bd85890b perf: CDR上报接口统一地址,补充SMSC 2024-08-08 17:10:21 +08:00
TsMask
372310ae7a fix: UriUEInfo接口接收解析变更Map 2024-06-27 17:36:31 +08:00
TsMask
348b67f701 style: 函数工具引用变更 2024-06-17 15:19:10 +08:00
TsMask
127bc54a3d del: 移除无用工具函数代码 2024-06-17 15:17:32 +08:00
TsMask
606f332fd8 fix: 用户session检查导致cpu飙升 2024-06-17 14:09:18 +08:00
TsMask
bdec033db4 feat: 新增ue事件日志上报接口 2024-06-15 16:38:37 +08:00
TsMask
09b4dbb321 fix: mux上下文工具ctx 2024-06-15 16:36:47 +08:00
TsMask
f80fa96769 Merge remote-tracking branch 'origin/main' into lichang 2024-05-30 11:01:24 +08:00
83488d27d1 add: SMF CDR 2024-05-28 10:15:41 +08:00
TsMask
229834c375 Merge remote-tracking branch 'origin/main' into lichang 2024-05-17 18:07:42 +08:00
TsMask
8b64dfa10d del: 移除无用的mux路由函数 2024-05-17 10:51:27 +08:00
d782cfcc74 fix: nbi_cm replace northbound_cm 2024-05-14 15:17:40 +08:00
TsMask
9b1d13ce53 Merge remote-tracking branch 'origin/main' into lichang 2024-04-30 20:21:58 +08:00
a1d12bd0f3 fix: ne_state table issue 2024-04-29 18:11:33 +08:00
938f8d2740 fix: alarm forward by sms and email issue 2024-04-24 16:55:36 +08:00
TsMask
186ea8c203 Merge remote-tracking branch 'origin/main' into lichang 2024-04-17 10:57:07 +08:00