Commit 7ea67622 authored by Kamlesh Todai's avatar Kamlesh Todai
Browse files

Add delete legal tag in Wellbore DDMS to clean up after test. Add List all...

Add delete legal tag in Wellbore DDMS to clean up after test. Add List all available schema entities test request in schema API collection
parent c3646464
Pipeline #64493 passed with stages
in 2 minutes and 5 seconds
{
"info": {
"_postman_id": "2ae4b1dd-e010-415a-a382-2f7729a35d4f",
"_postman_id": "2c2e0836-eaab-45e3-b2f3-59b247393b95",
"name": "Schema API CI/CD v1.0",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
......@@ -1766,6 +1766,94 @@
]
}
]
},
{
"name": "List All available Schema entities",
"item": [
{
"name": "26 List all available schema entities success scenario",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"pm.test(\"Status description - OK\", function () {\r",
" pm.response.to.have.status(\"OK\");\r",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"type": "text",
"value": "application/json"
},
{
"key": "data-partition-id",
"type": "text",
"value": "{{data-partition-id}}"
}
],
"url": {
"raw": "https://{{SCHEMA_HOST}}/api/schema-service/v1/schema?limit=10000",
"protocol": "https",
"host": [
"{{SCHEMA_HOST}}"
],
"path": [
"api",
"schema-service",
"v1",
"schema"
],
"query": [
{
"key": "entityType",
"value": "testEntity",
"disabled": true
},
{
"key": "status",
"value": null,
"description": "PUBLISHED,DEVELOPMENT,OBSOLETE",
"disabled": true
},
{
"key": "scope",
"value": null,
"description": "SHARED,INTERNAL",
"disabled": true
},
{
"key": "latestVersion",
"value": null,
"description": "True,False",
"disabled": true
},
{
"key": "offset",
"value": null,
"description": "int",
"disabled": true
},
{
"key": "limit",
"value": "10000"
}
]
}
},
"response": []
}
]
}
],
"auth": {
......
......@@ -1771,6 +1771,53 @@
}
},
"response": []
},
{
"name": "Legal - Delete a Legal tag created for Well",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Ensure the API was able to send a successful response",
"pm.test(\"Status code is 204\", function () {",
" pm.response.to.have.status(204);",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "DELETE",
"header": [
{
"description": "This value should be the desired data partition id.",
"key": "data-partition-id",
"type": "text",
"value": "{{data-partition-id}}"
}
],
"url": {
"raw": "https://{{LEGAL_HOST}}/legaltags/:name",
"protocol": "https",
"host": [
"{{LEGAL_HOST}}"
],
"path": [
"legaltags",
":name"
],
"variable": [
{
"key": "name",
"value": "{{tagName}}"
}
]
}
},
"response": []
}
]
}
......
Supports Markdown
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