Migrating a connector from previous versions using the Data Integration REST API

Migrating a connector from previous versions using the Data Integration REST API

Migration process

Migration process

The migrate API provides a simple way to migrate your connections in the configured assets to the current version.
After you complete the prerequisites, perform the following tasks to migrate the connection:
  1. Using a REST API client tool, log in to your organization that contains the older version of the connector that you want to migrate.
    1. Send a login POST request using the following URL for your login resource: https://dm-<POD region>.informaticacloud.com/ma/api/v2/user/login
    2. Specify the Informatica Intelligent Cloud Services user account and password attributes in the login object.
      The call returns the user object if the request is successful. Returns the error object if errors occur.
      The response includes the following information that you need to include in the header of the migrate REST API call:
      • icSessionId. A REST API session ID that you include in the header for version 2 REST API calls.
      • serverUrl. The base URL that you can use in version 2 resource URIs, for example: <serverUrl>/saas/api/v2/job
      Use the base URL and session ID returned in the response for the subsequent migrate requests during this session. For more information, see login
  2. You can use the objects resource to get a list of asset dependencies of the connection before you start the migration. For more information, see Finding asset dependencies.
  3. Send a migrate POST request to migrate your assets referenced with the old connection to use the new connection.
    1. Use the following URL for your migrate resource: https://<serverURL>/saas/api/v2/connectionMigration/migrate
      For example, the serverUrl is https://na4.dm-us.informaticacloud.com/saas and the URI is /api/v2/connectionMigration/migrate
    2. In the request header, specify the icSessionId.
      1. In the request body, specify following attributes:

          sourceConn. Name of the older version of the connection that you want to migrate.

          targetConn. Name of the current version of the connection to which you want to migrate.

          projectName. Name of the project folder that contains the referenced assets of the source connection. If you do not specify the folder name, the migrate resource considers assets that reference the source connection from all folders.

        The calls returns the migrate job ID, migrate job name, and the source and target folder paths in Cloud Data Integration. The source path contains the old connector version with the referenced assets, while the target path contains the assets updated to use the new current connector version. The target folder path uses the same name as the source and has the migration job ID appended to the name.
        For more information on how to use the migrate API call, see Starting a migrate job.
  4. Under projects in
    Explore
    in Cloud Data Integration, search for the target folder name and verify if the assets are updated to use the current version of the connector.

0 COMMENTS

We’d like to hear from you!