- 去掉独立 aiohttp 服务器,改为标准模块(load_pipeline_service) - 存储从文件系统改 MySQL(sqlor) - 新增 3 张数据表:pipeline_tasks/task_steps/artifacts - 多租户隔离(tenant_id) - 通用 DAG 调度引擎(读 pipeline_steps 表,不硬编码业务) - 可插拔步骤处理器(register_handler by step_type) - artifact 版本管理 + 级联重跑 - init/data.json 标准 appcodes 格式 - 完整 README 文档
22 lines
576 B
Python
22 lines
576 B
Python
"""pipeline_service - 通用产线执行引擎模块"""
|
|
|
|
from .init import (
|
|
load_pipeline_service,
|
|
pipeline_submit,
|
|
pipeline_list,
|
|
pipeline_detail,
|
|
pipeline_node,
|
|
pipeline_modify,
|
|
pipeline_pause,
|
|
pipeline_resume,
|
|
pipeline_cancel,
|
|
pipeline_handlers,
|
|
)
|
|
from .handler import register_handler, list_handlers, get_handler
|
|
from .state import (
|
|
STATE_PENDING, STATE_RUNNING, STATE_COMPLETED, STATE_FAILED, STATE_SKIPPED,
|
|
TASK_SUBMITTED, TASK_RUNNING, TASK_COMPLETED, TASK_FAILED, TASK_PAUSED, TASK_CANCELLED,
|
|
)
|
|
|
|
__version__ = "2.0.0"
|