open-standards/wai/telemetry-conformance/cmsd-read/cases.json
Transaction Science 51fda19882 wai: CMSD — a reader for CMSD-Static and CMSD-Dynamic, the custom keys registered as wire identifiers
delivery-telemetry §6.6 reads a CMSD field back into the description
§6.1 to §6.3 write, passing over other senders' keys, and refuses with
cmsd_malformed, cmsd_type or cmsd_version; §10 lists the extension's
CMCD and CMSD custom keys in full, and the registry lists each as a wire
identifier of the new kind telemetry-key (and WPJ1, the projection
descriptor's magic). telemetry-conformance/cmsd-read/ holds the fields
and their outcomes; cmsd_read_verify.py is the second implementation.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 10:36:01 -04:00

87 lines
2.7 KiB
JSON

[
{
"name": "static-as-written",
"field": "static",
"value": "at=1790000000000,d=40,nor=\"L01.wai\",ot=v,science.transaction.wai-ch=\"aaf90792d6ff5318e5f306fbb000dfcbe73637e244aad1a2eff6dae537cd6b5f\",science.transaction.wai-l=\"0\",science.transaction.wai-lt=\"4\",science.transaction.wai-rcpt=\"7bf0f413db62aa185969b9ccf925d40f0281601268899bb7f2e97344487f4189\",sf=o,st=v,su"
},
{
"name": "static-another-order",
"field": "static",
"value": "v=1,su,st=v,sf=o,science.transaction.wai-rcpt=\"7bf0f413db62aa185969b9ccf925d40f0281601268899bb7f2e97344487f4189\",science.transaction.wai-lt=\"4\",science.transaction.wai-l=\"0\",science.transaction.wai-ch=\"aaf90792d6ff5318e5f306fbb000dfcbe73637e244aad1a2eff6dae537cd6b5f\",ot=v,nor=\"L01.wai\",d=40,at=1790000000000,org.example-x=\"y\""
},
{
"name": "static-su-false",
"field": "static",
"value": "at=1790000000000,ot=o,su=?0"
},
{
"name": "static-derived-op",
"field": "static",
"value": "at=1790000000005,ht=20,nrr=\"0-1023\",ot=o,science.transaction.wai-ch=\"4fc1bd94bd48b2c1ded99c0053eed742f5399cec09dbd2f8694cca6a30e44875\",science.transaction.wai-l=\"1\",science.transaction.wai-lt=\"4\",science.transaction.wai-op=crop,sf=o,st=l"
},
{
"name": "dynamic-two-nodes",
"field": "dynamic",
"value": "\"edge-7\";etp=25000;mb=8000;rd=3;rtt=40;science.transaction.wai-drop=\"2\",\"origin-1\";du;rd=12"
},
{
"name": "dynamic-unknown-parameter",
"field": "dynamic",
"value": "\"edge-7\";rtt=40;xyz=1"
},
{
"name": "static-not-a-dictionary",
"field": "static",
"value": "at=,d=40"
},
{
"name": "static-duration-a-string",
"field": "static",
"value": "d=\"40\""
},
{
"name": "static-layer-not-decimal",
"field": "static",
"value": "science.transaction.wai-l=\"one\""
},
{
"name": "static-layer-leading-zero",
"field": "static",
"value": "science.transaction.wai-l=\"01\""
},
{
"name": "static-hash-short",
"field": "static",
"value": "science.transaction.wai-ch=\"abc\""
},
{
"name": "static-op-a-string",
"field": "static",
"value": "science.transaction.wai-op=\"crop\""
},
{
"name": "static-version-2",
"field": "static",
"value": "v=2,ot=v"
},
{
"name": "dynamic-server-a-token",
"field": "dynamic",
"value": "edge-7;rtt=40"
},
{
"name": "dynamic-throughput-a-string",
"field": "dynamic",
"value": "\"edge-7\";etp=\"1\""
},
{
"name": "dynamic-drop-not-decimal",
"field": "dynamic",
"value": "\"edge-7\";science.transaction.wai-drop=\"two\""
},
{
"name": "dynamic-not-a-list",
"field": "dynamic",
"value": "\"edge-7\","
}
]