Added project

This commit is contained in:
2023-06-11 00:14:30 +03:00
parent a9048a9b39
commit 32c1d5fb0b
103 changed files with 9633 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
POST http://localhost:8080/rest/v1/graph/edges/create
Content-Type: application/json
Cache-Control: no-cache
{"nodeOne": "v6", "nodeTwo": "v7"}
###

View File

@@ -0,0 +1,15 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
POST http://localhost:8080/rest/v1/graph/edges/create/byBatch
Content-Type: application/json
Cache-Control: no-cache
[{"nodeOne": "v2", "nodeTwo": "v6"}, {"nodeOne": "v6", "nodeTwo": "v7"}, {"nodeOne": "v7", "nodeTwo": "v8"}]
###

View File

@@ -0,0 +1,13 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
DELETE http://localhost:8080/rest/v1/graph/edges
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,13 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
DELETE http://localhost:8080/rest/v1/graph/edges/byId/5005
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,13 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
DELETE http://localhost:8080/rest/v1/graph/edges/byName/v1
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,13 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
DELETE http://localhost:8080/rest/v1/graph/edges/byName?nodeOne=v3&nodeTwo=v4
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,12 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
GET http://localhost:8080/rest/v1/graph/edges/byId/5050
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,12 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
GET http://localhost:8080/rest/v1/graph/edges/byName?nodeOne=v1&nodeTwo=v2
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,12 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
GET http://localhost:8080/rest/v1/graph/edges
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,12 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
GET http://localhost:8080/rest/v1/graph/edges/byName/v1
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,15 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
POST http://localhost:8080/rest/v1/graph/nodes/create
Content-Type: application/json
Cache-Control: no-cache
{"name":"v6"}
###

View File

@@ -0,0 +1,15 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
POST http://localhost:8080/rest/v1/graph/nodes/create/byBatch
Content-Type: application/json
Cache-Control: no-cache
[{"name":"6"}, {"name":"v7"}, {"name":"v8"}]
###

View File

@@ -0,0 +1,13 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
DELETE http://localhost:8080/rest/v1/graph/nodes
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,13 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
DELETE http://localhost:8080/rest/v1/graph/nodes/byId/5010
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,13 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
DELETE http://localhost:8080/rest/v1/graph/nodes/byName/6
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,15 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
DELETE http://localhost:8080/rest/v1/graph/nodes/byObj
Content-Type: application/json
Cache-Control: no-cache
{"id": 5003, "name": "v4"}
###

View File

@@ -0,0 +1,12 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
GET http://localhost:8080/rest/v1/graph/nodes/byId/5000
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,12 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
GET http://localhost:8080/rest/v1/graph/nodes/byName/v1
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,12 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
GET http://localhost:8080/rest/v1/graph/nodes
Content-Type: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,41 @@
POST http://localhost:8080/rest/v1/graph/create
Content-Type: application/json
Cache-Control: no-cache
{
"nodes": [
{"name":"v1"},
{"name":"v2"},
{"name":"v3"},
{"name":"v4"},
{"name":"v5"},
{"name":"v6"},
{"name":"v7"},
{"name":"v8"},
{"name":"v9"},
{"name":"v10"}
],
"edges":[
{"nodeOne":"v1","nodeTwo":"v2"},
{"nodeOne":"v1","nodeTwo":"v3"},
{"nodeOne":"v1","nodeTwo":"v4"},
{"nodeOne":"v1","nodeTwo":"v5"},
{"nodeOne":"v2","nodeTwo":"v3"},
{"nodeOne":"v2","nodeTwo":"v4"},
{"nodeOne":"v2","nodeTwo":"v5"},
{"nodeOne":"v3","nodeTwo":"v4"},
{"nodeOne":"v3","nodeTwo":"v5"},
{"nodeOne":"v4","nodeTwo":"v5"},
{"nodeOne":"v6","nodeTwo":"v7"},
{"nodeOne":"v7","nodeTwo":"v8"},
{"nodeOne":"v8","nodeTwo":"v9"},
{"nodeOne":"v8","nodeTwo":"v10"},
{"nodeOne":"v9","nodeTwo":"v10"},
{"nodeOne":"v10","nodeTwo":"v7"}
]
}
<> 2019-04-05T122503.200.json
<> 2019-04-05T122347.405.html
###

View File

@@ -0,0 +1,27 @@
POST http://localhost:8080/rest/v1/graph/create
Content-Type: application/json
Cache-Control: no-cache
{
"nodes":[
{"name":"v1"},
{"name":"v2"},
{"name":"v3"},
{"name":"v4"},
{"name":"v5"}
],
"edges":[
{"nodeOne":"v1","nodeTwo":"v2"},
{"nodeOne":"v2","nodeTwo":"v3"},
{"nodeOne":"v3","nodeTwo":"v4"},
{"nodeOne":"v3","nodeTwo":"v5"},
{"nodeOne":"v5","nodeTwo":"v4"},
{"nodeOne":"v5","nodeTwo":"v2"}
]
}
<> 2019-04-04T124349.200.json
<> 2019-04-03T023130.200.json
###

View File

@@ -0,0 +1,16 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
POST http://localhost:8080/rest/v1/graph/checkroute
Content-Type: application/json
Cache-Control: no-cache
["v1", "v2", "v3"]
###

12
TestRESTful/getGraph.http Normal file
View File

@@ -0,0 +1,12 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
GET http://localhost:8080/rest/v1/graph/123
Content-Type: application/json
Cache-Control: no-cache
###

12
TestRESTful/graphViz.http Normal file
View File

@@ -0,0 +1,12 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
GET http://localhost:8080/rest/v1/graph/export
Content-Type: text/html
Cache-Control: no-cache
###

13
TestRESTful/options.http Normal file
View File

@@ -0,0 +1,13 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
OPTIONS http://localhost:8080/rest/v1/graph
Accept: application/json
Cache-Control: no-cache
###

View File

@@ -0,0 +1,12 @@
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
DELETE http://localhost:8080/rest/v1/graph
Content-Type: application/json
Cache-Control: no-cache
###