-
Notifications
You must be signed in to change notification settings - Fork 5.1k
MPG migration - databasewatcher #53913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPG migration - databasewatcher #53913
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request implements an MPG (Management Plane Generator) migration for the databasewatcher SDK. The migration updates the code generation approach from the legacy generator to the new Azure Management Generator.
Key changes:
- Updates
tsp-location.yamlto reference the new management emitter package - Refactors REST operations classes from high-level API methods to low-level protocol methods
- Introduces new pagination helper classes for collection results
- Updates serialization patterns and model properties naming conventions
- Changes from
stringsubscription IDs toGuidtype - Modernizes code generation patterns across models and operations
Reviewed Changes
Copilot reviewed 7 out of 128 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tsp-location.yaml | Adds emitter package reference for management plane generator |
| WatchersRestOperations.cs | Refactored from full REST operations to protocol-level HTTP message builders |
| TargetsRestOperations.cs | Same refactoring pattern as WatchersRestOperations |
| SharedPrivateLinkResourcesRestOperations.cs | Same refactoring pattern as WatchersRestOperations |
| HealthValidationsRestOperations.cs | Same refactoring pattern as WatchersRestOperations |
| AlertRuleResourcesRestOperations.cs | Same refactoring pattern as WatchersRestOperations |
| *CollectionResultOfT.cs (new files) | New pagination helper classes for sync and async operations |
| Models/*.cs | Updated serialization, property naming, and constructor patterns |
| ProviderConstants.cs | Made partial and added XML documentation |
| Utf8JsonRequestContent.cs | Made partial and added XML documentation |
| AzureResourceManagerDatabaseWatcherContext.cs | Updated documentation link format |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
9df4a9d to
291e993
Compare
live1206
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you update inventory.md?
9c8847d to
7a661f9
Compare
MPG migration - databasewatcher: #53873