Commit 5725fb57 authored by Gwenola 's avatar Gwenola
Browse files

Update Postman Collection/06_CICD_Setup_SeismicWorkflow/Seismic CI-CD v1.5.postman_collection.json

parent 1ebdb692
Pipeline #4446 failed with stages
in 6 seconds
......@@ -617,7 +617,7 @@
}
],
"url": {
"raw": "https://{{STORAGE_HOST}}/query/kinds?Cursor&limit=1000",
"raw": "https://{{STORAGE_HOST}}/query/kinds?Cursor",
"protocol": "https",
"host": [
"{{STORAGE_HOST}}"
......@@ -630,10 +630,6 @@
{
"key": "Cursor",
"value": null
},
{
"key": "limit",
"value": "1000"
}
]
}
......@@ -716,7 +712,7 @@
"variable": [
{
"key": "kind",
"value": "{{data-partition-id}}:osdu:seismichorizon-wp:0.2.0"
"value": "{{data-partition-id}}:osdu:{{schemaNameSeismicHorizonWP}}-seismichorizon-wp-test:{{schema_version}}"
}
]
}
......@@ -1232,7 +1228,7 @@
"// Define the schema to be created via this API test.",
"// This schema is stored as a collection variable \"well_schema\" to be used in the body of this API call and reused in other tests later. ",
"var rand = _.random(999111111111, 999999999999);",
"var schemaNameSeismicHorizonWP= \"Test\" + rand;",
"var schemaNameSeismicHorizonWP= \"20200729Test\" + rand;",
"pm.environment.set(\"schemaNameSeismicHorizonWP\", schemaNameSeismicHorizonWP);",
"console.log(schemaNameSeismicHorizonWP);",
""
......@@ -1300,7 +1296,7 @@
"// Define the schema to be created via this API test.",
"// This schema is stored as a collection variable \"well_schema\" to be used in the body of this API call and reused in other tests later. ",
"var rand = _.random(999111111111, 999999999999);",
"var schemaNameSeismicHorizonWPC= \"Test\" + rand;",
"var schemaNameSeismicHorizonWPC= \"20200729Test\" + rand;",
"pm.environment.set(\"schemaNameSeismicHorizonWPC\", schemaNameSeismicHorizonWPC);",
"console.log(schemaNameSeismicHorizonWPC);",
""
......@@ -1751,7 +1747,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"kind\": \"{{data-partition-id}}:osdu:seismichorizon-wp:*\",\n \"limit\":5000,\n \"query\": \"\",\n \"returnedFields\": [\n \t\"id\"\n\t]\n}"
"raw": "{\n \"kind\": \"{{data-partition-id}}:osdu:{{schemaNameSeismicHorizonWP}}-seismichorizon-wp-test:{{schema_version}}\",\n \"limit\":5000,\n \"query\": \"\",\n \"returnedFields\": [\n \t\"id\"\n\t]\n}"
},
"url": {
"raw": "https://{{SEARCH_HOST}}/query",
......@@ -3218,7 +3214,7 @@
"response": []
},
{
"name": "44 Storage - Get new record for Seismic Horizon success scenario",
"name": "44a Storage - Get new record for Seismic Horizon success scenario",
"event": [
{
"listen": "test",
......@@ -3270,7 +3266,68 @@
"response": []
},
{
"name": "45 Storage - Get new record for Seismic Trace success scenario",
"name": "44b Storage - Get new record for Seismic Horizon success scenario [POST QUERY]",
"event": [
{
"listen": "test",
"script": {
"id": "e287ae0c-ea56-490a-9d74-512fc398ffbc",
"exec": [
"//Ensure there were no error codes in the API response",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"description": "This value should be the desired data partition id.",
"key": "data-partition-id",
"type": "text",
"value": "{{data-partition-id}}"
},
{
"key": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"records\": [\r\n \"{{SeismicHorizonRecordID}}\"\r\n ]\r\n}"
},
"url": {
"raw": "https://{{STORAGE_HOST}}/query/records",
"protocol": "https",
"host": [
"{{STORAGE_HOST}}"
],
"path": [
"query",
"records"
],
"query": [
{
"key": "attribute",
"value": "",
"description": "Filter attributes to restrict the returned fields of the record. Usage: data.{record-data-field-name}.",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "45a Storage - Get new record for Seismic Trace success scenario",
"event": [
{
"listen": "test",
......@@ -3322,7 +3379,68 @@
"response": []
},
{
"name": "46 Storage - Get new record for Seismic Acquisition Project sucess scenario",
"name": "45b Storage - Get new record for Seismic Trace success scenario [POST QUERY]",
"event": [
{
"listen": "test",
"script": {
"id": "5df5c5ab-4ba4-4c4f-a3fe-8ed58adc5665",
"exec": [
"//Ensure there were no error codes in the API response",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"description": "This value should be the desired data partition id.",
"key": "data-partition-id",
"type": "text",
"value": "{{data-partition-id}}"
},
{
"key": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"records\": [\r\n \"{{SeismicTraceRecordID}}\"\r\n ]\r\n}"
},
"url": {
"raw": "https://{{STORAGE_HOST}}/query/records",
"protocol": "https",
"host": [
"{{STORAGE_HOST}}"
],
"path": [
"query",
"records"
],
"query": [
{
"key": "attribute",
"value": "",
"description": "Filter attributes to restrict the returned fields of the record. Usage: data.{record-data-field-name}.",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "46a Storage - Get new record for Seismic Acquisition Project sucess scenario",
"event": [
{
"listen": "test",
......@@ -3374,7 +3492,68 @@
"response": []
},
{
"name": "47 Storage - Get new record for Seismic Interpretation Project sucess scenario",
"name": "46b Storage - Get new record for Seismic Acquisition Project success scenario [POST QUERY]",
"event": [
{
"listen": "test",
"script": {
"id": "00a93f13-f246-46a9-a95e-9f2c978e37fd",
"exec": [
"//Ensure there were no error codes in the API response",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"description": "This value should be the desired data partition id.",
"key": "data-partition-id",
"type": "text",
"value": "{{data-partition-id}}"
},
{
"key": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"records\": [\r\n \"{{SeismicAcquisitionProjectRecordID}}\"\r\n ]\r\n}"
},
"url": {
"raw": "https://{{STORAGE_HOST}}/query/records",
"protocol": "https",
"host": [
"{{STORAGE_HOST}}"
],
"path": [
"query",
"records"
],
"query": [
{
"key": "attribute",
"value": "",
"description": "Filter attributes to restrict the returned fields of the record. Usage: data.{record-data-field-name}.",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "47a Storage - Get new record for Seismic Interpretation Project sucess scenario",
"event": [
{
"listen": "test",
......@@ -3426,7 +3605,68 @@
"response": []
},
{
"name": "48 Storage - Get new record for Seismic Processing Project sucess scenario",
"name": "47b Storage - Get new record for Seismic Interpretation Project success scenario [POST QUERY]",
"event": [
{
"listen": "test",
"script": {
"id": "78ed6a40-b666-49b7-980a-a699205ca56a",
"exec": [
"//Ensure there were no error codes in the API response",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"description": "This value should be the desired data partition id.",
"key": "data-partition-id",
"type": "text",
"value": "{{data-partition-id}}"
},
{
"key": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"records\": [\r\n \"{{SeismicInterpretationProjectRecordID}}\"\r\n ]\r\n}"
},
"url": {
"raw": "https://{{STORAGE_HOST}}/query/records",
"protocol": "https",
"host": [
"{{STORAGE_HOST}}"
],
"path": [
"query",
"records"
],
"query": [
{
"key": "attribute",
"value": "",
"description": "Filter attributes to restrict the returned fields of the record. Usage: data.{record-data-field-name}.",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "48a Storage - Get new record for Seismic Processing Project sucess scenario",
"event": [
{
"listen": "test",
......@@ -3477,6 +3717,67 @@
},
"response": []
},
{
"name": "48b Storage - Get new record for Seismic Processing Project success scenario [POST QUERY]",
"event": [
{
"listen": "test",
"script": {
"id": "a1a70249-bb2a-4baa-9369-5c4bc4e4eede",
"exec": [
"//Ensure there were no error codes in the API response",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"description": "This value should be the desired data partition id.",
"key": "data-partition-id",
"type": "text",
"value": "{{data-partition-id}}"
},
{
"key": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"records\": [\r\n \"{{SeismicProcessingProjectRecordID}}\"\r\n ]\r\n}"
},
"url": {
"raw": "https://{{STORAGE_HOST}}/query/records",
"protocol": "https",
"host": [
"{{STORAGE_HOST}}"
],
"path": [
"query",
"records"
],
"query": [
{
"key": "attribute",
"value": "",
"description": "Filter attributes to restrict the returned fields of the record. Usage: data.{record-data-field-name}.",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "49 Search - Count Seismic Horizon wp Records after ingestion",
"event": [
......
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