Files
ecm_sync_system/docs/archive/migration_map.md
T
strepsiades 4a9c444b10 first commit
2026-03-09 16:31:42 +08:00

16 lines
738 B
Markdown

# 迁移映射
## 旧 -> 新
- `sync_system_new/state_machine/*` -> `sync_state_machine/config|tools/*`
- `strategy.py` 决策逻辑 -> `sync_state_machine/engine/* + sync_state_machine/sync_system/strategy.py`
- `datasource.py` 状态写回 -> `sync_state_machine/datasource/datasource.py`
- bind/create/update 事件驱动 -> `sync_state_machine/sync_system/strategy.py` 直接 dispatch(无桥接层)
## 不变项
- `sync_system_new/domain/*` 业务处理逻辑保持不动。
- `schemas/``filtered_datasource/` 不修改。
## 目录差异说明
- `sync_state_machine/adapters/` 已移除,避免“新目录实现 + 适配桥接”双轨并存。
- 状态机配置、执行、测试均在 `sync_state_machine` 内闭环。