Commit Graph

8 Commits

Author SHA1 Message Date
TsMask
91cd153ce9 fix: 调试监控参数调整 2025-05-15 17:22:58 +08:00
TsMask
4989f45a03 fix: 告警清除自定义的AlarmCode 2025-05-09 11:54:56 +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
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
c11676bf6f feat: 更新依赖并重构应用引擎初始化逻辑, 支持Grafana 2025-04-19 11:57:27 +08:00
TsMask
01df7b745b fix: 更新restagent为omc 2025-04-01 18:44:35 +08:00
TsMask
c20a3e5f04 perf: 调整打包目录 2025-03-17 14:11:34 +08:00
TsMask
b3bb2d788f perf: 重构目录结构 2025-03-14 18:25:41 +08:00