-
Notifications
You must be signed in to change notification settings - Fork 30
Upgrading Extensions for V2 Compatibility
Alex Weininger edited this page Oct 11, 2022
·
20 revisions
🚧 WIP 🚧
Client extensions will undergo two updates related to the V2 API.
- Updates needed to make client extension compatible with V2 API, without actually consuming the V2 API.
- Full upgrade and migration to the V2 API. Lots of code changes will be required for this step.
This is a guide for part 1 of the upgrade.
- Update utils package
- Replace
registerCommand
uses withregisterCommandWithTreeNodeUnwrapping
- Resolvers must be registered with an
AzExtResourceType
ID Theid
argument when callingregisterApplicationResourceResolver
must be anAzExtResourceType
.
- Add V2 contributions to package.json
- Commands should show on
azureResourceGroupsV2
view instead ofazureResourceGroups
view - Change commands attached to
azureResourceTypeGroup
tree items to useAzExtResourceType
contexts Example