Add data sources to the pipeline

Now that we have an Endpoint and set a data sample value for the Request, let's add some data sources to the pipeline.

What we want to achieve with this pipeline is:

  1. Using the request variant_id, find the appropriate Engine and Model by their ids.

  2. Finally, send results to the Endpoint response.

This means we need to add the following data sources to the pipeline:

  • findVariantById

  • findEngineById

  • findModelById

If you need help adding data sources to pipeline, see the instructions in Creating pipeline connections.

To add three data sources, follow these steps.

First Data Source - findVariantById
First Data Source - findVariantById
  1. Drag a line from the Request unit to a connection indicator.

  2. This opens the Select unit to place page.

  3. Click findVariantById to add it to the pipeline.

Second data source - findEnglineById
Second data source - findEnglineById
  1. Drag a line from the findVariantById unit to a connection indicator.

  2. This opens the Select unit to place page.

  3. Click findEngineById. This adds this data source to the pipeline.

Third data source - findModelById
Third data source - findModelById
  1. Drag a line from the findVariantById unit to a connection indicator.

  2. This opens the Select unit to place page.

  3. Click findModelById. This adds this data source to the pipeline.

You should now have a pipeline that looks like this.

Pipeline with data sources
Pipeline with data sources