1 Star 0 Fork 69

lidinglin / DiscoveryGuide

forked from Nepxion / DiscoveryGuide 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
postman.json 26.44 KB
一键复制 编辑 原始数据 按行查看 历史
Nepxion 提交于 2020-10-07 23:55 . 修改Postman脚本
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151
{
"info": {
"_postman_id": "cf16d585-798d-4643-84ef-518c335fba14",
"name": "Nepxion",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Discovery指南网关接口",
"item": [
{
"name": "Gateway网关调用示例",
"request": {
"method": "GET",
"header": [
{
"key": "n-d-version",
"value": "{\"discovery-guide-service-a\":\"1.0\", \"discovery-guide-service-b\":\"1.0\"}",
"type": "text",
"disabled": true
},
{
"key": "n-d-version-weight",
"value": "{\"discovery-guide-service-a\":\"1.0=90;1.1=10\", \"discovery-guide-service-b\":\"1.0=20;1.1=80\"}",
"type": "text",
"disabled": true
},
{
"key": "n-d-region",
"value": "dev",
"type": "text",
"disabled": true
},
{
"key": "n-d-region-weight",
"value": "dev=99;qa=1",
"type": "text",
"disabled": true
},
{
"key": "n-d-address",
"value": "{\"discovery-guide-service-a\":\"3001\", \"discovery-guide-service-b\":\"4002\"}",
"type": "text",
"disabled": true
},
{
"key": "n-d-env",
"value": "env1",
"type": "text",
"disabled": true
},
{
"key": "n-d-id-blacklist",
"value": "211783d6-1df0-40d0-8ac0-bf3fb4ac0b37;e74c1478-fbe9-41ac-aa41-7fb9fb2a58b4",
"type": "text",
"disabled": true
},
{
"key": "n-d-address-blacklist",
"value": "3*2;4001",
"type": "text",
"disabled": true
},
{
"key": "app-version",
"value": "1.0",
"type": "text",
"disabled": true
},
{
"key": "mobile",
"value": "13312345678",
"type": "text",
"disabled": true
},
{
"key": "user",
"value": "zhangsan",
"type": "text",
"disabled": true
},
{
"key": "location",
"value": "shanghai",
"type": "text",
"disabled": true
},
{
"key": "Cookie",
"value": "user=zhangsan; Path=/; Domain=nepxion; Expires=Fri, 07 Oct 2050 15:00:00 GMT;",
"type": "text",
"disabled": true
},
{
"key": "trace-id",
"value": "c0zs78kcze5z",
"type": "text",
"disabled": true
},
{
"key": "span-id",
"value": "1589",
"type": "text",
"disabled": true
},
{
"key": "a",
"value": "1",
"type": "text",
"disabled": true
},
{
"key": "b",
"value": "2",
"type": "text",
"disabled": true
}
],
"url": {
"raw": "http://localhost:5001/discovery-guide-service-a/invoke/gateway",
"protocol": "http",
"host": [
"localhost"
],
"port": "5001",
"path": [
"discovery-guide-service-a",
"invoke",
"gateway"
]
}
},
"response": []
},
{
"name": "Zuul网关调用示例",
"request": {
"method": "GET",
"header": [
{
"key": "n-d-version",
"value": "{\"discovery-guide-service-a\":\"1.0\", \"discovery-guide-service-b\":\"1.0\"}",
"type": "text",
"disabled": true
},
{
"key": "n-d-version-weight",
"value": "{\"discovery-guide-service-a\":\"1.0=90;1.1=10\", \"discovery-guide-service-b\":\"1.0=20;1.1=80\"}",
"type": "text",
"disabled": true
},
{
"key": "n-d-region",
"value": "dev",
"type": "text",
"disabled": true
},
{
"key": "n-d-region-weight",
"value": "dev=99;qa=1",
"type": "text",
"disabled": true
},
{
"key": "n-d-address",
"value": "{\"discovery-guide-service-a\":\"3001\", \"discovery-guide-service-b\":\"4002\"}",
"type": "text",
"disabled": true
},
{
"key": "n-d-env",
"value": "env1",
"type": "text",
"disabled": true
},
{
"key": "n-d-id-blacklist",
"value": "211783d6-1df0-40d0-8ac0-bf3fb4ac0b37;e74c1478-fbe9-41ac-aa41-7fb9fb2a58b4",
"type": "text",
"disabled": true
},
{
"key": "n-d-address-blacklist",
"value": "3*2;4001",
"type": "text",
"disabled": true
},
{
"key": "app-version",
"value": "1.0",
"type": "text",
"disabled": true
},
{
"key": "mobile",
"value": "13312345678",
"type": "text",
"disabled": true
},
{
"key": "user",
"value": "zhangsan",
"type": "text",
"disabled": true
},
{
"key": "location",
"value": "shanghai",
"type": "text",
"disabled": true
},
{
"key": "Cookie",
"value": "user=zhangsan; Path=/; Domain=nepxion; Expires=Fri, 07 Oct 2050 15:00:00 GMT;",
"type": "text",
"disabled": true
},
{
"key": "trace-id",
"value": "c0zs78kcze5z",
"type": "text",
"disabled": true
},
{
"key": "span-id",
"value": "1589",
"type": "text",
"disabled": true
},
{
"key": "a",
"value": "1",
"type": "text",
"disabled": true
},
{
"key": "b",
"value": "2",
"type": "text",
"disabled": true
}
],
"url": {
"raw": "http://localhost:5002/discovery-guide-service-a/invoke/zuul",
"protocol": "http",
"host": [
"localhost"
],
"port": "5002",
"path": [
"discovery-guide-service-a",
"invoke",
"zuul"
]
}
},
"response": []
},
{
"name": "Gateway网关全链路侦测示例",
"request": {
"method": "POST",
"header": [
{
"key": "n-d-version",
"type": "text",
"value": "{\"discovery-guide-service-a\":\"1.0\", \"discovery-guide-service-b\":\"1.0\"}",
"disabled": true
},
{
"key": "n-d-version-weight",
"type": "text",
"value": "{\"discovery-guide-service-a\":\"1.0=90;1.1=10\", \"discovery-guide-service-b\":\"1.0=20;1.1=80\"}",
"disabled": true
},
{
"key": "n-d-region",
"type": "text",
"value": "dev",
"disabled": true
},
{
"key": "n-d-region-weight",
"type": "text",
"value": "dev=99;qa=1",
"disabled": true
},
{
"key": "n-d-address",
"type": "text",
"value": "{\"discovery-guide-service-a\":\"3001\", \"discovery-guide-service-b\":\"4002\"}",
"disabled": true
},
{
"key": "n-d-env",
"type": "text",
"value": "env1",
"disabled": true
},
{
"key": "n-d-id-blacklist",
"value": "211783d6-1df0-40d0-8ac0-bf3fb4ac0b37;e74c1478-fbe9-41ac-aa41-7fb9fb2a58b4",
"type": "text",
"disabled": true
},
{
"key": "n-d-address-blacklist",
"value": "3*2;4001",
"type": "text",
"disabled": true
},
{
"key": "app-version",
"type": "text",
"value": "1.0",
"disabled": true
},
{
"key": "mobile",
"type": "text",
"value": "13312345678",
"disabled": true
},
{
"key": "user",
"type": "text",
"value": "zhangsan",
"disabled": true
},
{
"key": "location",
"value": "shanghai",
"type": "text",
"disabled": true
},
{
"key": "Cookie",
"value": "user=zhangsan; Path=/; Domain=nepxion; Expires=Fri, 07 Oct 2050 15:00:00 GMT;",
"type": "text",
"disabled": true
},
{
"key": "trace-id",
"type": "text",
"value": "c0zs78kcze5z",
"disabled": true
},
{
"key": "span-id",
"type": "text",
"value": "1589",
"disabled": true
},
{
"key": "a",
"type": "text",
"value": "1",
"disabled": true
},
{
"key": "b",
"type": "text",
"value": "2",
"disabled": true
}
],
"body": {
"mode": "raw",
"raw": "{\"serviceIdList\":[\"discovery-guide-service-b\"]}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:5001/discovery-guide-service-a/inspector/inspect",
"protocol": "http",
"host": [
"localhost"
],
"port": "5001",
"path": [
"discovery-guide-service-a",
"inspector",
"inspect"
]
}
},
"response": []
},
{
"name": "Zuul网关全链路侦测示例",
"request": {
"method": "POST",
"header": [
{
"key": "n-d-version",
"type": "text",
"value": "{\"discovery-guide-service-a\":\"1.0\", \"discovery-guide-service-b\":\"1.0\"}",
"disabled": true
},
{
"key": "n-d-version-weight",
"type": "text",
"value": "{\"discovery-guide-service-a\":\"1.0=90;1.1=10\", \"discovery-guide-service-b\":\"1.0=20;1.1=80\"}",
"disabled": true
},
{
"key": "n-d-region",
"type": "text",
"value": "dev",
"disabled": true
},
{
"key": "n-d-region-weight",
"type": "text",
"value": "dev=99;qa=1",
"disabled": true
},
{
"key": "n-d-address",
"type": "text",
"value": "{\"discovery-guide-service-a\":\"3001\", \"discovery-guide-service-b\":\"4002\"}",
"disabled": true
},
{
"key": "n-d-env",
"type": "text",
"value": "env1",
"disabled": true
},
{
"key": "n-d-id-blacklist",
"value": "211783d6-1df0-40d0-8ac0-bf3fb4ac0b37;e74c1478-fbe9-41ac-aa41-7fb9fb2a58b4",
"type": "text",
"disabled": true
},
{
"key": "n-d-address-blacklist",
"value": "3*2;4001",
"type": "text",
"disabled": true
},
{
"key": "app-version",
"type": "text",
"value": "1.0",
"disabled": true
},
{
"key": "mobile",
"type": "text",
"value": "13312345678",
"disabled": true
},
{
"key": "user",
"type": "text",
"value": "zhangsan",
"disabled": true
},
{
"key": "location",
"value": "shanghai",
"type": "text",
"disabled": true
},
{
"key": "Cookie",
"value": "user=zhangsan; Path=/; Domain=nepxion; Expires=Fri, 07 Oct 2050 15:00:00 GMT;",
"type": "text",
"disabled": true
},
{
"key": "trace-id",
"type": "text",
"value": "c0zs78kcze5z",
"disabled": true
},
{
"key": "span-id",
"type": "text",
"value": "1589",
"disabled": true
},
{
"key": "a",
"type": "text",
"value": "1",
"disabled": true
},
{
"key": "b",
"type": "text",
"value": "2",
"disabled": true
}
],
"body": {
"mode": "raw",
"raw": "{\"serviceIdList\":[\"discovery-guide-service-b\"]}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:5002/discovery-guide-service-a/inspector/inspect",
"protocol": "http",
"host": [
"localhost"
],
"port": "5002",
"path": [
"discovery-guide-service-a",
"inspector",
"inspect"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "4f8553f1-7d6f-4b5c-a8e4-2693dcc4340b",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "ea52c4e3-7098-4b11-a19a-68b8da9aeffd",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"protocolProfileBehavior": {}
},
{
"name": "Discovery原生网关接口",
"item": [
{
"name": "Gateway网关调用示例",
"request": {
"method": "POST",
"header": [
{
"key": "n-d-version",
"value": "{\"discovery-springcloud-example-a\":\"1.0\", \"discovery-springcloud-example-b\":\"1.0\", \"discovery-springcloud-example-c\":\"1.0;1.2\"}",
"disabled": true
},
{
"key": "n-d-region",
"value": "{\"discovery-springcloud-example-a\":\"qa;dev\", \"discovery-springcloud-example-b\":\"dev\", \"discovery-springcloud-example-c\":\"qa\"}",
"disabled": true
},
{
"key": "n-d-address",
"value": "{\"discovery-springcloud-example-a\":\"192.168.43.101:1100\", \"discovery-springcloud-example-b\":\"192.168.43.101:1201\", \"discovery-springcloud-example-c\":\"192.168.43.101:1300\"}",
"type": "text",
"disabled": true
},
{
"key": "n-d-version-weight",
"value": "{\"discovery-springcloud-example-a\":\"1.0=90;1.1=10\", \"discovery-springcloud-example-b\":\"1.0=90;1.1=10\", \"discovery-springcloud-example-c\":\"1.0=90;1.1=10\"}",
"type": "text",
"disabled": true
},
{
"key": "n-d-region-weight",
"value": "dev=85;qa=15",
"type": "text",
"disabled": true
},
{
"key": "mobile",
"value": "133",
"type": "text",
"disabled": true
},
{
"key": "user",
"value": "zhangsan",
"type": "text",
"disabled": true
},
{
"key": "token",
"value": "ab",
"type": "text",
"disabled": true
}
],
"body": {
"mode": "raw",
"raw": "ab"
},
"url": {
"raw": "http://localhost:1500/discovery-springcloud-example-a/invoke",
"protocol": "http",
"host": [
"localhost"
],
"port": "1500",
"path": [
"discovery-springcloud-example-a",
"invoke"
]
}
},
"response": []
},
{
"name": "Zuul网关调用示例",
"request": {
"method": "POST",
"header": [
{
"key": "n-d-version",
"value": "{\"discovery-springcloud-example-a\":\"1.0\", \"discovery-springcloud-example-b\":\"1.0\", \"discovery-springcloud-example-c\":\"1.0;1.2\"}",
"disabled": true
},
{
"key": "n-d-region",
"value": "{\"discovery-springcloud-example-a\":\"qa;dev\", \"discovery-springcloud-example-b\":\"dev\", \"discovery-springcloud-example-c\":\"qa\"}",
"disabled": true
},
{
"key": "n-d-address",
"value": "{\"discovery-springcloud-example-a\":\"192.168.43.101:1100\", \"discovery-springcloud-example-b\":\"192.168.43.101:1201\", \"discovery-springcloud-example-c\":\"192.168.43.101:1300\"}",
"type": "text",
"disabled": true
},
{
"key": "n-d-version-weight",
"value": "{\"discovery-springcloud-example-a\":\"1.0=90;1.1=10\", \"discovery-springcloud-example-b\":\"1.0=90;1.1=10\", \"discovery-springcloud-example-c\":\"1.0=90;1.1=10\"}",
"type": "text",
"disabled": true
},
{
"key": "n-d-region-weight",
"value": "dev=85;qa=15",
"type": "text",
"disabled": true
},
{
"key": "mobile",
"value": "138",
"type": "text",
"disabled": true
},
{
"key": "user",
"value": "lisi",
"type": "text",
"disabled": true
},
{
"key": "token",
"value": "ab",
"type": "text",
"disabled": true
}
],
"body": {
"mode": "raw",
"raw": "ab"
},
"url": {
"raw": "http://localhost:1400/discovery-springcloud-example-a/invoke",
"protocol": "http",
"host": [
"localhost"
],
"port": "1400",
"path": [
"discovery-springcloud-example-a",
"invoke"
]
}
},
"response": []
},
{
"name": "Gateway网关获取全路径的路由信息树",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "discovery-springcloud-example-a;discovery-springcloud-example-b;discovery-springcloud-example-c"
},
"url": {
"raw": "http://localhost:1500/router/routes/",
"protocol": "http",
"host": [
"localhost"
],
"port": "1500",
"path": [
"router",
"routes",
""
]
}
},
"response": []
},
{
"name": "Zuul网关获取全路径的路由信息树",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "discovery-springcloud-example-a;discovery-springcloud-example-b;discovery-springcloud-example-c"
},
"url": {
"raw": "http://localhost:1400/router/routes/",
"protocol": "http",
"host": [
"localhost"
],
"port": "1400",
"path": [
"router",
"routes",
""
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "0745ce05-be91-4aca-9dfa-b2e3d4b903b5",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "8cb32baa-41c5-4d08-8a99-e4e9d0f67f8a",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"protocolProfileBehavior": {}
},
{
"name": "Discovery服务接口",
"item": [
{
"name": "查看本地和更新的规则配置信息",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:1100/config/view",
"protocol": "http",
"host": [
"localhost"
],
"port": "1100",
"path": [
"config",
"view"
]
}
},
"response": []
},
{
"name": "查看服务的本地版本和动态版本",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:1100/version/view",
"protocol": "http",
"host": [
"localhost"
],
"port": "1100",
"path": [
"version",
"view"
]
}
},
"response": []
},
{
"name": "获取全路径的路由信息树",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "discovery-springcloud-example-b;discovery-springcloud-example-c"
},
"url": {
"raw": "http://localhost:1100/router/routes/",
"protocol": "http",
"host": [
"localhost"
],
"port": "1100",
"path": [
"router",
"routes",
""
]
}
},
"response": []
},
{
"name": "服务调用示例",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "Start"
},
"url": {
"raw": "http://localhost:1100/invoke",
"protocol": "http",
"host": [
"localhost"
],
"port": "1100",
"path": [
"invoke"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "9c473e26-3065-49ef-bb64-718d1f8917ec",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "a7fbb188-ca44-423d-b345-85a27a88eaef",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"protocolProfileBehavior": {}
},
{
"name": "Discovery控制台接口",
"item": [
{
"name": "批量同步推送更新规则配置信息",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<rule>\r\n <discovery>\r\n <version>\r\n <service consumer-service-name=\"discovery-springcloud-example-b\" provider-service-name=\"discovery-springcloud-example-c\" consumer-version-value=\"1.0\" provider-version-value=\"3.0\"/>\r\n </version>\r\n </discovery>\r\n</rule>"
},
"url": {
"raw": "http://localhost:2222/console/config/update-sync/discovery-springcloud-example-b",
"protocol": "http",
"host": [
"localhost"
],
"port": "2222",
"path": [
"console",
"config",
"update-sync",
"discovery-springcloud-example-b"
]
}
},
"response": []
},
{
"name": "批量同步清除更新的规则配置信息",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:2222/console/config/clear-sync/discovery-springcloud-example-b",
"protocol": "http",
"host": [
"localhost"
],
"port": "2222",
"path": [
"console",
"config",
"clear-sync",
"discovery-springcloud-example-b"
]
}
},
"response": []
},
{
"name": "批量同步更新服务的动态版本",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "1.1"
},
"url": {
"raw": "http://localhost:2222/console/version/update-sync/discovery-springcloud-example-zuul",
"protocol": "http",
"host": [
"localhost"
],
"port": "2222",
"path": [
"console",
"version",
"update-sync",
"discovery-springcloud-example-zuul"
]
}
},
"response": []
},
{
"name": "批量同步清除服务的动态版本",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:2222/console/version/clear-sync/discovery-springcloud-example-zuul",
"protocol": "http",
"host": [
"localhost"
],
"port": "2222",
"path": [
"console",
"version",
"clear-sync",
"discovery-springcloud-example-zuul"
]
}
},
"response": []
},
{
"name": "推送更新规则配置信息到远程配置中心",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<rule>\r\n <discovery>\r\n <version>\r\n <service consumer-service-name=\"discovery-springcloud-example-b\" provider-service-name=\"discovery-springcloud-example-c\" consumer-version-value=\"1.0\" provider-version-value=\"3.0\"/>\r\n </version>\r\n </discovery>\r\n</rule>"
},
"url": {
"raw": "http://localhost:2222/console/remote-config/update/example-service-group/discovery-springcloud-example-b",
"protocol": "http",
"host": [
"localhost"
],
"port": "2222",
"path": [
"console",
"remote-config",
"update",
"example-service-group",
"discovery-springcloud-example-b"
]
}
},
"response": []
},
{
"name": "清除规则配置信息到远程配置中心",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:2222/console/remote-config/clear/example-service-group/discovery-springcloud-example-b",
"protocol": "http",
"host": [
"localhost"
],
"port": "2222",
"path": [
"console",
"remote-config",
"clear",
"example-service-group",
"discovery-springcloud-example-b"
]
}
},
"response": []
},
{
"name": "查看远程配置中心的规则配置信息",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:2222/console/remote-config/view/example-service-group/discovery-springcloud-example-b",
"protocol": "http",
"host": [
"localhost"
],
"port": "2222",
"path": [
"console",
"remote-config",
"view",
"example-service-group",
"discovery-springcloud-example-b"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Nacos服务接口",
"item": [
{
"name": "获取服务实例",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://127.0.0.1:8848/nacos/v1/ns/instances?serviceName=discovery-springcloud-example-c",
"protocol": "http",
"host": [
"127",
"0",
"0",
"1"
],
"port": "8848",
"path": [
"nacos",
"v1",
"ns",
"instances"
],
"query": [
{
"key": "serviceName",
"value": "discovery-springcloud-example-c"
}
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Permission服务接口",
"item": [
{
"name": "权限验证调用",
"request": {
"method": "GET",
"header": [
{
"key": "token",
"value": "abcd12345"
},
{
"key": "user-id",
"value": "lisi"
},
{
"key": "user-type",
"value": "LDAP"
}
],
"url": {
"raw": "http://localhost:1212/doC/abc",
"protocol": "http",
"host": [
"localhost"
],
"port": "1212",
"path": [
"doC",
"abc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
}
],
"protocolProfileBehavior": {}
}
Java
1
https://gitee.com/lidinglin3452/DiscoveryGuide.git
git@gitee.com:lidinglin3452/DiscoveryGuide.git
lidinglin3452
DiscoveryGuide
DiscoveryGuide
master

搜索帮助