# インストール後にTalend Data Stewardshipを設定

## 手順

1. tds/config/data-stewardship.propertiesファイルを開き、MongoDBの以下のTalend Data Stewardshipプロパティを編集します。
   | フィールド | 説明 |
   | --- | --- |
   | spring.mongodb.host | MongoDBインスタンスのホスト名 |
   | spring.mongodb.port | MongoDBインスタンスのポート番号 |
   | spring.mongodb.database | Talend Data Stewardshipが接続されるデータベースの名前(デフォルトはtds)。 |
   | spring.mongodb.username | データベースへの接続に使用するユーザー名 |
   | spring.mongodb.password | データベースに接続するパスワード。 |
   | spring.mongodb.uri | MongoDBインスタンスの接続先となるURI<br><br>URIを使用してMongoDBインスタンスに接続する場合は、spring.mongodb.host、spring.mongodb.port、spring.mongodb.database、spring.mongodb.username、spring.mongodb.passwordのパラメーターをコメントアウトする必要があります<br><br>情報メモ注: この設定パラメーターを使用できるのは、Qlikが提供するTPS-4354パッチがインストールされている場合のみです。詳細は管理者にお問い合わせください。 |
2. ゲートウェイ設定パラメーターを使用して、次のフィールドをアップデートします。
   | フィールド | 説明 |
   | --- | --- |
   | frontend.url | ${frontend.server.port}を19998というポートに置き換えます。 |
   | backend.url | ${core.server.port}を19994というポートに置き換えます。 |
   | schemaservice.url | ${schema.server.port}を19995というポートに置き換えます。 |
   | semanticservice.url | Talend Dictionary ServiceへのURLを入力します。<br><br>ライセンスにTalend Dictionary Serviceが含まれない場合は、この行を削除します。 |
   | historyservice.url | ${history.server.port}を19997というポートに置き換えます。 |
   | monitoringservice.url | ${monitoring.server.port}を19996というポートに置き換えます。 |
   | gateway.url | ${gateway.server.port}を19999というポートに置き換えます。 |
3. Apache Kafkaの設定で次のフィールドをアップデートします。
   | フィールド | 説明 |
   | --- | --- |
   | kafka.broker | Apache Kafkaブローカーに対応するホストとポートを入力します。 |
4. Talend Identity and Access Managementの設定で次のフィールドをアップデートします:
   | フィールド | アクション |
   | --- | --- |
   | oidc.url | Talend Identity and Access ManagementにURLを入力します。 |
   | oidc.userauth.url | Talend Identity and Access Managementユーザー認証にURLを入力します。 |
   | scim.url | Talend Identity and Access Management SCIMにURLを入力します。 |
   | oidc.gateway.id | Talend Identity and Access ManagementOIDCクライアント識別子にURLを入力します。 |
   | oidc.gateway.secret | Talend Identity and Access Management OIDCパスワードを入力します。 |
   | oidc.tds.id | Talend Identity and Access Management OIDCクライアント識別子を入力します。 |
   | oidc.tds.secret | Talend Identity and Access Management OIDCパスワードを入力します。 |
   | oidc.history.id | Talend Data Stewardship用に作成したTalend Identity and Access Management OIDCクライアントIDを入力します。 |
   | oidc.history.secret | Talend Data Stewardship用に作成したTalend Identity and Access Management OIDCパスワードを入力します。 |
   | oidc.schema.id | Talend Data Stewardship用に作成したTalend Identity and Access Management OIDCクライアントIDを入力します。 |
   | oidc.schema.secret | Talend Data Stewardship用に作成したTalend Identity and Access Management OIDCパスワードを入力します。 |
   | oidc.monitoring.id | Talend Identity and Access Management OIDCクライアント識別子を入力します。 |
   | oidc.monitoring.secret | Talend Identity and Access Management OIDCパスワードを入力します。 |

   プロパティファイルに入力されたパスワードはすべて、Talend Data Stewardshipインスタンスを開始する時に暗号化されます。
5. Talend Dictionary Serviceへのアクセスを設定するには、次のフィールドを編集します。
   | フィールド | 説明 |
   | --- | --- |
   | tsd.enabled | このパラメーターの値をtrueに設定すると、Talend Data StewardshipとTalend Dictionary Serviceの間で情報をやり取りできます。 |
   | tsd.maven.connector.s3Repository.bucket-url | お使いのMinIOかS3リポジトリーバケットのURLを入力します。<br><br>たとえば、s3://talend-app-sharedとなります。 |
   | tsd.maven.connector.s3Repository.base-path | お使いのMinIOかS3リポジトリーのベースパスを入力します。このプロパティはオプションなので、空にしておくこともできます。<br><br>たとえば、semantic-types-repositoryとなります。 |
   | tsd.maven.connector.s3Repository.username | お使いのMinIOかS3リポジトリーのユーザー名を入力します。<br><br>たとえば、username123となります。 |
   | tsd.maven.connector.s3Repository.password | お使いのMinIOかS3リポジトリーのパスワードを入力します。<br><br>たとえば、password123となります。 |
   | tsd.maven.connector.s3Repository.s3.region | お使いのMinIOかS3リポジトリーのリージョンを入力します。<br><br>たとえば、us-east-1となります。 |
   | tsd.maven.connector.s3Repository.s3.endpoint | お使いのMinIOかS3リポジトリーサーバーのURLを入力します。<br><br>たとえば、https://minio-company.comとなります。 |
   | tsd.dictionary-provider-facade.producer-url | Talend Dictionary ServiceインスタンスへのURLを入力します。 |
6. Talend Data StewardshipおよびTalend Data Preparationをインストールした後でアプリスイッチャーを有効にする場合は、次の行のコメントアウトを解除し、Talend Data PreparationインスタンスにURLを追加します:

   tds.front.tdpUrl=&lt;Talend\_Data\_Preparation\_URL&gt;

   Talend Data Preparationの設定ファイルにはTalend Data StewardshipインスタンスへのURLを追加することも必要です。詳細は、インストール後のTalend Data Preparationの設定に関するセクションをご覧ください。
7. 以下の項目をこの順番で起動し、Talend Data Stewardshipを開始します。
   1. Zookeeper
   2. Apache Kafka
   3. MongoDB
   4. MinIO
   5. Talend Administration Center
   6. Talend Identity and Access Management サービス