Create an offline migration pipeline by uploading a JSON file

Updated at:

You can upload a JSON file to Dataphin to create an offline migration pipeline. This topic describes how to create an offline migration pipeline by uploading a JSON file.

Prerequisites

A JSON file is prepared.

Procedure

  1. Log on to the Dataphin console.

  2. Select the target region and click Enter Dataphin >>. The Dataphin homepage appears.

  3. Go to the Integrated page.

    1. On the Dataphin homepage, click R&D in the top navigation bar.

    2. On the Develop page, click test next to the project name in the upper-left corner and select a project in the Dev or Basic mode.

      You can skip this step if the current project is in the Dev or Basic mode.

    3. In the top navigation bar, move the pointer over Develop and select Integrated. The Integrated page appears.

  4. In the Script section, click vesh next to Script.

  5. In the Upload Script for Creating Pipeline dialog box, set the parameters as prompted.

    Parameter

    Description

    Upload File

    The JSON file to upload.

    Pipeline Name

    The name of the offline migration pipeline to create.

    Schedule Type

    The scheduling type of the task corresponding to the offline migration pipeline.

    Description

    The description of the offline migration pipeline.

    Select Directory

    The directory where the offline migration pipeline resides.

  6. Click OK.

  7. Optional:Optional. Configure the scheduling policy.

    • If you set the Schedule Type parameter to Recurring Node, you must configure the scheduling policy. For more information, see Step 3: Configure the scheduling policy.

    • If you set the Schedule Type parameter to One-Time Node, you do not need to configure the scheduling policy.

  8. Save, submit, and publish the pipeline.

    1. Click gaga in the upper-right corner of the pipeline configuration tab to save the pipeline.

    2. Click dggd in the upper-right corner of the pipeline configuration tab to submit the pipeline.

    3. Optional:Publish the pipeline.

      • If the current project is in the Dev mode, you must publish the pipeline to the corresponding project in the Prod mode. For more information, see Publish.

      • If the current project is in the Basic mode, the pipeline can be scheduled without the publish operation after you submit it.