diff --git a/workspaces/bi/bi-extension/README.md b/workspaces/bi/bi-extension/README.md index a5ed66de605..2a27956669b 100644 --- a/workspaces/bi/bi-extension/README.md +++ b/workspaces/bi/bi-extension/README.md @@ -1,5 +1,9 @@ # WSO2 Integrator: BI for Visual Studio Code (WSO2 Integrator: BI for VS Code) +> ❗ **IMPORTANT**: This extension has been deprecated in favor of the [WSO2 Integrator](https://marketplace.visualstudio.com/items?itemName=WSO2.wso2-integrator) extension. +> +> Please install the [WSO2 Integrator](https://marketplace.visualstudio.com/items?itemName=WSO2.wso2-integrator) extension instead. + WSO2 Integrator: BI Visual Studio Code extension (WSO2 Integrator: BI for VS Code) is a comprehensive integration solution that simplifies your digital transformation journey. It streamlines connectivity among applications, services, data, and the cloud using a user-friendly low-code graphical designing experience and revolutionizes your integration development workflow. As an integration developer, you can execute all the development lifecycle phases using this tool. When your integration solutions are production-ready, you can easily push the artifacts to your continuous integration/continuous deployment pipeline. ## Prerequisites diff --git a/workspaces/hurl-client/hurl-client-extension/README.md b/workspaces/hurl-client/hurl-client-extension/README.md index 38c38726286..7550f8effe7 100644 --- a/workspaces/hurl-client/hurl-client-extension/README.md +++ b/workspaces/hurl-client/hurl-client-extension/README.md @@ -1,7 +1,5 @@ # Hurl Client -> This extension was developed to serve as the HTTP client for the [WSO2 Integrator](https://marketplace.visualstudio.com/items?itemName=WSO2.wso2-integrator). - Open, edit, and execute `.hurl` files as interactive notebooks in VS Code. Each HTTP request in a `.hurl` file becomes a runnable notebook cell. Responses are displayed inline as formatted Markdown — status code, response body (pretty-printed JSON), and assertion results. Markdown cells provide rich documentation between requests. diff --git a/workspaces/wso2-platform/wso2-platform-extension/README.md b/workspaces/wso2-platform/wso2-platform-extension/README.md index f9ee9c7e3cf..5e706a166be 100644 --- a/workspaces/wso2-platform/wso2-platform-extension/README.md +++ b/workspaces/wso2-platform/wso2-platform-extension/README.md @@ -1,5 +1,9 @@ # WSO2 Platform Extension for Visual Studio Code +> ❗ **IMPORTANT**: This extension has been deprecated in favor of the [WSO2 Integrator](https://marketplace.visualstudio.com/items?itemName=WSO2.wso2-integrator) extension. +> +> Please install the [WSO2 Integrator](https://marketplace.visualstudio.com/items?itemName=WSO2.wso2-integrator) extension instead. + The WSO2 Platform VS Code extension enhances your local development experience with [WSO2 Developer Platform](https://wso2.com/choreo/) and [WSO2 Integration Platform](https://devant.wso2.com/) projects, providing comprehensive project and component management capabilities in VS Code. For more details, visit the [WSO2 Developer Platform documentation](https://wso2.com/choreo/docs/) or [WSO2 Integration Platform documentation](https://wso2.com/devant/docs/). diff --git a/workspaces/wso2-platform/wso2-platform-extension/src/extension.ts b/workspaces/wso2-platform/wso2-platform-extension/src/extension.ts index fe8bda7afc6..10bab480dc6 100644 --- a/workspaces/wso2-platform/wso2-platform-extension/src/extension.ts +++ b/workspaces/wso2-platform/wso2-platform-extension/src/extension.ts @@ -52,6 +52,28 @@ export async function activate(context: vscode.ExtensionContext) { getLogger().info(`Extension version: ${getExtVersion(context)}`); getLogger().info(`CLI version: ${getCliVersion()}`); + const DEPRECATION_WARNING_KEY = "wso2.platform.deprecation.dismissed"; + if (!context.globalState.get(DEPRECATION_WARNING_KEY, false)) { + window + .showWarningMessage( + "The WSO2 Platform extension is deprecated. Please install the WSO2 Integrator extension instead.", + "Install WSO2 Integrator", + "Dismiss", + ) + .then((selection) => { + if (selection === "Install WSO2 Integrator") { + vscode.env.openExternal(vscode.Uri.parse("https://marketplace.visualstudio.com/items?itemName=WSO2.wso2-integrator")) + .then(undefined, (error) => { + getLogger().error("Failed to open WSO2 Integrator marketplace page", error); + window.showErrorMessage("Failed to open marketplace. Please visit https://marketplace.visualstudio.com/items?itemName=WSO2.wso2-integrator manually."); + }); + } + if (selection === "Dismiss" || selection === "Install WSO2 Integrator") { + context.globalState.update(DEPRECATION_WARNING_KEY, true); + } + }); + } + // Initialize stores await contextStore.persist.rehydrate(); await dataCacheStore.persist.rehydrate();