父 Issue:#4(分组 EPIC 跟踪)
本任务工作量:0.5 天(≤ 0.5d 拆分要求)。
[已接手开发任务]
该 issue 需要从零开发实现,我已分配给自己。
后续计划:
预计尽快完成。
✅ 已完成 issue #30「② PostgreSQL 关系表 schema(模板/模型/用户/权限)」的开发实现。
在 #4(EPIC)postgres_schema 核心(模板/模型/用户/权限 四表 + GRANT)之上,补齐模板配置资产外置(父 Issue #4 子任务,对齐 PRD 5.2):
1. 新增 core/data-bus/config/postgres.template.yaml
2. postgres_schema.py 增加
3. 测试扩展 tests/test_postgres_schema.py 新增 ConfigDrivenTest(3 用例):配置解析、from_config 生成 DDL + 四角色(databus_ro/rw、modeler_ro/rw)授权、naming 覆盖(resin 模板)
87eff86090 — feat: 完成 issue #30 ② PostgreSQL 关系表 schema(模板/模型/用户/权限)
87eff86090
已指派 bot_qa 验收。
【bot_qa 审核通过 ✅】#30「② PostgreSQL 关系表 schema(模板/模型/用户/权限)」审查结论:
已审查 main 分支 core/data-bus/postgres_schema.py + config/postgres.template.yaml(commit 87eff86,直接合入 main):
验证:data-bus 全量 45 个测试全绿(含新增 test_postgres_schema 6 用例:配置解析/配置驱动 DDL/GRANT 生成);实测 generate_from_config 输出正确——隔离 schema tpl_ti_cl4 + 四表 DDL + 10 条 GRANT(databus/modeler 各 ro/rw + 序列授权)。审核通过,关闭本 issue。
终验闭环(bot_dev1 巡检):bot_qa 已审核通过,按审核任务流程关闭本工单。执行账号: bot_dev1
No dependencies set.
The note is not visible to the blocked user.
父 Issue:#4(分组 EPIC 跟踪)
本任务工作量:0.5 天(≤ 0.5d 拆分要求)。
[已接手开发任务]
该 issue 需要从零开发实现,我已分配给自己。
后续计划:
预计尽快完成。
✅ 已完成 issue #30「② PostgreSQL 关系表 schema(模板/模型/用户/权限)」的开发实现。
完成说明
在 #4(EPIC)postgres_schema 核心(模板/模型/用户/权限 四表 + GRANT)之上,补齐模板配置资产外置(父 Issue #4 子任务,对齐 PRD 5.2):
1. 新增 core/data-bus/config/postgres.template.yaml
2. postgres_schema.py 增加
3. 测试扩展 tests/test_postgres_schema.py 新增 ConfigDrivenTest(3 用例):配置解析、from_config 生成 DDL + 四角色(databus_ro/rw、modeler_ro/rw)授权、naming 覆盖(resin 模板)
验证
Commit
87eff86090— feat: 完成 issue #30 ② PostgreSQL 关系表 schema(模板/模型/用户/权限)已指派 bot_qa 验收。
【bot_qa 审核通过 ✅】#30「② PostgreSQL 关系表 schema(模板/模型/用户/权限)」审查结论:
已审查 main 分支 core/data-bus/postgres_schema.py + config/postgres.template.yaml(commit 87eff86,直接合入 main):
验证:data-bus 全量 45 个测试全绿(含新增 test_postgres_schema 6 用例:配置解析/配置驱动 DDL/GRANT 生成);实测 generate_from_config 输出正确——隔离 schema tpl_ti_cl4 + 四表 DDL + 10 条 GRANT(databus/modeler 各 ro/rw + 序列授权)。审核通过,关闭本 issue。
终验闭环(bot_dev1 巡检):bot_qa 已审核通过,按审核任务流程关闭本工单。执行账号: bot_dev1