导入产品树

使用产品导入将数据作为产品从其他工具迁移到 Rational® Engineering Lifecycle Manager。

开始之前

提示: 如果您要导入的产品树特别大,那么您可能会遇到问题。将 WebSphere® Application Server 设置增大到以下值以解决该错误。如有必要,可在完成导入之后将该设置重置。
  • Web container thread pool max: 200

过程

  1. 管理菜单中,选择设置

    显示“管理”菜单图标和“设置”选项的图像。

  2. 在左窗格中,单击导入产品
  3. 单击位于右上方的导入文件按钮。
  4. 浏览并选择您要上载的文件。一定要将文件格式设置为正在导入的文件相应的格式。

    导入历史记录部分显示所有用户执行的所有导入的状态。

    导入历史记录显示导入状态。完成导入之后,您可以看到所创建的产品数量。还可通过单击已导入文件旁边的查看顶级产品链接,查看所创建的顶级产品。

示例

此示例显示一个树,由称为父代的根组成,并且具有称为子代的单一子代。此示例中使用的标识为简单字符串。通常,将使用较长的唯一不透明值。(导入将存储和传输不透明值,但不会尝试对其进行解释。)

已通过导入产品屏幕导入以下 Turtle 文件。

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 
@prefix dcterms: <http://purl.org/dc/terms/> . 
@prefix pd_ext: <http://jazz.net/ns/pd/extensions#> . 
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 

<> 
               pd_ext:product _:resource1 ; 
               pd_ext:product _:resource2 . 

_:resource1 
               dcterms:identifier "abcd" ; 
               dcterms:title "parent" ; 
               pd_ext:conceptIdentifier "item1" ; 
               pd_ext:property [ 
                    dcterms:title "weight" ; 
                    rdf:value "1.6" 
               ]; 
               pd_ext:property [ 
                    dcterms:title "material" ; 
                    rdf:value "steel" 
               ]; 
               dcterms:references <https://machine1:9443/workItem/3456> ;
               pd_ext:childIdentifier "efgh" . 

_:resource2 
               dcterms:identifier "efgh" ; 
               dcterms:title "child" ;
               pd_ext:conceptIdentifier "item2" ;
               pd_ext:dimensionValuePair [ 
                    pd_ext:dimensionTitle "geo" ; 
                    pd_ext:shared "true" ^^xsd:boolean ; 
                    rdf:value "uk" 
               ]; 
               pd_ext:dimensionValuePair [ 
                    pd_ext:dimensionTitle "volts" ; 
                    rdf:value "230" 
               ]. 

完成导入之后,单击查看顶级产品链接以查看已导入的顶级产品,如下图中所示。

显示已导入的父产品和子产品的样本树。


反馈