-
Notifications
You must be signed in to change notification settings - Fork 46
Add Documentation to Include Workspace Feature #197
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
Open
lnash94
wants to merge
11
commits into
wso2:main
Choose a base branch
from
lnash94:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
d362822
Add workspace doc
lnash94 deb9515
Fix review suggestions
lnash94 4f56cd8
Add links and fix review suggestions
lnash94 2d50d62
Fix review suggestions
lnash94 cf61b3f
Update screenshots
lnash94 2edb4f5
Update gif
lnash94 4c2070c
Remove gif
lnash94 5aa4dba
Update url
lnash94 669e1ea
Move workspace doc to a common place with integration creation
lnash94 e93acf4
Remove workspace overview file
lnash94 63f79f4
Merge branch 'main' into main
lnash94 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file added
BIN
+207 KB
en/docs/assets/img/developer-guides/workspace/add-integration-to-workspace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.53 MB
en/docs/assets/img/developer-guides/workspace/convert-integration-to-workspace.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.2 MB
en/docs/assets/img/developer-guides/workspace/create-integration-hq.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.27 MB
en/docs/assets/img/developer-guides/workspace/navigate-integration.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+50.8 KB
en/docs/assets/img/developer-guides/workspace/standalone-project-add.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # Overview | ||
|
|
||
| Integration in WSO2 Integrator: BI is the foundational space for defining, organizing, and managing integration artifacts such as services, data mappings, and connections. | ||
| Integrations can contain either a single integration or multiple integrations grouped together as a workspace. | ||
|
|
||
| ## For single integrations | ||
|
|
||
| When building a simple, standalone integration, you can work directly without a workspace. This approach is perfect for: | ||
|
|
||
| - Quick, one-off integrations | ||
| - Independent services with no strong dependencies | ||
| - Simple proof-of-concepts | ||
|
|
||
| ## For complex integrations | ||
|
|
||
| Workspaces become essential when you need to: | ||
|
|
||
| - Organize related integrations – Group multiple integrations that belong to the same business domain or application | ||
| - Manage dependencies – Allow integrations to reference and use resources from other integrations within the workspace | ||
| - Simplify collaboration – Work on multi-integration projects with a clear organizational structure | ||
|
|
||
| ### What is a workspace? | ||
| A workspace is a collection of integration packages that can be organized and managed together in a single structure. This allows you to organize multiple related integrations in a single project structure. It provides a centralized environment where you can develop, manage, and maintain interdependent integrations. | ||
|
|
||
| ???+ Note | ||
| This feature is available from WSO2 Integrator: BI 1.5.0 onwards and Ballerina version 2201.13.0+. | ||
|
|
||
| ### Key benefits | ||
|
|
||
| - Visual Organization – See all your related integrations in one place with an intuitive tree structure | ||
| - Seamless Navigation – Quickly switch between integrations without leaving your workspace | ||
| - Dependency Management – Integrations within a workspace can reference each other automatically | ||
| - Flexible Structure – Start with standalone integrations and convert them to workspaces as your project grows | ||
| - Reduced Context Switching - Consolidate related repositories (e.g., code + documentation + config) into one view. This minimizes mental load and window management, allowing developers to focus on the logical feature rather than the repository structure. | ||
| - Cross-Project Symbol Resolution - Enable "Go to Definition" and intelligent code navigation across distinct repositories. This removes the need to build or publish local packages to see changes in dependent projects, accelerating the feedback loop. | ||
| - Resource Optimization - Reduce the memory and CPU overhead of running multiple IDE instances. A single instance managing multiple roots lowers hardware requirements and improves performance on developer workstations. | ||
|
|
||
|
|
||
| Whether you're building a single integration or orchestrating a complex microservices architecture, WSO2 Integrator: BI provides the flexibility to work in the way that best suits your project's needs. | ||
|
|
||
| Follow the below links to learn more about creating , managing workspaces and integrations: | ||
|
|
||
| - [Creating an Integration](/developer-guides/workspace-management/create-an-integration) | ||
| - [Managing Integrations in Workspaces](/developer-guides/workspace-management/manage-integrations-in-workspaces/) |
45 changes: 45 additions & 0 deletions
45
en/docs/developer-guides/workspace-management/create-an-integration.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # Create an Integration | ||
|
|
||
| ## Create an integration without workspace | ||
| When you need to build a simple, standalone integration, you can create it directly without setting up a workspace. This streamlined approach is ideal for independent services. | ||
|
|
||
| 1\. Launch WSO2 Integrator: BI and navigate to the integrations view. | ||
|
|
||
| 2\. Click the **Create New Integration** button. | ||
|
|
||
| 3\. Fill in **Create Your Integration** details and click **Create Integration**. | ||
|
|
||
| - Provide the integration name | ||
| - Provide a package name | ||
| - Select the path | ||
| - Provide the organization name and version in **Optional Configurations** (Optional) | ||
|
|
||
| Now you will see the BI home page. | ||
|
|
||
| <a href="{{base_path}}/assets/img/developer-guides/workspace/create-integration-hq.gif"><img src="../../../assets/img/developer-guides/workspace/create-integration-hq.gif" alt="Create Integration Without Workspace" width="80%"></a> | ||
lnash94 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| ## Create an integration with workspace | ||
| Creating an integration within a workspace provides better organization and enables advanced features for managing multiple related integrations. | ||
|
|
||
| 1\. Launch WSO2 Integrator: BI and navigate to the integrations view | ||
|
|
||
| 2\. Click on the **Create New Integration** button, add details: | ||
|
|
||
| - Provide the integration name | ||
| - Provide a package name | ||
| - Select the path | ||
|
|
||
| 3\. Expand **Optional Configurations** and enable **Create as workspace** option | ||
|
|
||
| - Provide relevant workspace name | ||
| - Provide the organization name and version (Optional): | ||
|
|
||
| <a href="{{base_path}}/assets/img/developer-guides/workspace/expand_workspace.png"><img src="../../../assets/img/developer-guides/workspace/expand_workspace.png" alt="Expand Workspace Details Form" width="80%"></a> | ||
lnash94 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| <a href="{{base_path}}/assets/img/developer-guides/workspace/workspace_details.png"><img src="../../../assets/img/developer-guides/workspace/workspace_details.png" alt="Expand Workspace Details Form" width="80%"></a> | ||
lnash94 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| 4\. Click **Create Integration** to initialize your integration | ||
|
|
||
| Now, you can start creating your integration by developing artifacts. See the [WSO2 Integrator: BI Artifacts]({{base_path}}/developer-guides/wso2-integrator-bi-artifacts/) to learn about the integration artifacts. | ||
|
|
||
| Additionally, you can enhance your experience by incorporating AI-powered assistance with [BI Copilot]({{base_path}}/developer-guides/ai-for-integration/build-an-http-service-with-wso2-copilot/). | ||
55 changes: 55 additions & 0 deletions
55
en/docs/developer-guides/workspace-management/manage-integrations-in-workspaces.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| # Manage Integrations in Workspaces | ||
|
|
||
| ## Add an integration to an existing workspace | ||
|
|
||
| Once you have a workspace, you can continue adding integrations to organize your project. | ||
|
|
||
| 1\. Open your workspace | ||
|
|
||
| <a href="{{base_path}}/assets/img/developer-guides/workspace/open-workspace.gif"><img src="../../../assets/img/developer-guides/workspace/open-workspace.gif" alt="Select Workspace" width="80%"></a> | ||
|
|
||
| 2\. Click the **+** button next to the title WSO2 Integrator: BI at the top of the activity bar (left-side panel) or the **+ Add Integration** button on the workspace title bar. | ||
|
|
||
| <a href="{{base_path}}/assets/img/developer-guides/workspace/add-integration-to-workspace.png"><img src="../../../assets/img/developer-guides/workspace/add-integration-to-workspace.png" alt="Add Integration to Workspace" width="80%"></a> | ||
|
|
||
| 3\. Add details: | ||
|
|
||
| - Provide the integration name | ||
| - Provide a package name | ||
|
|
||
| <a href="{{base_path}}/assets/img/developer-guides/workspace/create-integration.png"><img src="../../../assets/img/developer-guides/workspace/create-integration.png" alt="Create Integration" width="80%"></a> | ||
|
|
||
| 4\. Click **Add Integration** to add it to your workspace, The new integration is added to your workspace and appears in the workspace navigator. | ||
|
|
||
| <a href="{{base_path}}/assets/img/developer-guides/workspace/add-integration.gif"><img src="../../../assets/img/developer-guides/workspace/add-integration.gif" alt="Add Integration" width="80%"></a> | ||
|
|
||
|
|
||
| ## Add an integration by converting a standalone integration to a workspace | ||
|
|
||
| If you started with a standalone integration and now need to add another integration by converting your integration to a workspace. | ||
|
|
||
| 1\. Open the standalone integration | ||
|
|
||
| 2\. Click the **+** button next to the title WSO2 Integrator: BI at the top of the activity bar (left-side panel) | ||
|
|
||
| <a href="{{base_path}}/assets/img/developer-guides/workspace/standalone-project-add.png"><img src="../../../assets/img/developer-guides/workspace/standalone-project-add.png" alt="Convert Integration to Workspace" width="30%"></a> | ||
|
|
||
| 3\. Add details to Convert to Workspace & Add Integration form: | ||
|
|
||
| - Provide the workspace name | ||
| - Provide the integration name | ||
| - Provide a package name | ||
|
|
||
| <a href="{{base_path}}/assets/img/developer-guides/workspace/convert-integration-to-workspace.gif"><img src="../../../assets/img/developer-guides/workspace/convert-integration-to-workspace.gif" alt="Add Integration to Workspace" width="80%"></a> | ||
|
|
||
| ## Delete an integration | ||
|
|
||
| Hover over an integration you want to delete on the workspace overview page, Click the **Delete** button. | ||
|
|
||
| <a href="{{base_path}}/assets/img/developer-guides/workspace/delete-integration.gif"><img src="../../../assets/img/developer-guides/workspace/delete-integration.gif" alt="Delete Integration from Workspace" width="80%"></a> | ||
|
|
||
| ## Navigate to an integration | ||
|
|
||
| To access a specific integration to manage artifacts. Click the diagram icon (Show overview) of an integration in the activity panel or click a particular integration from the workspace overview page. | ||
|
|
||
| <a href="{{base_path}}/assets/img/developer-guides/workspace/navigate-integration.gif"><img src="../../../assets/img/developer-guides/workspace/navigate-integration.gif" alt="Navigate Integration" width="80%"></a> |
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.