pipeline-app/conf/config.json
yumoqing 9674a2ee4b feat(ticket): 工单管理模块应用集成——load链/build.sh三清单/种子/i18n/菜单/冒烟
- app/pipeline_app.py: try-import load_ticket()+load链(pipeline_task之后,依赖pipeline_service的provider注册/llm_bridge/rag_client)
- build.sh: clone/pip install/wwwroot软链三清单加ticket(无json/CRUD故不进xls2ui清单)
- conf/config.json module_dbname: ticket→pipeline; scripts/import_init.py INIT_MODULES加ticket(码表+owner.maintainer角色种子)
- scripts/merge_i18n.py MODULES加ticket; i18n四语言+3词条(我的工单/工单管理/提交新工单)
- wwwroot/index.ui: 客户分支「我的工单」;管理分支「工单管理」(is_ticket_staff=owner.maintainer/admin/superuser Jinja门禁)
- deploy/smoke: s15/s16工单两页面用例
- rp.json不改: 权限由模块load_path.py逐个精确配(管理页壳owner三角色,业务权限服务端按current_role动态校验)
2026-09-10 16:14:39 +08:00

72 lines
1.9 KiB
JSON

{
"password_key": "QRIVSRHrthhwyjy176556332",
"logger": {
"name": "pipeline-app",
"level": "info",
"file": "$[workdir]$/logs/app.log"
},
"filesroot": "$[workdir]$/files",
"databases": {
"pipeline": {
"driver": "aiosqlor",
"kwargs": {
"host": "127.0.0.1",
"port": 3306,
"user": "test",
"password": "sOuj6f6r8K0b8ax9K+JxPQ==",
"db": "pipeline",
"charset": "utf8mb4"
}
}
},
"module_dbname": {
"rbac": "pipeline",
"appbase": "pipeline",
"pipeline_core": "pipeline",
"pipeline_ops": "pipeline",
"pipeline_sdlc": "pipeline",
"showcase": "pipeline",
"ticket": "pipeline"
},
"website": {
"port": 9090,
"paths": [
["$[workdir]$/wwwroot", ""]
],
"processors": [
[".dspy", "dspy"],
[".ui", "bui"],
[".md", "md"],
[".tmpl", "tmpl"],
[".xterm", "xterm"],
[".ws", "ws"]
],
"session_redis": {
"url": "redis://127.0.0.1:6379/3"
},
"session_max_time": 3600,
"session_issue_time": 1800,
"client_max_size": 10485760,
"indexes": ["index.ui", "index.html"],
"startswiths": [
{
"leading": "/idfile",
"registerfunction": "idfile"
},
{
"leading": "/download",
"registerfunction": "idfile"
},
{
"leading": "/i18n_getmsgs",
"registerfunction": "i18n"
},
{
"leading": "/office/",
"registerfunction": "office_proxy"
}
]
},
"SAGE_RBAC_DB": "pipeline"
}