与 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 服务进行开发和协作,最佳做法是使用 IBM WebSphere Service Registry and Repository Advanced Lifecycle Edition。

WebSphere Service Registry and Repository 是运行时服务描述的主元数据存储库。

术语服务可以具有下列引用:

分散在企业中的有关服务的信息在 WebSphere Service Registry and Repository 中汇集到一起,以提供服务的单一综合描述。

如果将 Rational Asset Manager 中的社区与 WebSphere Service Registry and Repository 连接,那么可以将包含 Web Service 文档的资产发布到 WebSphere Service Registry and Repository 存储库。如果配置了映射文件,那么可以将资产作为特定 WebSphere Service Registry and Repository 业务模型对象发布到 WebSphere Service Registry and Repository。否则,发布到 WebSphere Service Registry and Repository 的资产将作为 WebSphere Service Registry and Repository 中链接到 Rational Asset Manager 中资产的类属概念。

还可使用 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 V7.5 信息中心

有关安装 WebSphere Service Registry and Repository 的信息,请参阅规划和安装主题。

如果要从 WebSphere Service Registry and Repository 的较低版本升级,请参阅“升级或迁移到 V7.5 安装”。

Rational Asset Manager 中的资产发布到 WebSphere Service Registry and Repository

如果将 Rational Asset Manager 中的社区连接到 WebSphere Service Registry and Repository,那么可以将包含 Web Service 文档和其他业务对象的资产发布到 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 中社区之间的连接以按照调度的时间间隔进行同步。

同步 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 Repository 中的 ALEConfiguration:您在 WebSphere Service Registry and Repository 中的 ALEConfiguration 指定用于访问这两个应用程序的 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 扩展 Asset
业务解决方案归类为 Software Development/Kind/Process BusinessProcess 扩展 BusinessCapability
业务解决方案归类为 Software Development/Kind/Web Application BusinessApplication 扩展 BusinessCapability
业务解决方案归类为 Software Development/Kind/Service BusinessService 扩展 BusinessCapability
发行版 CapabilityVersion 扩展 Asset
发行版归类为 Software Development/Kind/Process ProcessVersion 扩展 CapabilityVersion
发行版归类为 Software Development/Kind/Web Application ApplicationVersion 扩展 CapabilityVersion
发行版归类为 Software Development/Kind/Service ServiceVersion 扩展 CapabilityVersion
规范归类为 Software Development/Kind/Service/Interface ServiceInterfaceSpecification 扩展 Asset
规范归类为 Software Development/Kind/Schema SchemaSpecification 扩展 Asset
DoU DoU

有关可自动化的过程的更多信息和示例,请参阅 WebSphere Service Registry and Repository 信息中心中有关同步的主题

Rational Asset Manager 中的 SOA 模型库

下图显示资产类型及其必需属性以及 SOA 模型库的资产类型之间的关系:

SOA 模型库的资产类型、属性和建议关系图


反馈