REST APIを使用して、セマンティックタイプをTalend Data StewardshipおよびTalend Data Preparationに再公開する - 8.0

Talend Dictionary Service管理ガイド

Version
8.0
Language
日本語
Product
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Data Preparation
Talend Data Stewardship
Content
データクオリティとプレパレーション > セマンティックタイプの管理
Last publication date
2023-09-14

管理者は、Talend Dictionary Serviceサーバーに公開され、MongoDBに保存されている最後のコンテンツでTalend Data Stewardshipおよび/またはTalend Data Preparationのすべてのローカルセマンティックタイプを上書きできます。

セマンティックタイプの再公開は、Talend Data Stewardshipおよび/またはTalend Data Preparationが同期から外れた場合に必要になります。たとえば、以前のイメージを復元するためにサーバーでのメンテナンス操作の実行が必要になる場合などです。その場合は、Talend Dictionary Serviceサーバーから最後のコンテンツを再公開する必要があります。

始める前に

  • Talend Data Stewardshipおよび/またはTalend Data Preparation、およびそれらのすべての依存項目が実行されていることを確認します。

手順

  1. Talend Dictionary Service REST APIドキュメンテーションにアクセスの説明に従い、Talend Dictionary Service REST APIのドキュメンテーションにアクセスします。
  2. [user-controller] (ユーザーコントローラー) > /user/loginの順にクリックし、認証情報を使ってログインします。
    [Response Headers] (レスポンスヘッダー)エリアにベアラーの認証情報が表示されます。
  3. categories-controller > /categories/republishをクリックします。
  4. レスポンスからCurlコマンドを使用して、セマンティックタイプを再公開します。
    セマンティックタイプを再公開するには、ログイン時に取得したベアラートークンを認証ヘッダーの一部として含めます。

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

タスクの結果

Talend Data StewardshipおよびTalend Data Preparationの両方のローカルレジストリー内のすべてのセマンティックタイプは、MongoDBに公開されているセマンティックタイプと同期します。