Commit 182d7096 authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Added scripts for storage testing

parent e4e482c9
......@@ -232,6 +232,13 @@ Authorization: Bearer {{access_token}}
Accept: application/json
data-partition-id: {{data_partition_id}}
###
# @name GetRecordByKind
GET {{STORAGE_HOST}}/query/records?kind={{kind}}
Authorization: Bearer {{access_token}}
Accept: application/json
data-partition-id: {{data_partition_id}}
###
# @name searchRecord
......
......@@ -52,20 +52,23 @@ Authorization: Bearer {{access_token}}
Accept: application/json
data-partition-id: {{data_partition_id}}
###
# @name getSchemaWithLimit
GET {{STORAGE_HOST}}/query/kinds?limit=10
Authorization: Bearer {{access_token}}
Accept: application/json
data-partition-id: {{data_partition_id}}
@cursor = {{getSchemaWithLimit.response.body.cursor}}
###
# @name getAllSchemaOfKind
GET {{STORAGE_HOST}}/query/kinds
# @name getAllSchemaWithCursor
GET {{STORAGE_HOST}}/query/kinds?limit=10&cursor={{cursor}}
Authorization: Bearer {{access_token}}
Accept: application/json
data-partition-id: {{data_partition_id}}
{
"kind": "opendes:osdu:*:*",
"limit":1,
"offset":0,
"aggregateBy": "kind"
}
###
......@@ -450,6 +453,14 @@ Accept: application/json
data-partition-id: {{data_partition_id}}
###
# @name getRecordByKind
GET {{STORAGE_HOST}}/query/records?kind={{kind}}
Authorization: Bearer {{access_token}}
Accept: application/json
data-partition-id: {{data_partition_id}}
###
# @name deleteSchema
DELETE {{STORAGE_HOST}}/schemas/{{kind}}
......@@ -458,6 +469,13 @@ Accept: application/json
data-partition-id: {{data_partition_id}}
###
# @name GetRecordByKind
GET {{STORAGE_HOST}}/query/records?kind={{kind}}
Authorization: Bearer {{access_token}}
Accept: application/json
data-partition-id: {{data_partition_id}}
###
# @name GetRecord
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment