feat(tds): 同步 ssw-tdc 最新 internal 契约并完成真 TDS 联调验证
- 协议版本收敛为单一常量 3.2,移除联调期自创的 env 覆盖 - 按真源同步 5 项契约:Dispute 下线、Billing/List 增 side、internalCatalog 6 过滤字段、新增 ServiceCatalog/Detail、出向方法收敛 - 修正 /api/** 未命中非 GET 请求被静态兜底判成 405 的偏差,恢复 404 契约 - 新增上游用例跨进程验证脚本与 4 份联调文档;部署级凭据只从环境变量读取 - 全量测试 308 passed;132 端点契约一致;真 TDS 21 条用例 19 PASS / 1 FAIL / 1 INFO
This commit is contained in:
1 parent
400d883e1a
commit
4b32b40bd6
20 files changed
+1853
-96
No files matched your search
@@ -54,11 +54,11 @@ LITERAL_METHODS = {
|
||||
"/api/permission/Users/{id}/Actions/ResetPassword": ["POST"],
|
||||
"/api/permission/Users/{id}/Actions/State": ["PUT"],
|
||||
"/api/ssw/tdc/ServiceCatalog": ["GET"],
|
||||
"/api/ssw/tdc/ServiceCatalog/Detail/{productCode}": ["GET"],
|
||||
"/api/ssw/tdc/ServiceCatalog/Buy": ["POST"],
|
||||
"/api/ssw/tdc/ServiceCatalog/BuyBatch": ["POST"],
|
||||
"/api/ssw/tdc/Billing/List": ["GET"],
|
||||
"/api/ssw/tdc/Billing/LocalCompare": ["GET"],
|
||||
"/api/ssw/tdc/Billing/{id}/Dispute": ["PUT"],
|
||||
"/api/ssw/tdc/Billing/{id}/Confirm": ["PUT"],
|
||||
"/api/ssw/tdc/Billing/{id}/Settle": ["PUT"],
|
||||
"/api/ssw/tdc/Billing/{id}/Receipt": ["PUT"],
|
||||
@@ -79,11 +79,11 @@ DESCRIPTIONS = {
|
||||
"POST /api/permission/Users/{id}/Actions/ResetPassword": "用户管理 · 重设口令(**仅管理员**)",
|
||||
"PUT /api/permission/Users/{id}/Actions/State": "用户管理 · 启用/禁用(**仅管理员**)",
|
||||
"GET /api/ssw/tdc/ServiceCatalog": "服务目录(出向 TDS `Catalog/Internal/Catalog`)",
|
||||
"GET /api/ssw/tdc/ServiceCatalog/Detail/{productCode}": "目录详情(出向 TDS `Catalog/Detail/{productCode}?spaceId=`)",
|
||||
"POST /api/ssw/tdc/ServiceCatalog/Buy": "目录下单(出向 TDS `TradeOrder/Internal/Apply`)",
|
||||
"POST /api/ssw/tdc/ServiceCatalog/BuyBatch": "目录批量下单(出向 TDS `TradeOrder/Internal/ApplyBatch`)",
|
||||
"GET /api/ssw/tdc/Billing/List": "本方账单列表(出向 TDS `BillingLedger/Internal/List`)",
|
||||
"GET /api/ssw/tdc/Billing/LocalCompare": "本地计量比对(读本地 `tdc_api_consume_log`,**零出向**)",
|
||||
"PUT /api/ssw/tdc/Billing/{id}/Dispute": "账单异议(出向 TDS `BillingLedger/{id}/Dispute`)",
|
||||
"PUT /api/ssw/tdc/Billing/{id}/Confirm": "账单确认(出向 TDS `BillingLedger/{id}/Confirm`)",
|
||||
"PUT /api/ssw/tdc/Billing/{id}/Settle": "账单结算(出向 TDS `BillingLedger/{id}/Settle`)",
|
||||
"PUT /api/ssw/tdc/Billing/{id}/Receipt": "收据(出向 TDS `BillingLedger/{id}/Receipt`)",
|
||||
|
||||
Reference in new issue
Block a user