Leverage az provider list#3707
Merged
Merged
Conversation
Contributor
Does the PR have any schema changes?Looking good! No breaking changes found. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3707 +/- ##
==========================================
+ Coverage 56.41% 56.80% +0.38%
==========================================
Files 74 74
Lines 11813 11838 +25
==========================================
+ Hits 6664 6724 +60
+ Misses 4652 4619 -33
+ Partials 497 495 -2 ☔ View full report in Codecov by Sentry. |
2081bb3 to
e3086cc
Compare
d02d06d to
f317565
Compare
cdde558 to
33452f9
Compare
thomas11
approved these changes
Dec 2, 2024
thomas11
left a comment
Contributor
There was a problem hiding this comment.
LGTM with some docs wishlist items
- Use built-in `--query` option instead of needing jq installed. - Move into `versions` directory where all other version data is. - Add `defaultVersion` and `locations` fields for each resourceType.
Use existing openapi.ApiVersionToDate function
- Add new report highlighting which versions in the default lock are not listed as live. - Remove old active report which was the same data as the 'az provider list' but reformatted. - Pass indexedProviderList into BuildSpec function.
- Fall back to any version if none are live. - Add documentation comments. - Create providerSpecBuilder class to give access to global, immutable data across functions to avoid passing providerName and providerList everywhere. - Simplify filtering candidate versions. Test adding resources only if they're live
- If the resource is already added, don't remove it. - If it's a new addition, but not yet live, don't add it.
- Test prefering live versions for tracking - Combine default version tests - Move lots of default version tests into the new calculateVersionMetadata tests which are a broader test and require less mocking.
1e65c4e to
50c3df9
Compare
Contributor
|
This PR has been shipped in release v2.76.0. |
This was referenced Sep 1, 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.
Fixes #2661
az provider list?az provider listdoesn't include any.