|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
server
|
字符串
|
是
|
DOORS Bridge 服务器的 (主机名、IP 地址和端口),例如 "http://my-doors-bridge:9090/db"。
|
|
username
|
字符串
|
是
|
用于登录底层 DOORS 实例的 DOORS 用户名。此 DOORS 用户必须具有 (在批处理模式下) 编辑 DXL 的权限。
|
|
password
|
字符串
|
是
|
用于对指定 DOORS 用户进行身份验证的 DOORS 密码。
|
|
recursively
|
布尔型
|
否
|
是以递归方式获取后代项 (true),还是仅获取顶层节点 (false)? 默认值为 false。
|
|
baselineSets
|
布尔型
|
否
|
是仅显示项目和文件夹以及每个节点的基线集定义数 (true),还是显示没有基线集的项目、文件夹和 (正式) 模块 (false)? 默认值为 false。
|
|
类型
|
含义
|
|---|---|
|
1
|
文件夹
|
|
2
|
项目
|
|
3
|
模块
|
|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
node
|
字符串
|
是
|
父节点的 ID,例如 "00000001"。
|
|
server
|
字符串
|
是
|
DOORS Bridge 服务器的 (主机名、IP 地址和端口),例如 "http://my-doors-bridge:9090/db"。
|
|
username
|
字符串
|
是
|
用于登录底层 DOORS 实例的 DOORS 用户名。此 DOORS 用户必须具有 (在批处理模式下) 编辑 DXL 的权限。
|
|
password
|
字符串
|
是
|
用于对指定 DOORS 用户进行身份验证的 DOORS 密码。
|
|
recursively
|
布尔型
|
否
|
是以递归方式获取后代项 (true),还是仅获取直接子项 (false)? 默认值为 false。
|
|
baselineSets
|
布尔型
|
否
|
是仅显示项目和文件夹以及每个节点的基线集定义数 (true),还是显示没有基线集的项目、文件夹和 (正式) 模块 (false)。默认值为 false。
|
|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
projectOrFolder
|
字符串
|
是
|
DOORS 项目或文件夹的 ID,例如 "000000a0"。
|
|
server
|
字符串
|
是
|
DOORS Bridge 服务器的 (主机名、IP 地址和端口),例如 "http://my-doors-bridge:9090/db"。
|
|
username
|
字符串
|
是
|
用于登录底层 DOORS 实例的 DOORS 用户名。此 DOORS 用户必须具有 (在批处理模式下) 编辑 DXL 的权限。
|
|
password
|
字符串
|
是
|
用于对指定 DOORS 用户进行身份验证的 DOORS 密码。
|
|
baselines
|
布尔型
|
否
|
是还要获取每个基线集中的模块基线 (true),还是仅获取包括模块和基线集的基线集定义 (false)? 默认值为 false。
|
|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
module
|
字符串
|
是
|
正式模块的 ID,例如 "00000020"。也可以是以逗号分隔的模块 ID 列表,用于获取多个模块的合并/聚合元数据。
|
|
server
|
字符串
|
是
|
DOORS Bridge 服务器的 (主机名、IP 地址和端口),例如 "http://my-doors-bridge:9090/db"。
|
|
username
|
字符串
|
是
|
用于登录底层 DOORS 实例的 DOORS 用户名。此 DOORS 用户必须具有 (在批处理模式下) 编辑 DXL 的权限。
|
|
password
|
字符串
|
是
|
用于对指定 DOORS 用户进行身份验证的 DOORS 密码。
|
|
类型
|
含义
|
|---|---|
|
0
|
字符串
|
|
1
|
整数
|
|
2
|
小数
|
|
3
|
时间戳
|
|
4
|
布尔值
|
|
5
|
用户名
|
|
6
|
枚举
|
|
7
|
引用
|
|
10
|
富文本
|
|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
module
|
字符串
|
是
|
要预览的正式模块的 ID,例如 "00000020"。
|
|
baseline
|
字符串
|
否
|
要预览的模块基线的 (版本) ID。默认值为 null,用于显示模块的当前/ HEAD 修订版本。
|
|
server
|
字符串
|
是
|
DOORS Bridge 服务器的 (主机名、IP 地址和端口),例如 "http://my-doors-bridge:9090/db"。
|
|
username
|
字符串
|
是
|
用于登录底层 DOORS 实例的 DOORS 用户名。此 DOORS 用户必须具有 (在批处理模式下) 编辑 DXL 的权限。
|
|
password
|
字符串
|
是
|
用于对指定 DOORS 用户进行身份验证的 DOORS 密码。
|
|
length
|
整型
|
否
|
预览长度 (要显示的项数)。默认值为前 50 项。
|
|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
bridgeId
|
整型
|
是
|
模块所属 DOORS Bridge 实例的 ID。正在调用的用户必须具有对指定 /doors/bridge/{bridgeId} 的访问权限,或者网桥必须是公开的。
|
|
module
|
字符串
|
是
|
要获取关联跟踪器的正式模块的 ID,例如 "00000020"。
|
|
tracker_id
|
整型
|
否
|
可选 Codebeamer 跟踪器 ID,用于检查指定模块是否可以与此跟踪器关联。
|
|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
trackerId
|
整型
|
是
|
要获取 DOORS 导入设置的 Codebeamer 跟踪器的 ID。
|
|
version
|
整型
|
否
|
DOORS 导入历史记录日志条目的 ID,用于获取对该导入有影响的历史导入设置。
|
|
信息
|
含义
|
|---|---|
|
id
|
此 DOORS 导入配置的 ID。
|
|
server
|
有关 DOORS Bridge 的信息。
|
|
username
|
用于登录底层 DOORS 实例的 DOORS 用户名。此 DOORS 用户必须具有 (在批处理模式下) 编辑 DXL 的权限。
|
|
password
|
用于对指定 DOORS 用户进行身份验证的 DOORS 密码。
|
|
module
|
有关关联 DOORS 模块 (如有) 的信息。
|
|
reliable
|
DOORS Bridge 是否应信任 DOORS 模块的历史记录:是 (true),否 (false)。
|
|
enabled
|
是启用还是禁用从 DOORS 模块导入到跟踪器:启用 (true),禁用 (false)。
|
|
lockModule
|
是否应在导入相关基线和当前 (HEAD) 修订版本之后,将 DOORS 模块锁定为 "migrated":是 (true),否 (false)。
|
|
linkObjects
|
是否应将 DOORS 模块中的对象链接到目标 Codebeamer 跟踪器中的迁移项:是 (true),否 (false)。
|
|
users
|
是否应将 DOORS 用户作为 Codebeamer 用户导入。这是导入 DOORS discussions、comments 和 history 的先决条件。
|
|
fields
|
这些 DOORS 模块 attributes 的数组 (应导入到目标跟踪器字段中,其中目标是跟踪器字段的 ID)。枚举字段还具有一个枚举值数组以及枚举值到目标选择选项的映射,其中目标是选择选项的 ID。
|
|
links
|
DOORS 模块的链接类型数组,应作为目标跟踪器项关联进行导入,其中目标是 Codebeamer 关联类型的 ID。
|
|
interval
|
定期导入的间隔。空白或空表示无定期导入。最小值为 10 min。
|
|
log
|
登录导入历史记录的最大导入次数。默认值为 -1 (全部)。首选值包括:-1、10、20、50、100、200 和 500。
|
|
信息
|
含义
|
|---|---|
|
userAdmin
|
您是否具有“用户 - 管理”权限 (将 DOORS 用户作为 Codebeamer 用户导入时,需要此权限)。
|
|
objectFields
|
这些跟踪器字段的数组 (在导入 DOORS 模块属性时,可作为目标进行关联),例如:
"objectFields" : [ { "id" : 2, "property" : "namedPriority", "name" : "Business Value", "label" : "Business Value", "type" : 6, "required" : false, "multiple" : false, "options" : [ { "id" : 5, "name" : "Nice to have", "label" : "Nice to have", "flags" : 0 }, { "id" : 3, "name" : "Should have", "label" : "Should have", "flags" : 0 }, { "id" : 1, "name" : "Must have", "label" : "Must have", "flags" : 0 } ] }, { "id" : 7, "property" : "status", "name" : "Status", "label" : "Status", "type" : 6, "required" : false, "multiple" : false, "options" : [ { "id" : 1, "name" : "New", "label" : "New", "flags" : 0 }, { "id" : 2, "name" : "Draft", "label" : "Draft", "flags" : 64 }, { "id" : 3, "name" : "Waiting for approval", "label" : "Waiting for approval", "flags" : 4, "style" : "#00a85d" }, { "id" : 4, "name" : "Rejected", "label" : "Rejected", "flags" : 16, "style" : "#ababab" }, { "id" : 5, "name" : "Accepted", "label" : "Accepted", "flags" : 16 } ] }, ... ] |
|
reservedFields
|
这些跟踪器字段的数组,不能将其与 DOORS 模块属性进行关联,并且不能将其名称用于新的自定义目标字段。
|
|
dedicatedField
|
有关只能与专用 DOORS 模块属性关联或根本不能关联的跟踪器字段的信息。
"dedicatedField" : { "ForeignID" : [ "id" ], "88" : [ "attachments" ], "AttachmentsOnly" : [ "attachments" ], "90" : [ "discussions" ], "Comments" : [ "discussions" ], "30" : [ "history" ], "History" : [ "history" ], "4" : [ "Created On" ], "ForeignCreatedOn" : [ "Created On" ], "6" : [ "Created By" ], "ForeignCreatedBy" : [ "Created By" ], "ForeignCreatedThru" : [ "Created Thru" ], "74" : [ "Last Modified On" ], "ForeignModifiedOn" : [ "Last Modified On" ], "75" : [ "Last Modified By" ], "ForeignModifiedBy" : [ "Last Modified By" ] } dedicatedField 键是跟踪器字段的 ID 或名称,值是 DOORS 属性名称的数组,此字段为专用字段。
|
|
designatedField
|
关于指定的自定义字段的信息 (应作为可用的目标字段提供,即使尚不存在此类 objectField)。
"designatedField" : { "id" : { "name" : "ForeignID", "label" : "Foreign ID", "description" : "The original DOORS Object Id", "type" : 1 }, "attachments" : { "id" : 88, "property" : "attachments", "name" : "AttachmentsOnly", "label" : "Attachments", "type" : 7, "refType" : 5, "refQuali" : [ "attachment" ], "multiple" : true }, "discussions" : { "id" : 90, "name" : "Comments", "label" : "Comments", "type" : 7, "refType" : 5, "refQuali" : [ "comment" ], "multiple" : true }, "history" : { "id" : 30, "property" : "milestones", "name" : "History", "label" : "History", "type" : 7, "refType" : 5, "refQuali" : [ "change" ], "multiple" : true }, "Created On" : { "name" : "ForeignCreatedOn", "label" : "Foreign Created at", "type" : 3 }, "Created By" : { "name" : "ForeignCreatedBy", "label" : "Foreign Created by", "type" : 0, "of" : { "type" : 5, "memberType" : 2 } }, "Created Thru" : { "name" : "ForeignCreatedThru", "label" : "Foreign Created thru", "type" : 6, "options" : [ { "name" : "Manual Input", "label" : "Manual Input", "flags" : 0 }, { "name" : "Extracting", "label" : "Extracting", "flags" : 0 }, { "name" : "Copying", "label" : "Copying", "flags" : 0 } ] }, "Last Modified On" : { "name" : "ForeignModifiedOn", "label" : "Foreign Modified at", "type" : 3 }, "Last Modified By" : { "name" : "ForeignModifiedBy", "label" : "Foreign Modified by", "type" : 0, "of" : { "type" : 5, "memberType" : 2 } } } designatedField 键是 DOORS 属性的名称,值为指定自定义跟踪器字段的定义。
|
|
assocTypes
|
Codebeamer 关联类型的数组 (可作为 DOORS 链接类型目标进行关联)。
"assocTypes" : [ { "id" : 1, "name" : "depends" }, { "id" : 2, "name" : "superordinate to" }, { "id" : 3, "name" : "subordinate to" }, { "id" : 4, "name" : "related" }, { "id" : 5, "name" : "derived" }, { "id" : 6, "name" : "violates" }, { "id" : 7, "name" : "excludes" }, { "id" : 8, "name" : "invalidates" }, { "id" : 9, "name" : "copy of" } ] |
|
linkFields
|
预定义 Codebeamer 关联字段的数组 (可作为 DOORS 链接属性目标进行关联)。
"linkFields" : [ { "id" : 4, "property" : "submittedAt", "name" : "Created at", "label" : "Created at", "type" : 3 }, { "id" : 6, "property" : "submitter", "name" : "Created by", "label" : "Created by", "type" : 5, "memberType" : 2 }, { "id" : 74, "property" : "modifiedAt", "name" : "Modified at", "label" : "Modified at", "type" : 3 }, { "id" : 75, "property" : "modifier", "name" : "Modified by", "label" : "Modified by", "type" : 5, "memberType" : 2 }, { "id" : 10000, "property" : "customField[0]", "name" : "Propagate suspects", "label" : "Propagate suspects", "description" : "Should this association be marked 'Suspected' whenever the association target is modified?", "type" : 4 }, { "id" : 10001, "property" : "customField[1]", "name" : "Suspected", "label" : "Suspected", "description" : "Has the association target been modified since creating/resetting this association?", "type" : 4 }, { "id" : 85, "property" : "flags", "name" : "Deleted", "label" : "Deleted", "type" : 1 } ] |
|
信息
|
含义
|
|---|---|
|
server
|
至少具有 DOORS Bridge 的 ID 的 JSON 对象。
|
|
username
|
用于登录底层 DOORS 实例的 DOORS 用户名。此 DOORS 用户必须具有 (在批处理模式下) 编辑 DXL 的权限。
|
|
password
|
用于对指定 DOORS 用户进行身份验证的 DOORS 密码。
|
|
modules
|
DOORS 模块的数组 (在指定项目中为其创建目标跟踪器)。将从相应的模块中复制每个跟踪器的名称和说明。
|
|
template
|
要使用的模板跟踪器,或用于定义要使用的跟踪器类型的 JSON 对象。
|
|
reliable
|
DOORS Bridge 是否应信任 DOORS 模块的历史记录:是 (true),否 (false)。
|
|
enabled
|
是启用还是禁用从 DOORS 模块导入到跟踪器:启用 (true),禁用 (false)。
|
|
lockModule
|
是否应在导入相关基线和当前 (HEAD) 修订版本之后,将 DOORS 模块锁定为 "migrated":是 (true),否 (false)。
|
|
linkObjects
|
是否应将 DOORS 模块中的对象链接到目标 Codebeamer 跟踪器中的迁移项:是 (true),否 (false)。
|
|
users
|
是否应将 DOORS 用户作为 Codebeamer 用户导入。这是导入 DOORS discussions、comments 和 history 的先决条件。
|
|
fields
|
这些 DOORS 模块 attributes 的数组 (应导入到目标跟踪器字段中,其中目标是跟踪器字段的 ID)。枚举字段还具有一个枚举值数组以及枚举值到目标选择选项的映射,其中目标是选择选项的 ID。
|
|
链接
|
DOORS 模块的链接类型数组,应作为目标跟踪器项关联进行导入,其中目标是 Codebeamer 关联类型的 ID。
|
|
interval
|
定期导入的间隔。空白/空表示无定期导入。最小值为 "10 min"。
|
|
log
|
登录导入历史记录的最大导入次数。默认值为 -1 (全部)。首选值包括:-1、10、20、50、100、200 和 500。
|
|
信息
|
含义
|
|---|---|
|
tracker
|
关于目标跟踪器的信息。
|
|
admin
|
您是否具有“跟踪器 - 管理”权限。
|
|
server
|
JSON 对象,其中包含有关 DOORS Bridge 的信息。
|
|
connection
|
与 DOORS Bridge 的连接 (server、username 和 password)。
|
|
module
|
要从中导入的 DOORS 模块,其中包括可导入的 baselines (已导入或无法再次导入的基线,此处未列出)。
|
|
lastImport
|
有关上次导入 (如有) 的信息。
|
|
enabled
|
是启用还是禁用从 DOORS 模块导入到跟踪器:启用 (true),禁用 (false)。
|
|
nextSync
|
有关下次排期导入 (如有) 的信息。
|
|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
trackerId
|
整型
|
是
|
跟踪器的 ID
|
|
page
|
整型
|
否
|
要获取的历史记录页面,从 1 开始。默认值为 1 (第一页)
|
|
pagesize
|
整型
|
否
|
每页返回的历史记录条目 (导入项) 数量。默认值为 25。最大值为 500。
|
|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
projIdOrName
|
字符串
|
是
|
Codebeamer 项目的 ID 或名称,用于从中创建新的跟踪器。
|
|
信息
|
含义
|
|---|---|
|
enabled
|
是启用还是禁用从 DOORS 模块导入到跟踪器:启用 (true),禁用 (false)。
|
|
userAdmin
|
您是否具有“用户 - 管理”权限 (将 DOORS 用户作为 Codebeamer 用户导入时,需要此权限)。
|
|
objectFields
|
这些跟踪器字段的数组 (在导入 DOORS 模块 attributes 时,可作为目标进行关联),例如:
"objectFields" : [ { "id" : 2, "property" : "namedPriority", "name" : "Business Value", "label" : "Business Value", "type" : 6, "required" : false, "multiple" : false, "options" : [ { "id" : 5, "name" : "Nice to have", "label" : "Nice to have", "flags" : 0 }, { "id" : 3, "name" : "Should have", "label" : "Should have", "flags" : 0 }, { "id" : 1, "name" : "Must have", "label" : "Must have", "flags" : 0 } ] }, { "id" : 7, "property" : "status", "name" : "Status", "label" : "Status", "type" : 6, "required" : false, "multiple" : false, "options" : [ { "id" : 1, "name" : "New", "label" : "New", "flags" : 0 }, { "id" : 2, "name" : "Draft", "label" : "Draft", "flags" : 64 }, { "id" : 3, "name" : "Waiting for approval", "label" : "Waiting for approval", "flags" : 4, "style" : "#00a85d" }, { "id" : 4, "name" : "Rejected", "label" : "Rejected", "flags" : 16, "style" : "#ababab" }, { "id" : 5, "name" : "Accepted", "label" : "Accepted", "flags" : 16 } ] }, ... ] |
|
reservedFields
|
这些跟踪器字段的数组 (不能与 DOORS 模块 attributes 进行关联,且其名称不能用于新的自定义目标字段)。
|
|
dedicatedField
|
关于这些跟踪器字段的信息 (只能与专用 DOORS 模块 attributes 进行关联,或根本不能进行关联)。
"dedicatedField" : { "ForeignID" : [ "id" ], "88" : [ "attachments" ], "AttachmentsOnly" : [ "attachments" ], "90" : [ "discussions" ], "Comments" : [ "discussions" ], "30" : [ "history" ], "History" : [ "history" ], "4" : [ "Created On" ], "ForeignCreatedOn" : [ "Created On" ], "6" : [ "Created By" ], "ForeignCreatedBy" : [ "Created By" ], "ForeignCreatedThru" : [ "Created Thru" ], "74" : [ "Last Modified On" ], "ForeignModifiedOn" : [ "Last Modified On" ], "75" : [ "Last Modified By" ], "ForeignModifiedBy" : [ "Last Modified By" ] } dedicatedField 键是跟踪器字段的 ID 或名称,值是 DOORS 属性名称的数组,此字段为专用字段。
|
|
designatedField
|
关于指定的自定义字段的信息 (应作为可用的目标字段提供,即使尚不存在此类 objectField)。
"designatedField" : { "id" : { "name" : "ForeignID", "label" : "Foreign ID", "description" : "The original DOORS Object Id", "type" : 1 }, "attachments" : { "id" : 88, "property" : "attachments", "name" : "AttachmentsOnly", "label" : "Attachments", "type" : 7, "refType" : 5, "refQuali" : [ "attachment" ], "multiple" : true }, "discussions" : { "id" : 90, "name" : "Comments", "label" : "Comments", "type" : 7, "refType" : 5, "refQuali" : [ "comment" ], "multiple" : true }, "history" : { "id" : 30, "property" : "milestones", "name" : "History", "label" : "History", "type" : 7, "refType" : 5, "refQuali" : [ "change" ], "multiple" : true }, "Created On" : { "name" : "ForeignCreatedOn", "label" : "Foreign Created at", "type" : 3 }, "Created By" : { "name" : "ForeignCreatedBy", "label" : "Foreign Created by", "type" : 0, "of" : { "type" : 5, "memberType" : 2 } }, "Created Thru" : { "name" : "ForeignCreatedThru", "label" : "Foreign Created thru", "type" : 6, "options" : [ { "name" : "Manual Input", "label" : "Manual Input", "flags" : 0 }, { "name" : "Extracting", "label" : "Extracting", "flags" : 0 }, { "name" : "Copying", "label" : "Copying", "flags" : 0 } ] }, "Last Modified On" : { "name" : "ForeignModifiedOn", "label" : "Foreign Modified at", "type" : 3 }, "Last Modified By" : { "name" : "ForeignModifiedBy", "label" : "Foreign Modified by", "type" : 0, "of" : { "type" : 5, "memberType" : 2 } } } designatedField 键是 DOORS 属性的名称,值为指定自定义跟踪器字段的定义。
|
|
assocTypes
|
Codebeamer 关联类型的数组 (可作为 DOORS 链接类型目标进行关联)。
"assocTypes" : [ { "id" : 1, "name" : "depends" }, { "id" : 2, "name" : "superordinate to" }, { "id" : 3, "name" : "subordinate to" }, { "id" : 4, "name" : "related" }, { "id" : 5, "name" : "derived" }, { "id" : 6, "name" : "violates" }, { "id" : 7, "name" : "excludes" }, { "id" : 8, "name" : "invalidates" }, { "id" : 9, "name" : "copy of" } ] |
|
linkFields
|
预定义 Codebeamer 关联字段的数组,可作为 DOORS 链接属性目标进行关联。
"linkFields" : [ { "id" : 4, "property" : "submittedAt", "name" : "Created at", "label" : "Created at", "type" : 3 }, { "id" : 6, "property" : "submitter", "name" : "Created by", "label" : "Created by", "type" : 5, "memberType" : 2 }, { "id" : 74, "property" : "modifiedAt", "name" : "Modified at", "label" : "Modified at", "type" : 3 }, { "id" : 75, "property" : "modifier", "name" : "Modified by", "label" : "Modified by", "type" : 5, "memberType" : 2 }, { "id" : 10000, "property" : "customField[0]", "name" : "Propagate suspects", "label" : "Propagate suspects", "description" : "Should this association be marked 'Suspected' whenever the association target is modified?", "type" : 4 }, { "id" : 10001, "property" : "customField[1]", "name" : "Suspected", "label" : "Suspected", "description" : "Has the association target been modified since creating/resetting this association?", "type" : 4 }, { "id" : 85, "property" : "flags", "name" : "Deleted", "label" : "Deleted", "type" : 1 } ] |
|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
bridgeId
|
整型
|
是
|
projectOrFolder 所属 DOORS Bridge 实例的 ID。正在调用的用户必须具有对指定 /doors/bridge/{bridgeId} 的访问权限,或者网桥必须是公开的。
|
|
projectOrFolder
|
字符串
|
是
|
DOORS 项目或文件夹的 ID,例如 "000000a0"。
|
|
proj_id
|
整型
|
否
|
可选的 Codebeamer 项目 ID,用于检查指定 DOORS 项目或文件夹是否可以与此项目关联。
|
|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
projIdOrName
|
字符串
|
是
|
要获取其关联 DOORS 项目或文件夹的 Codebeamer 项目的 ID 或名称。
|
|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
beidgeId
|
整型
|
是
|
projectOrFolder 所属的 DOORS Bridge 实例的 ID。正在调用的用户必须具有对指定 /doors/bridge/{bridgeId} 的访问权限,或者网桥必须是公开的。
|
|
server
|
字符串
|
是
|
DOORS Bridge 服务器的 (主机名、IP 地址和端口),例如 "http://my-doors-bridge:9090/db"。
|
|
username
|
字符串
|
是
|
用于登录底层 DOORS 实例的 DOORS 用户名。此 DOORS 用户必须具有 (在批处理模式下) 编辑 DXL 的权限。
|
|
password
|
字符串
|
是
|
用于对指定 DOORS 用户进行身份验证的 DOORS 密码。
|
|
projectOrFolder
|
字符串
|
是
|
要导入其已定义基线集的 DOORS 项目或文件夹的 ID。
|
|
projIdOrName
|
字符串
|
是
|
要从中导入 (指定 DOORS 项目/文件夹中定义的) 基线集的 Codebeamer 项目的 ID 或名称。
|
|
信息
|
含义
|
|---|---|
|
project
|
项目的 ID 和名称。
|
|
trackers
|
项目跟踪器的数组,可能是 DOORS 导入目标,但尚未与 DOORS 模块关联。
|
|
baselineSets
|
DOORS 基线集 (按日期排序) 的数组。
|
|
modules
|
JSON 对象,用作基线集中引用的所有模块的查找映射。
|
|
有关每个基线集的信息:
|
|
|---|---|
|
definition
|
基线集定义的名称和说明
|
|
baselines
|
JSON 对象,用于指定此基线集中包含的所有模块的基线/版本 ID (每个模块 ID)。
|
|
date
|
此基线集的锚点/引用日期:这是基线集或其中所包括任意基线的最新创建日期。
|
|
status
|
此基线集的导入状况
• importable
• imported
• blocked
|
|
blockers
|
仅限状况为 blocked 的基线集:JSON 对象,用于指定所有模块的基线/版本 ID,可阻止此基线集的导入。
|
|
imported
|
仅限状况为 imported 的基线集:关于导入的信息。
|
|
mapping
|
仅限状况为 imported 的基线集:JSON 对象,用于在导入时指定 DOORS 模块 (ID) 到目标 Codebeamer 跟踪器的映射。
|
|
|
Codebeamer 会自动将伪基线集 "Project or Folder" 添加到 baselineSets,其基线是 DOORS 项目或文件夹中所有模块的当前或 HEAD 修订版本 (递归),无论这些模块是否也包括在实际的 DOORS 基线集中,或者根本没有 DOORS 基线集。
|
|
选项
|
类型
|
必需
|
含义
|
||||||||||||||||
|
id
|
字符串
|
是
|
正式模块的 ID (用于获取其对象/内容)。
|
||||||||||||||||
|
baseline
|
字符串
|
否
|
模块基线的 (版本) ID (用于获取该基线中的对象)。默认值为 null (用于获取当前模块修订版本的对象)。
|
||||||||||||||||
|
attributes
|
字符串
|
否
|
要返回的对象属性名称的逗号分隔列表。始终返回默认/隐式对象属性,但必须在此处显式请求所有其他属性。还有一些特殊选项,必须将这些选项指定为 (伪) 属性:
|
||||||||||||||||
|
links
|
字符串
|
否
|
要返回的对象链接的分号分隔列表:<链接类型>[:<属性>][...]
• <链接类型> 是链接类型的 ID;
• <属性> 是要返回的链接属性名称的逗号分隔列表。
例如:
links=00000022:Created By,Created On,Last Modified By,Last Modified
On;External:Created By,Created On,Last Modified By,Last Modified On 您不必为链接类型指定以下属性:
• Created By
• Created On
• Last Modified By
• Last Modified On
但前提是,您已经在对象 attributes 中指定这些属性,例如:
?attributes=Created By,Created On,Last Modified By,Last Modified
On &links=00000022;External 要返回任何类型的对象链接 (其中包含根据对象而定的 Created By、Created On、Last Modified By 和 Last Modified On,但不包含特定于链接的属性),还可以作如下简化:
links=*
|
||||||||||||||||
|
limit
|
整型
|
否
|
如果已指定该选项,仅返回模块中的第一个 limit 对象。已删除的对象不计算在内,且 DOORS 表格仅计为 1 (表格行和单元格不计算在内)。limit 通常与 preview 结合使用,例如:
GET {DB}/module/00000020/objects?baseline=0.2&attributes=preview&limit=50
|
||||||||||||||||
|
modifiedAfter
|
字符串
|
否
|
格式为 yyyy-MM-dd HH:mm:ss 的时间戳。如果已指定该选项,只应返回晚于此时间点而创建或修改的对象 (另请参阅上述 outline)。
|
|
信息
|
内容
|
||||||||||||
|
baseline
|
关于请求基线的信息 (如有)
|
||||||||||||
|
attributes
|
关于请求的属性及其类型的信息。无需请求默认/隐式属性,此处也不会列出这些属性。
|
||||||||||||
|
linkTypes
|
关于请求链接类型及其请求属性 (以及属性类型) 的信息。
|
||||||||||||
|
users
|
返回的对象中引用的所有 (不同) 用户的数组。只有在明确请求用户时,才会显示此信息 (请参阅上文)。
|
||||||||||||
|
objects
|
指定的模块和基线 (如有) 中所有对象的数组 (依次排列)。
对象的类型如下:
如果指定了 modifiedAfter,仅会包含晚于此时间点创建或修改的对象,但如果同时指定了 outline 或 baseline,会列出模块中的所有对象;而对于 objects,如果其 Last Modified On 时间戳早于 modifiedAfter,仅会显示有限的 outline 信息。
|
|
|
与目标跟踪器不关联的模块,或者已导入到基线集中的基线或版本以外的模块,将被忽略。
|
|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
bridgeId
|
整型
|
是
|
projectOrFolder 所属 DOORS Bridge 实例的 ID。正在调用的用户必须具有对指定 /doors/bridge/{bridgeId} 的访问权限,或者网桥必须是公开的。
|
|
server
|
字符串
|
是
|
DOORS Bridge 服务器的 (主机名、IP 地址和端口),例如 "http://my-doors-bridge:9090/db"。
|
|
username
|
字符串
|
是
|
用于登录底层 DOORS 实例的 DOORS 用户名。此 DOORS 用户必须具有 (在批处理模式下) 编辑 DXL 的权限。
|
|
password
|
字符串
|
是
|
用于对指定 DOORS 用户进行身份验证的 DOORS 密码。
|
|
projectOrFolder
|
字符串
|
是
|
要导入其已定义基线集的 DOORS 项目或文件夹的 ID。
|
|
选项
|
类型
|
必需
|
含义
|
|---|---|---|---|
|
projIdOrName
|
字符串
|
是
|
Codebeamer 项目的 ID 或名称,将从中导入基线集。
|