You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.7 KiB
38 lines
1.7 KiB
# lab-ops — 运维/基础设施模块 |
|
|
|
**路径:** `project_husbandry_back/lab-ops/` |
|
**作用:** 11 个运维/基础设施 Maven 子模块 |
|
|
|
## 模块清单 |
|
|
|
| 模块 | 包名 | 用途 | |
|
|------|------|------| |
|
| `lab-admin` | `org.springblade.admin` | 管理控制台/仪表盘 | |
|
| `lab-develop` | `org.springblade.develop` | 开发工具/代码生成器 | |
|
| `lab-log` | `org.springblade.log` | 审计日志 | |
|
| `lab-mail` | `org.springblade.mail` | 邮件发送服务 | |
|
| `lab-office` | `org.springblade.office` | Office 文档处理 | |
|
| `lab-report` | `org.springblade.report` | 报表引擎 | |
|
| `lab-resource` | `org.springblade.resource` | 文件/OSS 资源管理 | |
|
| `lab-swagger` | `org.springblade.swagger` | Swagger API 文档聚合 | |
|
| `lab-turbine` | `org.springblade.turbine` | Hystrix 监控面板 | |
|
| `lab-xxljob` | `org.springblade.xxljob` | XXL-Job 分布式任务执行器 | |
|
| `lab-xxljob-admin` | `com.xxl.job.admin` | XXL-Job 管理后台(独立应用) | |
|
|
|
## 依赖关系 |
|
|
|
- `lab-ops-api/` 提供 `lab-mail-api`、`lab-resource-api` 的 Feign 客户端接口 |
|
- `lab-xxljob-admin` 是嵌入的 XXL-Job 管理后台(非 SpringBlade 代码) |
|
|
|
## 约定规范 |
|
|
|
- **标准 SpringBlade 布局**: 每个模块都是 controller → service → mapper → entity |
|
- **XXL-Job 内嵌**: 完整集成了 XXL-Job 管理后台作为子模块 |
|
- **Swagger 聚合**: `lab-swagger` 汇总所有模块的 API |
|
- **资源管理**: 文件上传/下载、OSS 集成 |
|
|
|
## 备注 |
|
|
|
- `lab-xxljob-admin` 包含大量静态资源(adminlte、codemirror 等)— 运维模块中文件数最多的 |
|
- `lab-turbine` 服务于 Hystrix 监控(Spring Cloud Netflix 栈) |
|
- 大部分模块是基础设施的轻量封装,业务逻辑较少
|
|
|