"licenses"
用于使用相同/共享安装为 (集群) Codebeamer 服务器定义多个许可证。
其中可能包含多个许可证条目:Codebeamer 尝试加载与当前主机 ID 相匹配的相应许可证条目。
* 
通常不应编辑此应用程序配置,而应编辑由 PTC 提供的复制粘贴许可证。
示例
{
"license": [
{
"code": "34932A47089C0922",
"expire": "Dec-31-2008",
"hostid": "WIN-29-26-ED-D4"
},
{
"code": "2D412757B4846E21",
"expire": "Dec-31-2008",
"hostid": "WIN-1D-48-29-CE"
}
]
},
完整示例:
"licenses": {
"license": [
{
"code": "ABCD1234EFGH56789",
"companyName": "Example Company",
"expire": "Dec-31-2022",
"generatedForRelease": "9.0.0 - ...",
"generationTime": "Apr-15-2020 13:28",
"generatorRelease": "10.2.0-SNAPSHOT1",
"hostid": "LIN-0B:E7:19:C1:5B:18",
"store_last_activity_time": true,
"timeout": 60,
"product": [
{
"type": "ALM +Escalation +Jira integration +Branching",
"user": [
{
"kind": "floating",
"licenses": 10,
"type": "user"
},
{
"kind": "named",
"licenses": 20,
"type": "user"
}
]
}
}
]
}
特性
"license" 子元素具有以下属性:
特性名称
说明
默认值
最小限值
"expire"
许可证截止日期,格式为 MMM-dd-yyyy
"code"
许可证激活码。
"hostid"
主机的唯一 ID。
"companyName"
主机的公司名称。
"type"
许可产品类型。
"max"
许可证数。
"floating"
"true" 表示浮动许可证,"false" 表示指定许可证。
"customers"
客户数。
"timeout"
* 
已弃用此配置,不再由 Codebeamer 对其进行处理。使用 "session" 应用程序配置。
指示浮动许可证的会话超时 (分钟)。
90
(90 分钟)
60
(60 分钟)
"store_last_activity_time"
用户最后在系统中的时间是否存储在用户表中
"generatedForRelease"
生成许可证的用户以及生成许可证的时间
"generatorRelease"
"generationTime"
"generatorUser"
这对您有帮助吗?