Migrating an API Service Using Git
Overview
The API Service Migration feature allows users to import previously exported API Services across different users, workspaces, or servers. This ensures seamless transfer of published API Services while maintaining data connectors, categories, and template JSON configurations
Pre-requisites
Complete the DS Lab Migration configuration via the Admin module, including Version Control, Execution, and DS Lab settings.
Ensure the API Service is already exported/published to Git.
Both source and target environments must have compatible Version Control settings.
Steps to Import an API Service
Navigation path: Admin Module > Git Migration > Import File > Import Document > Migration – Document Import
Navigate to the Admin Module.
Click the Git Migration icon from the side navigation bar.
Click Import File.
On the next page, click Import.
The Migration – Document Import screen opens.
Select New VCS for the Version Control Configuration.
From the Select a Module drop-down menu (top-right corner), select API Service.
A list of available published API Services appears on the left.
Use the Search bar to locate a specific API Service.
Click an API Service from the list to open its details.
All available versions of the selected API Service appear.
Select the desired version using the checkbox.
Click Migrate to proceed.
Configuring the Data Connector
During migration, the Data Connector Details dialog box appears. Users have two options:
1. Use Existing Connector
Select Use an Existing Connector.
Choose a data connector from the drop-down menu.
Click Save to apply the configuration.
2. Create a New Data Connector
Select Create a New Connector.
Provide the required details:
Username
Password
PI/Host
Database Name
Click Save to persist the new connector configuration.
Accessing the Migrated API Service
Navigate to the Data Center module.
Open the Standard Connectors list.
The corresponding data connector for the migrated API Service is added to the top of the list.
Open the Data as API tab for the data connector.
The imported Data as API is listed under this tab and ready for use.
Last updated