update 5 api related to environment tag#3017
Merged
ColdWaterLW merged 18 commits intomainfrom Apr 11, 2025
Merged
Conversation
- Replace dmsV1 with dmsV2 in import statements - Update function calls and struct references to use dmsV2 - Modify ListDBServiceReq usage across multiple files - Adjust error handling and permissions checks for new API
- Move GetInstanceTips endpoint from v1 to v2 router - Implement new GetInstanceTips function in v2 with updated request and response models - Add support for filtering by environment tag and workflow template ID - Improve error handling and code organization
- Update the response schema for instance tips from v1 to v2 in Swagger documentation - Add new definitions for v2.GetInstanceTipsResV2 and v2.InstanceTipResV2 - Update the API endpoint for getting instance tips to use the new schema
- Changed function name from GetInstancesInProjectByTypeAndBusiness to GetInstancesInProjectByTypeAndEnvironmentTag - Updated function calls in affected files to reflect the new name - This change clarifies that the function filters instances by type and environment tag, not by business
- Add new endpoint for getting SQL manage list in v3 - Implement SQL manage list retrieval for enterprise edition - Add community edition support with error handling - Update API documentation for new endpoint
- Add new endpoint for getting SQL manage list in v3 - Implement SQL manage list retrieval for enterprise edition - Add community edition support with error handling - Update API documentation for new endpoint
- Rename "获取管控sql列表" to "获取SQL管控列表" for better clarity - Add new response model (v3.GetSqlManageListResp) for SQL management list - Update query parameter description for environment tag filtering - Update API endpoint to use new response model
- Add new endpoint for SQL manage export in v2 - Implement export logic with support for fuzzy search and various filters - Generate CSV file with detailed SQL manage information - Update old export endpoint to use new implementation
- 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
…dit plans - Remove "filter_by_environment_tag" from the data map - Add logic to fetch instances by environment tag and project ID - Update query to filter by instance IDs obtained from the environment tag - Change "Environment" field to "EnvironmentTagName" in the response - Update "Environment" field to "EnvironmentTagUID" in the detail response
- Add EnvironmentTagUID and EnvironmentTagName fields to Instance model - Update convertInstance function to include environment tag information - Modify notification to use EnvironmentTagName instead of Environment
|
Failed to generate code suggestions for PR |
1 similar comment
|
Failed to generate code suggestions for PR |
ColdWaterLW
previously approved these changes
Apr 11, 2025
fccbd1b to
2ec36a2
Compare
|
Failed to generate code suggestions for PR |
ColdWaterLW
approved these changes
Apr 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联的 issue
#3008
描述你的变更
确认项(pr提交后操作)
Tip
请在指定复审人之前,确认并完成以下事项,完成后✅
not_compatibleneed_update_doc