Creating Pipelines

Ingestion pipelines are configured in Data Factory Studio app.

This task shows you how to:


Before you begin: You need to be granted with the Data Engineer (DAE) role to proceed with the Data Factory Studio and Data Project Control Center apps.

Result: Create a pipeline for each .csv file.

Creating the Source Code Files

The .csv files enable you to map customer own codes versus 3DS standard codes. You need three .csv files:

  • ItemQuality.csv
  • ItemUsage.csv
  • ProductivityStatus.csv

  1. In Excel, create a sheet for each .csv file.
  2. Create the Quality.csv file.
    1. Enter the following information:

      Name Value
      Customer Value Reflects real customer values. This value is used in charts.
      Standard Value Contains the 3DS standard code. It can be one of the following:
      • Good
      • Scrap
      • Fail
      Standard Value Index Classifies codes and computes Indicators. It can be 0, 1, or 2.
      Note:
      • 0 stands for Good
      • 1 stands for Scrap
      • 2 stands for Fail

      It is mandatory to keep this numbering values.

    2. Save the Quality sheet as ItemQuality.csv in an ItemQuality folder on your local environment.
  3. Create the Usage.csv file.
    1. Enter the following information:

      Name Value
      Customer Value Reflects real customer values. This value is used in charts.
      Standard Value It contains the 3DS standard code. It can be one of the following:
      • Add
      • Remove
      • Produce
      • Handle
      Standard Value Index Classifies codes and computes Indicators. It can be 2 that stands for Produce.
      Note:

      It is mandatory to keep this numbering values.

    2. Save the Usage sheet as ItemUsage.csv in an ItemUsage folder on your local environment.
  4. Create the Productivity.csv file.
    1. Enter the following information:

      Name Value
      Customer Value Reflects real customer values. This value is used in charts.
      Standard Value It contains the 3DS code to define operation scheduling information. It can be:
      • NO_OPERATION_SCHEDULED
      • UNSCHEDULED_DOWNTIMES
      • SCHEDULED_DOWNTIMES
      • PRODUCTION_TIME
      Standard Value Index Classifies codes and computes Indicators. It can be 0, 1, 2, or 3.
      Note:
      • 0 stands for NO_OPERATION_SCHEDULED
      • 1 stands for UNSCHEDULED_DOWNTIMES
      • 2 stands for SCHEDULED_DOWNTIMES
      • 3 stands for PRODUCTION_TIME

      It is mandatory to keep this numbering values.

      Track Value It can be True or False.
      Note: If you set True, the customer value is added in a list of tracked productivity code. This list (count and duration for each productivity code) is displayed in the Events tab.

    2. Save the Productivity Status sheet as ProductivityStatus.csv in an ProductivityStatus folder on your local environment.

Creating Pipelines

Before you begin: Ensure the .csv files are available in Amazon Web Services S3 repository.

Create a folder for each file.

  1. From the Compass, open the Data Project Control Center app.
  2. Click Add a data project. Enter a project name, and then click Create.
    Your data project is ready to use. You can now add a data workspace, either from the Data Project Control Center app or from the Data Factory Studio app.
  3. Option 1: From Data Project Control Center app, click Data Workspaces, and then click Add Data Workspace.
  4. Option 2: From the Compass, open the Data Factory Studio app, click Add a Data Workspace.
  5. Define the following:
    1. Enter a workspace name.
    2. Select your data project.
    3. Click Create.
  6. From your new workspace in the Data Factory Studioapp, add a dependency to the pre-package DELMIA Manufacturing Commons workspace. To do so:
    1. Click Dependencies from the Data Workspace Settings.
    2. Click on the right-side of your project, or right click the work area.
      The projects list opens.
    3. Search for the DELMIA Manufacturing Commons project, and select it as the dependency workspace.
      The dependency is created.
    Your workspace is ready to use. You can now create pipelines.
  7. From the Data Factory Studio home page, click Create Pipeline.
    The Add New Pipeline panel appears.
  8. Click Create Pipeline.

    Note: If a pipeline is already created, you can insert an existing pipeline.

  9. Select the Index Tabular data type, and then enter the pipeline name.
  10. In the Folder Path Prefix field, enter the path to the .csv file. For example, if you are creating a pipeline for the quality item, enter the path to the ItemQuality.csv file.
  11. In the Scheduling section, define the scheduling.
  12. In the destination tab, select the ManufacturingIndex index unit.
  13. In the Target section, define the target class.
  14. Select the FRI package.
  15. Select the class corresponding to the CSV file, for example ItemQuality.
  16. Click Save.
    The pipeline is created.
  17. Open the Run tab and click Run.
    The pipeline is running.
  18. Click on Export to reuse this configuration, or click Run to run the pipeline.