Create a tool integration from the DevOps Change Workspace
Create a tool integration from the DevOps Change Workspace for integrating additional orchestration, planning, and coding tools that are not available by default in the DevOps Change Velocity application.
Before you begin
Complete the tasks specified in Getting started with DevOps Change Velocity.
Role required: sn_devops.admin or sn_devops.tool_owner
Set the application scope to the custom application.
About this task
Watch this video to understand how to create a tool integration from the DevOps Change Workspace.
Procedure
- Navigate to Workspaces > DevOps Change Workspace.
- In the DevOps workspace, navigate to Administration > Integrations > Tool integrations.
-
Select New.
Alternatively, you can open an existing tool integration record, and then select Edit (for a custom tool integration that is not supported in the base system).Note:For planning tools that are not supported in the base system, you can select Edit in the tool integration record to navigate to the Transformation step, where you can add any additional field. For planning tools that are supported in the base system, you can select Edit field mappings to add any additional field. For information on adding additional fields for supported planning tools, see Add custom fields for a planning tool integration.The Details step is displayed.
-
In the Tool details step, fill in the following:
Table 1. Details step fields Field Description Tool label Name of the tool integration. Integration version API version of the tool integration. - Optional: Add an image of the tool’s logo by selecting +Add file.
-
In the Tool type capabilities section, select the capability that your tool supports in the Capabilities field.
Capability Description Orchestration Tool that automated and coordinates the execution of complex processes in the software development life cycle. Plan Tool that helps plan and manage the software development life cycle. Code Tool that helps programmers write, edit, and manage code. Note:A tool can be mapped to multiple tool type capabilities. Tool integration is supported for orchestration, plan, and code capabilities. -
Select Next.
A tool integration record is created.
-
In the Actions step, select the required actions for the tool capabilities selected in the previous step. Note:Tool capability actions are defined processes that enables the DevOps Data Model to communicate with and import data from the tool integration. Each tool type capability needs its own set of actions.
-
Select Next.
Integration capability records for the selected actions are created with default values.
-
In the Configurations step, add any additional configurations that are needed for your tool by selecting Add field. The fields configured here will be displayed as parameters for the playbook whenever you are onboarding a tool.
-
Fill in the following fields.
Table 2. Configurations Field Description Field name Name of the configuration. Order Sequence in which this configuration is processed. Label Label of the configuration. Mandatory If marked true, this will appear as a connection detail when connecting an instance of this tool integration. Field type Type of the field, which can be string or password Default value Default value of this configuration. Help text If this configuration is mandatory, then the help text appears for this field in connection details when connecting an instance of this tool. -
Select Next.
A tool integration configuration record is created for the additional field.
-
In the Transformation step, review the transformation for each tool capability action, and add any custom field to the tool integration.
A generic transform script is provided for each tool action. You can extend the generic script which calls the transformer-based mapping or create record transformers and manually map it to the fields. To extend, you can create a new script by extending the DevOpsGenericIntegrationHandlerSNC class to override the required method, and use this newly created script in the transform script.
- Enter the resource path API endpoint in the Resource path field if you use the generic script.
- If not already available, create a record transformer for the Notification, Discover, and Import actions for each of the capabilities by selecting the Create a record transformer, and add
record transformer rules to map fields in your tool to fields in the DevOps Data Model. For information on creating a record transformer and manually mapping it to the field, see Add custom fields for a planning tool integration.
- Enter the resource path API endpoint in the Resource path field if you use the generic script.
-
In Next steps, you can validate your tool integration by connecting to an instance of the tool through the playbook experience, and you can also view the tool integration record. Note:On selecting the Connect to a tool button, you will see the newly created tool integration in the list of tools available to connect.
What to do next
Creation of webhooks to send inbound events to DevOps Change Velocity using token