Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@
{
"result": "success",
"data": {
"topic": "业务抢通事件",
"subscriptionCondition": "子网名称:珠江新城子网"
"topic": "业务抢通事件"
},
"error": { "errCode": "", "errMessage": "" }
}
Expand Down Expand Up @@ -184,9 +183,9 @@
},
{
"id": "TC00000003",
"caseDimension": "01-意图清晰参数完整",
"caseDesc": "data业务抢通事件-精简上报通知数据格式(4个字段)",
"caseCategory": "正常",
"caseDimension": "04-关键信息缺失",
"caseDesc": "data业务抢通事件-精简上报通知数据格式缺少必选信息项(语义校验拒绝)",
"caseCategory": "异常",
"input": [
{
"api": "generateNotificationPromptFromDataWithSchema",
Expand Down Expand Up @@ -262,12 +261,9 @@
"error": { "errCode": "", "errMessage": "" }
},
{
"result": "success",
"data": {
"topic": "业务抢通事件",
"subscriptionCondition": "子网名称:珠江新城子网"
},
"error": { "errCode": "", "errMessage": "" }
"result": "error",
"data": {},
"error": { "errCode": "negotiation.semantic_rejected", "errMessage": "" }
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@
{
"result": "success",
"data": {
"topic": "业务抢通事件",
"subscriptionCondition": "子网名称:珠江新城子网",
"notificationDataFormat": "业务抢通事件数据包含:业务抢通方案执行状态(未启动、已结束)、投诉诊断任务流水号、OSS侧事件流水号、接入端口名称、是否已授权OMC自动抢通(是、否)、业务抢通方案名称、业务抢通方案详情。"
"topic": "业务抢通事件"
},
"error": { "errCode": "", "errMessage": "" }
}
Expand Down Expand Up @@ -109,18 +107,17 @@
{
"result": "success",
"data": {
"topic": "业务抢通事件",
"notificationDataFormat": "业务抢通事件数据包含:业务抢通方案执行状态(未启动、已结束)、投诉诊断任务流水号、OSS侧事件流水号、接入端口名称、是否已授权OMC自动抢通(是、否)、业务抢通方案名称、业务抢通方案详情。"
"topic": "业务抢通事件"
},
"error": { "errCode": "", "errMessage": "" }
}
]
},
{
"id": "TC00000003",
"caseDimension": "01-意图清晰参数完整",
"caseDesc": "业务抢通事件-订阅条件(子网名称)+精简上报通知数据格式(4个字段)",
"caseCategory": "正常",
"caseDimension": "04-关键信息缺失",
"caseDesc": "业务抢通事件-精简上报通知数据格式缺少必选信息项(语义校验拒绝)",
"caseCategory": "异常",
"input": [
{
"api": "generateNotificationPromptFromText",
Expand Down Expand Up @@ -164,35 +161,10 @@
"data": {},
"error": { "errCode": "", "errMessage": "" }
},
{
"result": "success",
"data": {
"topic": "业务抢通事件",
"subscriptionCondition": "子网名称:珠江新城子网"
},
"error": { "errCode": "", "errMessage": "" }
}
]
},
{
"id": "TC00000004",
"caseDimension": "04-关键信息缺失",
"caseDesc": "业务抢通事件-缺少必选的上报通知数据格式",
"caseCategory": "异常",
"input": [
{
"api": "generateNotificationPromptFromText",
"args": {
"text": "我想订阅业务抢通事件,订阅条件为子网名称为珠江新城子网。",
"templateUri": "Notification-T/network-layer/service-recovery/v1"
}
}
],
"expected": [
{
"result": "error",
"data": {},
"error": { "errCode": "slot.not_provided", "errMessage": "" }
"error": { "errCode": "negotiation.semantic_rejected", "errMessage": "" }
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@
{
"result": "success",
"data": {
"topic": "Incident",
"subscriptionCondition": "故障优先级为严重、高,故障名称为光纤中断、单板故障"
"topic": "Incident"
},
"error": { "errCode": "", "errMessage": "" }
}
Expand All @@ -82,15 +81,15 @@
{
"id": "TC00000002",
"caseDimension": "01-意图清晰参数完整",
"caseDesc": "data Fault订阅-英文优先级语义+光模块故障+DataPart承载",
"caseDesc": "data Fault订阅-中文优先级语义(高、中)+单板故障+DataPart承载",
"caseCategory": "正常",
"input": [
{
"api": "generateNotificationPromptFromDataWithSchema",
"args": {
"data": {
"topic": "Fault",
"condition": "故障优先级为critical、high,故障名称为光纤中断、光模块故障",
"condition": "故障优先级为高、中,故障名称为单板故障、主控板异常",
"dataFormat": "通过DataPart上报故障数据"
},
"schema": {
Expand Down Expand Up @@ -152,8 +151,7 @@
{
"result": "success",
"data": {
"topic": "Fault",
"subscriptionCondition": "故障优先级为critical、high,故障名称为光纤中断、光模块故障"
"topic": "Fault"
},
"error": { "errCode": "", "errMessage": "" }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@
{
"result": "success",
"data": {
"topic": "Incident",
"subscriptionCondition": "故障优先级为严重、高,故障名称为光纤中断、单板故障",
"notificationDataFormat": "通过DataPart上报Incident数据"
"topic": "Incident"
},
"error": { "errCode": "", "errMessage": "" }
}
Expand All @@ -61,13 +59,13 @@
{
"id": "TC00000002",
"caseDimension": "01-意图清晰参数完整",
"caseDesc": "Fault订阅-英文优先级语义(critical、high)+DataPart承载",
"caseDesc": "Fault订阅-中文优先级语义(高、中)+DataPart承载",
"caseCategory": "正常",
"input": [
{
"api": "generateNotificationPromptFromText",
"args": {
"text": "请生成一个智能故障订阅任务:通知主题为Fault,订阅条件为故障优先级为critical、high,故障名称为光纤中断、光模块故障,上报通知数据格式为通过DataPart上报故障数据",
"text": "请生成一个智能故障订阅任务:通知主题为Fault,订阅条件为故障优先级为高、中,故障名称为单板故障、主控板异常,上报通知数据格式为通过DataPart上报故障数据",
"templateUri": "Notification-T/network-layer/subscribe-incident/v1"
}
},
Expand Down Expand Up @@ -109,8 +107,7 @@
{
"result": "success",
"data": {
"topic": "Fault",
"subscriptionCondition": "故障优先级为critical、high,故障名称为光纤中断、光模块故障"
"topic": "Fault"
},
"error": { "errCode": "", "errMessage": "" }
}
Expand Down
Loading