generated-scene: add scheduled monitoring runtime and helper lifecycle hardening
This commit is contained in:
100
tests/fixtures/generated_scene/p0_canonical_answers/p0-3-paginated-enrichment.scene-ir.json
vendored
Normal file
100
tests/fixtures/generated_scene/p0_canonical_answers/p0-3-paginated-enrichment.scene-ir.json
vendored
Normal file
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"sceneId": "paginated-enrichment-report",
|
||||
"sceneName": "分页补数明细报表",
|
||||
"sceneKind": "report_collection",
|
||||
"workflowArchetype": "paginated_enrichment",
|
||||
"bootstrap": {
|
||||
"expectedDomain": "yx.gs.sgcc.com.cn",
|
||||
"targetUrl": "http://yx.gs.sgcc.com.cn",
|
||||
"requiresTargetPage": true,
|
||||
"pageTitleKeywords": ["分页补数"],
|
||||
"source": "canonical_fixture"
|
||||
},
|
||||
"apiEndpoints": [
|
||||
{
|
||||
"name": "userList",
|
||||
"url": "http://yx.gs.sgcc.com.cn/marketing/userList",
|
||||
"method": "POST",
|
||||
"contentType": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "userCharges",
|
||||
"url": "http://yx.gs.sgcc.com.cn/marketing/userCharges",
|
||||
"method": "POST",
|
||||
"contentType": "application/json"
|
||||
}
|
||||
],
|
||||
"mainRequest": {
|
||||
"apiEndpoint": {
|
||||
"name": "userList",
|
||||
"url": "http://yx.gs.sgcc.com.cn/marketing/userList",
|
||||
"method": "POST",
|
||||
"contentType": "application/json",
|
||||
"description": "g3_main_request"
|
||||
},
|
||||
"requestTemplate": {
|
||||
"page": "${args.page}",
|
||||
"pageSize": "${args.page_size}"
|
||||
},
|
||||
"responsePath": "rows",
|
||||
"columnDefs": []
|
||||
},
|
||||
"paginationPlan": {
|
||||
"pageField": "page",
|
||||
"pageSizeField": "pageSize",
|
||||
"startPage": 1,
|
||||
"terminationRule": "stop_when_page_rows_empty"
|
||||
},
|
||||
"enrichmentRequests": [
|
||||
{
|
||||
"name": "userCharges",
|
||||
"apiEndpoint": {
|
||||
"name": "userCharges",
|
||||
"url": "http://yx.gs.sgcc.com.cn/marketing/userCharges",
|
||||
"method": "POST",
|
||||
"contentType": "application/json",
|
||||
"description": "g3_enrichment_request"
|
||||
},
|
||||
"paramBindings": {},
|
||||
"responsePath": "rows",
|
||||
"consumedFields": ["custNo"]
|
||||
}
|
||||
],
|
||||
"joinKeys": ["custNo"],
|
||||
"mergeOrDedupeRules": ["dedupe:custNo", "aggregate:charge"],
|
||||
"exportPlan": {
|
||||
"entry": "exportExcel",
|
||||
"artifactType": "report-artifact",
|
||||
"dependsOnHostBridge": false
|
||||
},
|
||||
"responsePath": "rows",
|
||||
"workflowSteps": [
|
||||
{ "type": "request", "entry": "getUserList", "endpoint": "userList" },
|
||||
{ "type": "paginate", "entry": "getUserList" },
|
||||
{ "type": "secondary_request", "entry": "getUserCharges" },
|
||||
{ "type": "filter", "expr": "row.charge !== 0" },
|
||||
{ "type": "export", "entry": "exportExcel" }
|
||||
],
|
||||
"workflowEvidence": {
|
||||
"requestEntries": ["getUserList"],
|
||||
"paginationFields": ["page", "pageSize"],
|
||||
"secondaryRequestEntries": ["getUserCharges"],
|
||||
"postProcessSteps": ["filter", "export"]
|
||||
},
|
||||
"readiness": {
|
||||
"level": "A",
|
||||
"gates": [
|
||||
{ "name": "bootstrap_resolved", "passed": true },
|
||||
{ "name": "request_contract_complete", "passed": true },
|
||||
{ "name": "response_contract_complete", "passed": true },
|
||||
{ "name": "workflow_contract_complete", "passed": true },
|
||||
{ "name": "runtime_contract_compatible", "passed": true },
|
||||
{ "name": "g3_main_request_resolved", "passed": true },
|
||||
{ "name": "g3_pagination_contract_complete", "passed": true },
|
||||
{ "name": "g3_enrichment_contract_complete", "passed": true },
|
||||
{ "name": "g3_join_key_resolved", "passed": true },
|
||||
{ "name": "g3_export_path_identified", "passed": true },
|
||||
{ "name": "g3_runtime_scope_compatible", "passed": true }
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user