代码拉取完成,页面将自动刷新
同步操作将从 Nepxion/DiscoveryGuide 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
{
"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": {}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。