Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sacha Brants
infra-azure-provisioning
Commits
182d7096
Commit
182d7096
authored
Feb 10, 2021
by
Daniel Scholl
Browse files
Added scripts for storage testing
parent
e4e482c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
tools/rest/check.http
View file @
182d7096
...
...
@@ -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
...
...
tools/rest/storage.http
View file @
182d7096
...
...
@@ -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 getAllSchema
OfKind
GET {{STORAGE_HOST}}/query/kinds
# @name getAllSchema
WithCursor
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment