ForcePilot/backend/server/routers/external_systems
Kris 6dd16ad3f8 refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验
本次提交对多个外部系统路由进行了多维度优化:
1.  统一分页参数:将所有路由的`page = offset//limit +1`、`page_size=limit`替换为标准的`limit`+`offset`分页格式
2.  完善接口文档:补充多个端点的功能说明、参数含义与返回字段解释
3.  增强参数校验:新增字段长度限制、正则校验、枚举类型约束与业务逻辑校验
4.  优化代码复用:提取重复逻辑为辅助函数,减少样板代码
5.  修复接口问题:修正工具健康检查端点路径参数类型,优化导出接口响应格式
6.  补充异常处理:为批量操作添加异常捕获与日志记录,避免流程中断
2026-07-11 06:57:24 +08:00
..
__init__.py feat(routers): add external systems management module and its sub routers 2026-06-20 22:16:07 +08:00
access_rule_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
adapter_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
alert_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
asset_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
audit_log_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
auth_plugin_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
dashboard_router.py refactor(external_systems_router): 优化多路由代码并新增功能 2026-07-11 05:40:58 +08:00
environment_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
execution_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
health_check_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
import_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
integration_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
integration_tool_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
metric_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
notification_channel_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
quota_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
secret_rotation_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
system_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
test_case_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
token_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
tool_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
trash_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00
webhook_router.py refactor(external-systems-routers): 统一分页参数格式并完善各路由文档与校验 2026-07-11 06:57:24 +08:00