From 5877eb73099a7877411243b992fdf3f9172b97d5 Mon Sep 17 00:00:00 2001 From: doufenghu Date: Tue, 20 Apr 2021 17:27:00 +0800 Subject: [PATCH] modify API 21.04 --- ...hooting API V21.04.postman_collection.json | 157 +++++++++++++----- 21.04/test.postman_environment.json | 2 +- 2 files changed, 117 insertions(+), 42 deletions(-) diff --git a/21.04/Galaxy Trouble Shooting API V21.04.postman_collection.json b/21.04/Galaxy Trouble Shooting API V21.04.postman_collection.json index be325b6..d4d9d32 100644 --- a/21.04/Galaxy Trouble Shooting API V21.04.postman_collection.json +++ b/21.04/Galaxy Trouble Shooting API V21.04.postman_collection.json @@ -2,7 +2,7 @@ "info": { "_postman_id": "c5e52a8f-0cbc-44fb-92a8-26e2a5c8b5f0", "name": "Galaxy Trouble Shooting API V21.04", - "description": "# galaxy-troubleshooting-api\n\n## Release 21.04 (3 APR 2021)\n\n###### New Features\n* 增加“VoIP日志”功能,辅助故障诊断\n* 增加“元数据检查”分类目录\n\n\n###### Update \n\n* 修改“SQL语法检查”为“SQL语法验证”,支持SQL语句的静态分析和数据库语义验证\n* 迁移功能项位置,方便问题定位\n\n###### Delete\n* 删除“系统检查-查询引擎SQL测试集[过时]”功能,由“故障诊断-sql性能测试”替代。\n\n\n[帮助文档]: https://docs.geedge.net/pages/viewpage.action?pageId=19896569", + "description": "# galaxy-troubleshooting-api\n\n## Release 21.04 (3 APR 2021)\n\n###### New Features\n* 增加“VoIP日志”功能,辅助故障诊断\n* 增加“元数据检查”分类目录\n* 增加“HOS对象存储”目录,用于定位对象存储\n\n\n###### Update \n\n* 修改“SQL语法检查”为“SQL语法验证”,支持SQL语句的静态分析和数据库语义验证\n* 迁移功能项位置,方便问题定位\n\n###### Delete\n* 删除“系统检查-查询引擎SQL测试集[过时]”功能,由“故障诊断-sql性能测试”替代。\n\n\n[帮助文档]: https://docs.geedge.net/pages/viewpage.action?pageId=19896569", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ @@ -2048,6 +2048,120 @@ } ] }, + { + "name": "HOS对象存储", + "item": [ + { + "name": "hos查询所有的桶", + "request": { + "method": "GET", + "header": [ + { + "key": "Token", + "type": "text", + "value": "{{hos_token}}" + } + ], + "url": { + "raw": "http://{{hos_ip}}:{{hos_port}}/hos/", + "protocol": "http", + "host": [ + "{{hos_ip}}" + ], + "port": "{{hos_port}}", + "path": [ + "hos", + "" + ], + "query": [ + { + "key": "AccessKey", + "value": "default", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "获取对象列表", + "request": { + "method": "GET", + "header": [ + { + "key": "Token", + "type": "text", + "value": "{{hos_token}}" + } + ], + "url": { + "raw": "http://{{hos_ip}}:{{hos_port}}/hos/{bucketName}/?start-after=1618243200_1618329600", + "protocol": "http", + "host": [ + "{{hos_ip}}" + ], + "port": "{{hos_port}}", + "path": [ + "hos", + "{bucketName}", + "" + ], + "query": [ + { + "key": "AccessKey", + "value": "default", + "disabled": true + }, + { + "key": "start-after", + "value": "1618243200_1618329600" + } + ] + } + }, + "response": [] + }, + { + "name": "获取对象元数据", + "request": { + "method": "GET", + "header": [ + { + "key": "Token", + "type": "text", + "value": "{{hos_token}}" + } + ], + "url": { + "raw": "http://{{hos_ip}}:{{hos_port}}/hos/{bucketName}/{fileName}?metadata", + "protocol": "http", + "host": [ + "{{hos_ip}}" + ], + "port": "{{hos_port}}", + "path": [ + "hos", + "{bucketName}", + "{fileName}" + ], + "query": [ + { + "key": "metadata", + "value": null + }, + { + "key": "AccessKey", + "value": "default", + "disabled": true + } + ] + } + }, + "response": [] + } + ] + }, { "name": "SQL查询接口", "protocolProfileBehavior": { @@ -2221,7 +2335,7 @@ "method": "GET", "header": [], "url": { - "raw": "http://{{qgw_ip}}:{{qgw_port}}/diagnosis/runSql?isSaved=true", + "raw": "http://{{qgw_ip}}:{{qgw_port}}/diagnosis/runSql", "protocol": "http", "host": [ "{{qgw_ip}}" @@ -2230,12 +2344,6 @@ "path": [ "diagnosis", "runSql" - ], - "query": [ - { - "key": "isSaved", - "value": "true" - } ] } }, @@ -4630,39 +4738,6 @@ } }, "response": [] - }, - { - "name": "hos查询所有的桶", - "request": { - "method": "GET", - "header": [ - { - "key": "Token", - "type": "text", - "value": "{{hos_token}}" - } - ], - "url": { - "raw": "http://{{hos_ip}}:{{hos_port}}/hos/", - "protocol": "http", - "host": [ - "{{hos_ip}}" - ], - "port": "{{hos_port}}", - "path": [ - "hos", - "" - ], - "query": [ - { - "key": "AccessKey", - "value": "default", - "disabled": true - } - ] - } - }, - "response": [] } ] }, diff --git a/21.04/test.postman_environment.json b/21.04/test.postman_environment.json index dff1330..e329150 100644 --- a/21.04/test.postman_environment.json +++ b/21.04/test.postman_environment.json @@ -229,6 +229,6 @@ } ], "_postman_variable_scope": "environment", - "_postman_exported_at": "2021-04-07T03:26:22.779Z", + "_postman_exported_at": "2021-04-20T09:24:14.881Z", "_postman_exported_using": "Postman/8.0.7" } \ No newline at end of file