How to invoke Talend MDM staging area validation with a Job

Overview

The Talend MDM (Master Data Management) Staging Area stores data that is not validated. How can you validate the data in the Staging Area?

You can do it easily in the Web User Interface, as shown in the following screenshot:

stagingarea.png


This article explains how to perform the Staging area validation in a Talend Job.


Environment

This procedures applies to versions of Talend MDM before 6.0.


Resolution

Talend MDM provides a REST API to perform a staging area validation. You can POST the REST URL, as follows.

  1. Create a Job, add a tRESTClient component onto the design workspace, and set the HTTP Method to POST.

  2. In the URL field, type one of the following URLs.

    • Before 6.0, the URL is:

      http:/ /localhost:8180/datamanager/services/tasks/staging/TestDataContainer/?model=TestDataModel
    • After 6.0, the URL is:

      http:/ /localhost:8180/talendmdm/services/rest/tasks/staging/Product

      trest.png

  3. Run the Job by pressing F6. The Job invokes the Staging Area validation and the Talend MDM server console outputs the following:

    stagingvalidate.png

  4. In the Staging Area view of the Web User Interface, you will find 17 records that passed the validation.

    validate.png


Related files

  1. Import mdmitems.zip (attached) to the Studio, then deploy all the items to the MDM servers.
  2. Import jobs.zip (attached) to the Studio, then run the Job loadjob to load the data into the datacontainer Entity in the Staging Area.
  3. Run the Job tRestClient. It will invoke the Staging Area validation and move the data to the master area.
Version history
Revision #:
6 of 6
Last update:
‎06-16-2017 10:12 PM
Updated by:
 
Labels (1)
Tags (1)