feat: complete cmpp platform phases 0-5
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# CMPP Platform API Spike
|
||||
|
||||
阶段 0 的 `api/` 目录用于 NestJS + BullMQ 通信 Spike。当前只定义边界,不展开业务模块。
|
||||
|
||||
## 阶段 0 职责
|
||||
|
||||
- 生产 `cmpp.submit.commands` 队列消息。
|
||||
- 消费 `cmpp.submit.results`、`cmpp.receipt.events`、`cmpp.uplink.events`。
|
||||
- 使用 `traceId`、`messageId`、`channelId` 记录最小链路状态。
|
||||
- 为 500 条/秒 Spike 提供批量入队脚本或测试入口。
|
||||
|
||||
## 不在阶段 0 实现
|
||||
|
||||
- 认证、权限、租户完整模型。
|
||||
- 企业、应用、签名、模板 CRUD。
|
||||
- 风控、审核、报备、计费真实业务规则。
|
||||
- PostgreSQL/Prisma 正式 schema。
|
||||
|
||||
## 队列契约
|
||||
|
||||
以 `docs/contracts/gateway-queue-messages.schema.json` 和 `docs/contracts/examples/` 为准。
|
||||
Reference in New Issue
Block a user