WebSphere Service Registry and Repository Advanced Lifecycle Edition との統合

IBM® Rational® Asset ManagerIBM WebSphere® Service Registry and Repository の両方を使用すると、Rational Asset Manager でビジネス・アセットに関する開発および共同作業を行うことができます。これらのアセットは、WebSphere Service Registry and Repository で承認およびデプロイメントできるように、該当のビジネス・オブジェクトとしても表示されます。 SOA サービスを開発したり SOA サービスでコラボレーションしたりする場合の ベスト・プラクティスは、IBM WebSphere Service Registry and Repository Advanced Lifecycle Edition を使用することです。

WebSphere Service Registry and Repository は、 ランタイム・サービス記述用のマスター・メタデータ・リポジトリーです。

サービス という用語には、以下の意味があります。

WebSphere Service Registry and Repository では、企業全体に散在するサービスに関する情報が統合され、1 つの包括的なサービス記述が提供されます。

Rational Asset Manager における コミュニティーを WebSphere Service Registry and Repository に 関連付けると、Web サービス文書を含むアセットを WebSphere Service Registry and Repository リポジトリーに 公開できます。 マッピング・ファイルを構成する場合は、アセットを 特定の WebSphere Service Registry and Repository ビジネス・モデル・オブジェクトとして WebSphere Service Registry and Repository に 公開できます。 マッピング・ファイルを構成しない場合は、WebSphere Service Registry and Repository に 公開したアセットは、Rational Asset Manager 内の アセットにリンクする WebSphere Service Registry and Repository 内の 一般概念になります。

Rational Asset Manager インターフェースを使用して、WebSphere Service Registry and Repository 内にあるサービス文書およびサービス・メタデータを検出することもできます。

Rational Asset Manager には ALE ポリシーと ALE 遷移ポリシーが 含まれています。 ALE ポリシーを使用すれば、特定の アセット・タイプが WebSphere Service Registry and Repository に自動的に 公開されるようにしたり、WebSphere Service Registry and Repository への接続用に 構成したマッピング・ファイルを適用したりできます。 事前構成された SOA ライフサイクルでは、アセットが変更されたり別の状態に移行したりするたびに ALE ポリシーが実行されます。 このポリシーは、実行されると、マッピング・ファイルを参照して WebSphere Service Registry and Repository 内のオブジェクトに対して適切な処置を実行します。例えば Rational Asset Manager 内でビジネス・ソリューション・タイプの新規アセットを作成すると、ALE が実行され、WebSphere Service Registry and Repository 内でビジネス機能オブジェクトを自動的に作成します。

WebSphere Service Registry and Repository Advanced Lifecycle Edition の使用

WebSphere Service Registry and Repository および Advanced Lifecycle Edition について 詳しくは、WebSphere Service Registry and Repository バージョン 7.5 の インフォメーション・センターにアクセスしてください。

WebSphere Service Registry and Repository のインストールについては、計画およびインストールのトピックを参照してください。

以前の バージョンの WebSphere Service Registry and Repository から アップグレードを行う場合は、『バージョン 7.5 インストール済み環境へのアップグレードまたはマイグレーション』を参照してください。

Rational Asset Manager 内のアセットの WebSphere Service Registry and Repository への公開

Rational Asset Manager 内のコミュニティーを WebSphere Service Registry and Repository に関連付けると、Web サービス文書およびその他のビジネス・オブジェクトを含むアセットを WebSphere Service Registry and Repository に公開できます。

接続のマッピング・ファイルを構成する場合は、アセットをビジネス・モデル・オブジェクトとして WebSphere Service Registry and Repository に公開できます。マッピング・ファイルを構成しない場合は、WebSphere Service Registry and Repository に公開したアセット は Rational Asset Manager 内のアセットにリンクする WebSphere Service Registry and Repository 内の一般概念になります。

WebSphere Service Registry and Repository 内のオブジェクトの Rational Asset Manager との同期化

WebSphere Service Registry and Repository リポジトリーと Rational Asset Manager 内のコミュニティーの関連付けを構成して、スケジュールされた間隔で同期させることができます。

