Skip to main content Skip to complementary content

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

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 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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!