update api from v1 to v2#3015
Conversation
- Move instance audit plan related endpoints from v1 to v2 - Update data structures and API responses for v2 - Deprecate v1 endpoints for instance audit plans - Improve error handling and data validation in v2 endpoints
…anagement features - Remove deprecated business parameter from SQL management related APIs - Update SQL management features to use environment tag instead of business - Refactor instance retrieval methods to use new API structures - Update notification body to use environment instead of business
- Remove deprecated flag from getInstanceAuditPlansV1 endpoint - Add new endpoint for getting instance audit plan details in v2 - Update parameter descriptions across multiple endpoints - Add new response models for v2 API
- Remove 'Business' field from the notification content - Rename 'Environment' to '环境属性' in Chinese locale - Update corresponding English and Chinese locale files
- Add new API endpoint for v2 instance audit plans - Update existing API to use deprecated flag - Add new response models for v2 instance audit plans - Update API documentation in Swagger JSON and YAML formats
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
assign in @iwanghc
关联的 issue
#3008
描述你的变更
升级以下2个接口 from v1 to v2
删除已废弃接口的业务逻辑
确认项(pr提交后操作)
Tip
请在指定复审人之前,确认并完成以下事项,完成后✅
not_compatibleneed_update_docDescription
添加环境属性管理功能
迁移实例审核计划API到v2
更新API文档和Swagger
修改本地化消息内容
Changes walkthrough 📝
10 files
迁移实例审核计划API到v2标记过时的业务参数移除过时的实例审核计划逻辑更新项目权限中的环境标签过滤标记过时的业务过滤参数更新工作流中的实例服务类型引用新增v2实例审核计划API实现标记导出SQL管理功能为无效更新实例模型以使用环境属性移除实例模型中的业务字段6 files
更新API文档添加v2实例审核计划更新本地化消息替换业务为环境更新Swagger文档添加v2实例审核计划更新Swagger YAML添加v2实例审核计划更新英文本地化消息更新中文本地化消息