Feature: Preview of the Migration Plugin Support#161
Merged
Conversation
…t/vscode-documentdb into dev/tnaum/migration-api
# Conflicts: # .github/workflows/api-extractor.yaml
…e for plugins as we're still in the experimental phase
Migration Plugin IterationMigration Plugin Support
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces experimental preview support for data migration providers in DocumentDB for VS Code. It adds new commands and API endpoints for migration, updates localization strings and documentation, and establishes the new migration API package.
- Added a new command registration (chooseDataMigrationExtension) in ClustersExtension.ts.
- Implemented the migration command in chooseDataMigrationExtension.ts along with its authentication flow.
- Updated package.json, localization files, documentation, and introduced a new migration API in the api/ folder.
Reviewed Changes
Copilot reviewed 24 out of 24 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/documentdb/ClustersExtension.ts | Added import and registration of the migration command. |
| src/commands/chooseDataMigrationExtension/chooseDataMigrationExtension.ts | Implemented the command for selecting a migration provider with an authentication flow and action picker. |
| package.json | Added migration command entries and new API configuration for migration. |
| main.ts | Updated activate() return type to support the new DocumentDBExtensionApi. |
| l10n/bundle.l10n.json | Added new localization strings for migration-related messages. |
| docs/learn-more/index.md & docs/learn-more/data-migrations.md | Documented the new experimental feature for data migrations and updated the index accordingly. |
| docs/index.md | Linked the new Data Migrations documentation in the main docs index. |
| api/** | Added new API files (tsconfig.json, migrationProvider.ts, migrationApi.ts, etc.) to support migration. |
| .github/workflows/api-publish.yaml | Updated job configuration to publish the experimental API package. |
| .eslintignore | Updated ignore patterns for the API build output and related files. |
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.
No description provided.