WebSphere Service Registry and RepositoryRational Asset Manager 内のコミュニティーとの関連付けが同期していると、Rational Asset Manager は、WebSphere Service Registry and Repository 内のサービス記述オブジェクトのためにコミュニティー内にリモート・アセットを作成します。リモート・アセットは、別のリポジトリー内のオブジェクトにリンクします。リモート・アセットは、WebSphere Service Registry and Repository 内にある以下のサービス記述オブジェクトのために作成されます。
  • 物理的な文書:
    • WSDL
    • XSD
    • WS-Policy
    • SCA モジュール
    • XML ファイル
    • 他の物理文書
  • 概念:
    • 成果物の関係付きの概念
    • WebSphere Service Registry and Repository への関連付けの構成時に選択するその他の概念タイプ

WebSphere Service Registry and Repository サーバーを変更した場合、それらの変更は、次に関連付けが同期されたときに Rational Asset Manager のアセットに反映されます。

接続の構成

  1. SOA モデル・ライブラリー を有効にします: 詳しくはサービス指向アーキテクチャー (SOA) モデル・ライブラリーの使用可能化を参照してください。
  2. WebSphere Service Registry and RepositoryALEConfiguration を構成します: WebSphere Service Registry and RepositoryALEConfiguration には、両方のアプリケーションにアクセスするように URL と資格情報を指定します。Rational Asset Manager サーバーにプッシュされて同期される WebSphere Service Registry and Repository 内のトリガーとアクションは、Rational Asset Manager のマッピング・ファイルと同じ方法で指定できます。詳しくは、WebSphere Service Registry and Repository インフォメーション・センターの「Advanced Lifecycle Edition」を参照してください。
  3. コミュニティーと WebSphere Service Registry and Repository の間の関連付けを作成します: これを行うときに、SOA モデル・ライブラリー に組み込まれているマッピング・ファイルまたは独自のマッピング・ファイルを選択して、編集できます。詳しくは、WebSphere Service Registry and Repository への接続を参照してください。
  4. コミュニティーのために SOA ライフサイクルを構成します: 詳しくは SOA ライフサイクル・コレクションの作成を参照してください。 ライフサイクルをカスタマイズするには、マスター・ライフサイクルの作成を参照してください。

Rational Asset Manager 内のアセットが WebSphere Service Registry and Repository 内のオブジェクトにマップされる方法

次の表には、SOA モデル・ライブラリーに含まれているマッピング構成ファイルを使用する場合に、Rational Asset Manager 内のアセットが WebSphere Service Registry and Repository 内のオブジェクトにどのようにマップされるのかが示されています。

表 1. Rational Asset Manager 内のアセットと WebSphere Service Registry and Repository 内のオブジェクト
Rational Asset Manager 内のアセット・タイプ WebSphere Service Registry and Repository 内のオブジェクト
ビジネス・ソリューション BusinessCapability がアセットを拡張します
ソフトウェア開発/種類/プロセスとしてカテゴリー化されたビジネス・ソリューション BusinessProcess が BusinessCapability を拡張します
ソフトウェア開発/種類/Web アプリケーションとしてカテゴリー化されたビジネス・ソリューション BusinessApplication が BusinessCapability を拡張します
ソフトウェア開発/種類/サービスとしてカテゴリー化されたビジネス・ソリューション BusinessService が BusinessCapability を拡張します
リリース CapabilityVersion がアセットを拡張します
ソフトウェア開発/種類/プロセスとしてカテゴリー化されたリリース ProcessVersion が CapabilityVersion を拡張します
ソフトウェア開発/種類/Web アプリケーションとしてカテゴリー化されたリリース ApplicationVersion が CapabilityVersion を拡張します
ソフトウェア開発/種類/サービスとしてカテゴリー化されたリリース ServiceVersion が CapabilityVersion を拡張します
ソフトウェア開発/種類/サービス/インターフェースとしてカテゴリー化された仕様 ServiceInterfaceSpecification がアセットを拡張します
ソフトウェア開発/種類/スキーマとしてカテゴリー化された仕様 SchemaSpecification がアセットを拡張します
DoU DoU

自動化できるプロセスの詳細と 例については、WebSphere Service Registry and Repository インフォメーション・センターで、 同期に関するトピックを参照してください。

Rational Asset Manager における SOA Model ライブラリー

次の図は、SOA Model ライブラリーにおけるアセット・タイプ、それらのアセット・タイプに必要な属性、およびアセット・タイプ間の関係を示しています。

SOA モデル・ライブラリーのためのアセット・タイプ、属性、および推奨される関係のイメージ


フィードバック