feat(controlplane): 定时备份槽位支持流程编排 flows 字段
- POST/GET /api/schedules/backup 增加 flows 支持,schema_version=2 - 老客户端只推 schedules 时保留已有 flows,避免流程编排被抹掉 - 新增上限:flows 200 条、备份体 2MB(413/400 明确报错) - 同步旧 FastAPI 版 schedules.py(仅兼容维护,内网生产为 controlplane-next)
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""内网插件控制面(中心机)入口(组装层)。
|
||||
|
||||
!!! DEPRECATED(2026-10 起)!!!
|
||||
这是第一代中心机(FastAPI),已由 desktop/controlplane-next(cool-admin-midway)取代。
|
||||
只做必要的问题修复与兼容维护,**不接受新功能**;计划在存量执行机升级完成后下线。
|
||||
迁移背景见 docs/架构/服务端迁移方案_cool-admin.md,维护约定见本目录 README.md。
|
||||
|
||||
业务逻辑已按领域拆到 sibling 模块,本文件仅承担:lifespan 初始化、创建 app、
|
||||
装配各领域路由、挂载前端产物、uvicorn 启动。
|
||||
- config.py 配置/路径/密钥 - db.py 数据层(建表/种子/审计)
|
||||
|
||||
Reference in New Issue
Block a user