## 目录结构

```
├── common     # 平台公共库
│   └── model  # 业务实体定义
├── sdk        # 用例编写库
└── services   # 平台相关服务
    ├── rms    # 资源管理
    ├── tcms   # 用例管理
    └── tps    # 执行调度
```

## Service 规范

- 如果服务暴露 RESTful API ，**必须**同时暴露 `GET /swagger` 接口文档页面，并保证该文档与实现一致。
- 如果服务使用到数据库，涉及 schema 变更时务必保留变更历史和当前最新定义，参照 [migration](./migration.md)，eg:
  ```
  current.sql
  migrations/
    0001_init.sql
    0002_add_user_table.sql
    ...
  ```
