Republishing semantic types to Talend Data Stewardship and Talend Data Preparation through REST APIs - 7.1

Talend Dictionary Service Administration Guide

EnrichVersion
7.1
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
EnrichPlatform
Talend Data Preparation
Talend Data Stewardship
task
Data Quality and Preparation > Managing semantic types

As an administrator, you can overwrite all local semantic types of Talend Data Stewardship and/or Talend Data Preparation with the last content published on the Talend Dictionary Service server and stored in MongoDB.

Republishing semantic types becomes necessary when Talend Data Stewardship and/or Talend Data Preparation are out of synchronization because a maintenance operation had to be performed on the server, to restore a previous image for instance. In that case, you need to republish the last content from the Talend Dictionary Service server.

Before you begin

  • Make sure Talend Data Stewardship and/or Talend Data Preparation and all their dependencies are up and running.

Procedure

  1. Access the Talend Dictionary Service REST API documentation, as described in Accessing the Talend Dictionary Service REST API documentation
  2. Click user-controller > /user/login and use your credentials to log in.
    In the Response Headers area, you get a bearer authentication.
  3. Click categories-controller > /categories/republish.
  4. Use the Curl command from the response to republish semantic types.
    To be able to republish semantic types, include the bearer token you got when you logged in as part of your authorization header.

    Example

    curl -X POST --header 'Authorization: Bearer <token>' 'Content-Type: application/json' --header 'Accept: application/json' 'http://localhost:8187/categories/republish'

Results

All semantic types in local registries in both Talend Data Stewardship and Talend Data Preparation are synchronized with what is published in MongoDB.