mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 12:22:50 +08:00

* hacked together load balancing reroutes in fileconfig * some renaming and refactoring * more renames * hacked away the old config json * test for issue 213 * renamed key * dont share ports * oops * updated docs * mvoed docs around * port being used
314 lines
8.4 KiB
JSON
314 lines
8.4 KiB
JSON
{
|
|
"id": "4dbde9fe-89f5-be35-bb9f-d3b438e16375",
|
|
"name": "Ocelot",
|
|
"description": "",
|
|
"order": [
|
|
"a1c95935-ed18-d5dc-bcb8-a3db8ba1934f",
|
|
"ea0ed57a-2cb9-8acc-47dd-006b8db2f1b2",
|
|
"c4494401-3985-a5bf-71fb-6e4171384ac6",
|
|
"09af8dda-a9cb-20d2-5ee3-0a3023773a1a",
|
|
"e8825dc3-4137-99a7-0000-ef5786610dc3",
|
|
"fddfc4fa-5114-69e3-4744-203ed71a526b",
|
|
"c45d30d7-d9c4-fa05-8110-d6e769bb6ff9",
|
|
"4684c2fa-f38c-c193-5f55-bf563a1978c6",
|
|
"5f308240-79e3-cf74-7a6b-fe462f0d54f1",
|
|
"178f16da-c61b-c881-1c33-9d64a56851a4",
|
|
"26a08569-85f6-7f9a-726f-61be419c7a34"
|
|
],
|
|
"folders": [],
|
|
"timestamp": 0,
|
|
"owner": "212120",
|
|
"public": false,
|
|
"requests": [
|
|
{
|
|
"folder": null,
|
|
"id": "09af8dda-a9cb-20d2-5ee3-0a3023773a1a",
|
|
"name": "GET http://localhost:5000/comments?postId=1",
|
|
"dataMode": "params",
|
|
"data": null,
|
|
"rawModeData": null,
|
|
"descriptionFormat": "html",
|
|
"description": "",
|
|
"headers": "",
|
|
"method": "GET",
|
|
"pathVariables": {},
|
|
"url": "http://localhost:5000/comments?postId=1",
|
|
"preRequestScript": null,
|
|
"tests": null,
|
|
"currentHelper": "normal",
|
|
"helperAttributes": {},
|
|
"collectionId": "4dbde9fe-89f5-be35-bb9f-d3b438e16375"
|
|
},
|
|
{
|
|
"id": "178f16da-c61b-c881-1c33-9d64a56851a4",
|
|
"headers": "Authorization: Bearer {{AccessToken}}\n",
|
|
"url": "http://localhost:5000/administration/configuration",
|
|
"preRequestScript": null,
|
|
"pathVariables": {},
|
|
"method": "GET",
|
|
"data": null,
|
|
"dataMode": "params",
|
|
"tests": null,
|
|
"currentHelper": "normal",
|
|
"helperAttributes": {},
|
|
"time": 1508914722969,
|
|
"name": "GET http://localhost:5000/admin/configuration",
|
|
"description": "",
|
|
"collectionId": "4dbde9fe-89f5-be35-bb9f-d3b438e16375"
|
|
},
|
|
{
|
|
"id": "26a08569-85f6-7f9a-726f-61be419c7a34",
|
|
"headers": "",
|
|
"url": "http://localhost:5000/administration/connect/token",
|
|
"preRequestScript": null,
|
|
"pathVariables": {},
|
|
"method": "POST",
|
|
"data": [
|
|
{
|
|
"key": "client_id",
|
|
"value": "raft",
|
|
"type": "text",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"key": "client_secret",
|
|
"value": "REALLYHARDPASSWORD",
|
|
"type": "text",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"key": "scope",
|
|
"value": "admin raft ",
|
|
"type": "text",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "admin",
|
|
"type": "text",
|
|
"enabled": false
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "secret",
|
|
"type": "text",
|
|
"enabled": false
|
|
},
|
|
{
|
|
"key": "grant_type",
|
|
"value": "client_credentials",
|
|
"type": "text",
|
|
"enabled": true
|
|
}
|
|
],
|
|
"dataMode": "params",
|
|
"tests": "var jsonData = JSON.parse(responseBody);\npostman.setGlobalVariable(\"AccessToken\", jsonData.access_token);\npostman.setGlobalVariable(\"RefreshToken\", jsonData.refresh_token);",
|
|
"currentHelper": "normal",
|
|
"helperAttributes": {},
|
|
"time": 1513240031907,
|
|
"name": "POST http://localhost:5000/admin/connect/token copy copy",
|
|
"description": "",
|
|
"collectionId": "4dbde9fe-89f5-be35-bb9f-d3b438e16375"
|
|
},
|
|
{
|
|
"folder": null,
|
|
"id": "4684c2fa-f38c-c193-5f55-bf563a1978c6",
|
|
"name": "DELETE http://localhost:5000/posts/1",
|
|
"dataMode": "params",
|
|
"data": null,
|
|
"rawModeData": null,
|
|
"descriptionFormat": "html",
|
|
"description": "",
|
|
"headers": "",
|
|
"method": "DELETE",
|
|
"pathVariables": {},
|
|
"url": "http://localhost:5000/posts/1",
|
|
"preRequestScript": null,
|
|
"tests": null,
|
|
"currentHelper": "normal",
|
|
"helperAttributes": {},
|
|
"collectionId": "4dbde9fe-89f5-be35-bb9f-d3b438e16375"
|
|
},
|
|
{
|
|
"id": "5f308240-79e3-cf74-7a6b-fe462f0d54f1",
|
|
"headers": "Authorization: Bearer {{AccessToken}}\n",
|
|
"url": "http://localhost:5000/administration/.well-known/openid-configuration",
|
|
"preRequestScript": null,
|
|
"pathVariables": {},
|
|
"method": "GET",
|
|
"data": null,
|
|
"dataMode": "params",
|
|
"tests": null,
|
|
"currentHelper": "normal",
|
|
"helperAttributes": "{}",
|
|
"time": 1488038888813,
|
|
"name": "GET http://localhost:5000/admin/.well-known/openid-configuration",
|
|
"description": "",
|
|
"collectionId": "4dbde9fe-89f5-be35-bb9f-d3b438e16375",
|
|
"folder": null,
|
|
"rawModeData": null,
|
|
"descriptionFormat": null,
|
|
"queryParams": [],
|
|
"headerData": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "Bearer {{AccessToken}}",
|
|
"description": "",
|
|
"enabled": true
|
|
}
|
|
],
|
|
"pathVariableData": []
|
|
},
|
|
{
|
|
"id": "a1c95935-ed18-d5dc-bcb8-a3db8ba1934f",
|
|
"folder": null,
|
|
"name": "GET http://localhost:5000/posts",
|
|
"dataMode": "params",
|
|
"data": [
|
|
{
|
|
"key": "client_id",
|
|
"value": "admin",
|
|
"type": "text",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"key": "client_secret",
|
|
"value": "secret",
|
|
"type": "text",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"key": "scope",
|
|
"value": "admin",
|
|
"type": "text",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "admin",
|
|
"type": "text",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "admin",
|
|
"type": "text",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"key": "grant_type",
|
|
"value": "password",
|
|
"type": "text",
|
|
"enabled": true
|
|
}
|
|
],
|
|
"rawModeData": null,
|
|
"descriptionFormat": "html",
|
|
"description": "",
|
|
"headers": "",
|
|
"method": "POST",
|
|
"pathVariables": {},
|
|
"url": "http://localhost:5000/admin/configuration",
|
|
"preRequestScript": null,
|
|
"tests": null,
|
|
"currentHelper": "normal",
|
|
"helperAttributes": "{}",
|
|
"collectionId": "4dbde9fe-89f5-be35-bb9f-d3b438e16375"
|
|
},
|
|
{
|
|
"folder": null,
|
|
"id": "c4494401-3985-a5bf-71fb-6e4171384ac6",
|
|
"name": "GET http://localhost:5000/posts/1/comments",
|
|
"dataMode": "params",
|
|
"data": null,
|
|
"rawModeData": null,
|
|
"descriptionFormat": "html",
|
|
"description": "",
|
|
"headers": "",
|
|
"method": "GET",
|
|
"pathVariables": {},
|
|
"url": "http://localhost:5000/posts/1/comments",
|
|
"preRequestScript": null,
|
|
"tests": null,
|
|
"currentHelper": "normal",
|
|
"helperAttributes": {},
|
|
"collectionId": "4dbde9fe-89f5-be35-bb9f-d3b438e16375"
|
|
},
|
|
{
|
|
"folder": null,
|
|
"id": "c45d30d7-d9c4-fa05-8110-d6e769bb6ff9",
|
|
"name": "PATCH http://localhost:5000/posts/1",
|
|
"dataMode": "raw",
|
|
"data": [],
|
|
"descriptionFormat": "html",
|
|
"description": "",
|
|
"headers": "",
|
|
"method": "PATCH",
|
|
"pathVariables": {},
|
|
"url": "http://localhost:5000/posts/1",
|
|
"preRequestScript": null,
|
|
"tests": null,
|
|
"currentHelper": "normal",
|
|
"helperAttributes": {},
|
|
"collectionId": "4dbde9fe-89f5-be35-bb9f-d3b438e16375",
|
|
"rawModeData": "{\n \"title\": \"gfdgsgsdgsdfgsdfgdfg\",\n}"
|
|
},
|
|
{
|
|
"folder": null,
|
|
"id": "e8825dc3-4137-99a7-0000-ef5786610dc3",
|
|
"name": "POST http://localhost:5000/posts/1",
|
|
"dataMode": "raw",
|
|
"data": [],
|
|
"descriptionFormat": "html",
|
|
"description": "",
|
|
"headers": "",
|
|
"method": "POST",
|
|
"pathVariables": {},
|
|
"url": "http://localhost:5000/posts",
|
|
"preRequestScript": null,
|
|
"tests": null,
|
|
"currentHelper": "normal",
|
|
"helperAttributes": {},
|
|
"collectionId": "4dbde9fe-89f5-be35-bb9f-d3b438e16375",
|
|
"rawModeData": "{\n \"userId\": 1,\n \"title\": \"test\",\n \"body\": \"test\"\n}"
|
|
},
|
|
{
|
|
"folder": null,
|
|
"id": "ea0ed57a-2cb9-8acc-47dd-006b8db2f1b2",
|
|
"name": "GET http://localhost:5000/posts/1",
|
|
"dataMode": "params",
|
|
"data": null,
|
|
"rawModeData": null,
|
|
"descriptionFormat": "html",
|
|
"description": "",
|
|
"headers": "",
|
|
"method": "GET",
|
|
"pathVariables": {},
|
|
"url": "http://localhost:5000/posts/1",
|
|
"preRequestScript": null,
|
|
"tests": null,
|
|
"currentHelper": "normal",
|
|
"helperAttributes": {},
|
|
"collectionId": "4dbde9fe-89f5-be35-bb9f-d3b438e16375"
|
|
},
|
|
{
|
|
"folder": null,
|
|
"id": "fddfc4fa-5114-69e3-4744-203ed71a526b",
|
|
"name": "PUT http://localhost:5000/posts/1",
|
|
"dataMode": "raw",
|
|
"data": [],
|
|
"descriptionFormat": "html",
|
|
"description": "",
|
|
"headers": "",
|
|
"method": "PUT",
|
|
"pathVariables": {},
|
|
"url": "http://localhost:5000/posts/1",
|
|
"preRequestScript": null,
|
|
"tests": null,
|
|
"currentHelper": "normal",
|
|
"helperAttributes": {},
|
|
"collectionId": "4dbde9fe-89f5-be35-bb9f-d3b438e16375",
|
|
"rawModeData": "{\n \"userId\": 1,\n \"title\": \"test\",\n \"body\": \"test\"\n}"
|
|
}
|
|
]
|
|
} |