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 V7.5 信息中心。
有关安装 WebSphere Service Registry and Repository 的信息,请参阅规划和安装主题。
如果要从 WebSphere Service Registry and Repository 的较低版本升级,请参阅“升级或迁移到 V7.5 安装”。
如果将 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 中的资产中。
如果使用 SOA 模型库随附的映射配置文件,那么下表显示的便是 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 信息中心中有关同步的主题。
下图显示资产类型及其必需属性以及 SOA 模型库的资产类型之间的关系:
