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.
- Access the Talend Dictionary Service REST API documentation, as described in Accessing the Talend Dictionary Service REST API documentation
and use your credentials to log in.In the Response Headers area, you get a bearer authentication.
- Click .
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.
curl -X POST --header 'Authorization: Bearer <token>' 'Content-Type: application/json' --header 'Accept: application/json' 'http://localhost:8187/categories/republish'
All semantic types in local registries in both Talend Data Stewardship and Talend Data Preparation are synchronized with what is published in MongoDB.