Commit cf8001ff authored by Denis Karpenok (EPAM)'s avatar Denis Karpenok (EPAM)
Browse files

Search test fix

parent 3e29b4bc
Pipeline #6840 failed with stages
in 8 seconds
{
"info": {
"_postman_id": "f56c099a-4ac7-44c1-abc0-e29a41cd815e",
"_postman_id": "36ef37ee-c915-4a6d-84e6-5169a58cdf2e",
"name": "Search API CI/CD v1.7",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
......@@ -14,7 +14,7 @@
{
"listen": "test",
"script": {
"id": "9526e94d-1dc2-4da1-a237-3f7a0b36b25a",
"id": "da5900b8-3c97-411e-a3db-c7e530326650",
"exec": [
"// this snippet extracts the new access and id tokens",
"// and puts them to environment variables",
......@@ -37,7 +37,7 @@
{
"listen": "prerequest",
"script": {
"id": "db546b8f-46a0-49c6-b6ff-2205d1956273",
"id": "cfe4364b-79ab-4355-a62d-ea89f1e6b1ba",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
......@@ -128,14 +128,11 @@
{
"listen": "test",
"script": {
"id": "4d12c8b1-601f-41b5-8deb-a0c31e09b973",
"id": "700666c2-164a-443f-ae9f-0a79c906cc71",
"exec": [
"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\");",
"});",
"",
"//get the record count",
"try {",
......@@ -169,7 +166,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"kind\" : \"opendes:osdu:well-master:0.2.1\",\n \"limit\" : 30,\n \"offset\" : 0,\n \"query\" : \"data.UWI:57*\",\n \"returnedFields\" : [ \"id\" ],\n \"queryAsOwner\" : false,\n \"spatialFilter\" : {\n \"field\": \"data.GeoLocation\",\n \"byBoundingBox\": {\n\t\t \"topLeft\": {\n\t\t \t\"longitude\": 4.9493408203125,\n \t\"latitude\": 52.859180945520826\n \t},\n \t\t\"bottomRight\": {\n \t\t\"longitude\": 5.1580810546875,\n \t\"latitude\": 52.75956761546834\n \t\t}\n \t}\n }\n \n}\n"
"raw": "{\n \"kind\" : \"{{data-partition-id}}:osdu:well-master:0.2.1\",\n \"limit\" : 30,\n \"offset\" : 0,\n \"query\" : \"data.UWI:57*\",\n \"returnedFields\" : [ \"id\" ],\n \"queryAsOwner\" : false,\n \"spatialFilter\" : {\n \"field\": \"data.GeoLocation\",\n \"byBoundingBox\": {\n\t\t \"topLeft\": {\n\t\t \t\"longitude\": 4.9493408203125,\n \t\"latitude\": 52.859180945520826\n \t},\n \t\t\"bottomRight\": {\n \t\t\"longitude\": 5.1580810546875,\n \t\"latitude\": 52.75956761546834\n \t\t}\n \t}\n }\n \n}\n"
},
"url": {
"raw": "https://{{SEARCH_HOST}}/query",
......@@ -190,7 +187,7 @@
{
"listen": "test",
"script": {
"id": "4ffa3644-a513-42ce-88f8-f5f0ded89d86",
"id": "53dcf7e1-4c76-463a-a99a-8e8626c96a4a",
"exec": [
"pm.test(\"Status code is 400\", function () {",
" pm.response.to.have.status(400);",
......@@ -222,7 +219,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"kind\" : \"opendes:osdu:wellbore-master:0.2.0\",\n \"limit\" : 30,\n \"queryinvalid\" : \"data.Basin:\\\"Ft. Worth\\\"\",\n \"returnedFields\" : [ \"data.dlLatLongWGS84\" ],\n \"queryAsOwner\" : false,\n \"spatialFilter\" : {\n \"field\" : \"data.dlLatLongWGS84\",\n \"byBoundingBox\" : {\n \"topLeft\" : {\n \"latitude\" : 34.742612,\n \"longitude\" : -101.074218\n },\n \"bottomRight\" : {\n \"latitude\" : 32.934928,\n \"longitude\" : -80.799072\n }\n }\n },\n \"offset\" : 0\n}\n"
"raw": "{\n \"kind\" : \"{{data-partition-id}}:osdu:wellbore-master:0.2.0\",\n \"limit\" : 30,\n \"queryinvalid\" : \"data.Basin:\\\"Ft. Worth\\\"\",\n \"returnedFields\" : [ \"data.dlLatLongWGS84\" ],\n \"queryAsOwner\" : false,\n \"spatialFilter\" : {\n \"field\" : \"data.dlLatLongWGS84\",\n \"byBoundingBox\" : {\n \"topLeft\" : {\n \"latitude\" : 34.742612,\n \"longitude\" : -101.074218\n },\n \"bottomRight\" : {\n \"latitude\" : 32.934928,\n \"longitude\" : -80.799072\n }\n }\n },\n \"offset\" : 0\n}\n"
},
"url": {
"raw": "https://{{SEARCH_HOST}}/query",
......@@ -243,7 +240,7 @@
{
"listen": "test",
"script": {
"id": "a0e0d2dc-c2d7-4127-a3f4-c1fa37c1ab5b",
"id": "9fa30199-3bc7-4467-b82f-546bf124a741",
"exec": [
"pm.test(\"Status code is 403\", function () {",
" pm.response.to.have.status(403);",
......@@ -275,7 +272,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"kind\" : \"opendes:osdu:wellbore-master:0.2.0\",\n \"limit\" : 30,\n \"query\" : \"data.Basin:\\\"Ft. Worth\\\"\",\n \"returnedFields\" : [ \"data.dlLatLongWGS84\" ],\n \"queryAsOwner\" : false,\n \"spatialFilter\" : {\n \"field\" : \"data.dlLatLongWGS84\",\n \"byBoundingBox\" : {\n \"topLeft\" : {\n \"latitude\" : 34.742612,\n \"longitude\" : -101.074218\n },\n \"bottomRight\" : {\n \"latitude\" : 32.934928,\n \"longitude\" : -80.799072\n }\n }\n },\n \"offset\" : 0\n}\n"
"raw": "{\n \"kind\" : \"{{data-partition-id}}:osdu:wellbore-master:0.2.0\",\n \"limit\" : 30,\n \"query\" : \"data.Basin:\\\"Ft. Worth\\\"\",\n \"returnedFields\" : [ \"data.dlLatLongWGS84\" ],\n \"queryAsOwner\" : false,\n \"spatialFilter\" : {\n \"field\" : \"data.dlLatLongWGS84\",\n \"byBoundingBox\" : {\n \"topLeft\" : {\n \"latitude\" : 34.742612,\n \"longitude\" : -101.074218\n },\n \"bottomRight\" : {\n \"latitude\" : 32.934928,\n \"longitude\" : -80.799072\n }\n }\n },\n \"offset\" : 0\n}\n"
},
"url": {
"raw": "https://{{SEARCH_HOST}}/query",
......@@ -296,7 +293,7 @@
{
"listen": "test",
"script": {
"id": "d465fa45-59ee-4c8b-a52d-efe902dc3174",
"id": "4d9ca688-fe52-44bd-88b7-585535568f94",
"exec": [
"pm.test(\"Status code is 502\", function () {",
" pm.response.to.have.status(502);",
......@@ -355,14 +352,11 @@
{
"listen": "test",
"script": {
"id": "58f2ef12-d009-43c4-94ff-55e17f37a96c",
"id": "72f5473c-89bb-4550-8228-d5f6684fd89d",
"exec": [
"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\");",
"});",
"",
"//console.log(pm.response.json().cursor);",
"try {",
......@@ -400,7 +394,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"cursor\": \"\",\n \"kind\" : \"opendes:osdu:well-master:0.2.1\",\n \"limit\" : 30,\n \"offset\" : 0,\n \"query\" : \"data.UWI:57*\",\n \"returnedFields\" : [ \"id\" ],\n \"queryAsOwner\" : false,\n \"spatialFilter\" : {\n \"field\": \"data.GeoLocation\",\n \"byBoundingBox\": {\n\t\t \"topLeft\": {\n\t\t \t\"longitude\": 4.9493408203125,\n \t\"latitude\": 52.859180945520826\n \t},\n \t\t\"bottomRight\": {\n \t\t\"longitude\": 5.1580810546875,\n \t\"latitude\": 52.75956761546834\n \t\t}\n \t}\n }\n \n}\n"
"raw": "{\n \"cursor\": \"\",\n \"kind\" : \"{{data-partition-id}}:osdu:well-master:0.2.1\",\n \"limit\" : 30,\n \"query\" : \"data.UWI:57*\",\n \"returnedFields\" : [ \"id\" ],\n \"queryAsOwner\" : false,\n \"spatialFilter\" : {\n \"field\": \"data.GeoLocation\",\n \"byBoundingBox\": {\n\t\t \"topLeft\": {\n\t\t \t\"longitude\": 4.9493408203125,\n \t\"latitude\": 52.859180945520826\n \t},\n \t\t\"bottomRight\": {\n \t\t\"longitude\": 5.1580810546875,\n \t\"latitude\": 52.75956761546834\n \t\t}\n \t}\n }\n \n}\n"
},
"url": {
"raw": "https://{{SEARCH_HOST}}/query_with_cursor",
......@@ -421,7 +415,7 @@
{
"listen": "test",
"script": {
"id": "4269b4a3-0ef2-49f4-8eb2-12a75c7a3da4",
"id": "f96b9406-b850-464f-ba64-fc0211a67fa4",
"exec": [
"pm.test(\"Status code is 400\", function () {",
" pm.response.to.have.status(400);",
......@@ -453,7 +447,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"cursor\": \"\",\n \"kind\" : \"opendes:osdu:wellbore-master:0.2.0\",\n \"limit\" : 30,\n \"queryinvalid\" : \"data.Basin:\\\"Ft. Worth\\\"\",\n \"returnedFields\" : [ \"data.dlLatLongWGS84\" ],\n \"queryAsOwner\" : false,\n \"spatialFilter\" : {\n \"field\" : \"data.dlLatLongWGS84\",\n \"byBoundingBox\" : {\n \"topLeft\" : {\n \"latitude\" : 34.742612,\n \"longitude\" : -101.074218\n },\n \"bottomRight\" : {\n \"latitude\" : 32.934928,\n \"longitude\" : -80.799072\n }\n }\n },\n \"offset\" : 0\n}\n"
"raw": "{\n \"cursor\": \"\",\n \"kind\" : \"{{data-partition-id}}:osdu:wellbore-master:0.2.0\",\n \"limit\" : 30,\n \"queryinvalid\" : \"data.Basin:\\\"Ft. Worth\\\"\",\n \"returnedFields\" : [ \"data.dlLatLongWGS84\" ],\n \"queryAsOwner\" : false,\n \"spatialFilter\" : {\n \"field\" : \"data.dlLatLongWGS84\",\n \"byBoundingBox\" : {\n \"topLeft\" : {\n \"latitude\" : 34.742612,\n \"longitude\" : -101.074218\n },\n \"bottomRight\" : {\n \"latitude\" : 32.934928,\n \"longitude\" : -80.799072\n }\n }\n },\n \"offset\" : 0\n}\n"
},
"url": {
"raw": "https://{{SEARCH_HOST}}/query_with_cursor",
......@@ -474,7 +468,7 @@
{
"listen": "test",
"script": {
"id": "cf41d3e2-33b9-4cb4-bc08-34ccfc91fc24",
"id": "0cc39b65-3cdf-4b1d-a432-fff0af83631b",
"exec": [
"pm.test(\"Status code is 403\", function () {",
" pm.response.to.have.status(403);",
......@@ -506,7 +500,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"cursor\": \"\",\n \"kind\" : \"opendes:osdu:wellbore-master:0.2.0\",\n \"limit\" : 30,\n \"query\" : \"data.Basin:\\\"Ft. Worth\\\"\",\n \"returnedFields\" : [ \"data.dlLatLongWGS84\" ],\n \"queryAsOwner\" : false,\n \"spatialFilter\" : {\n \"field\" : \"data.dlLatLongWGS84\",\n \"byBoundingBox\" : {\n \"topLeft\" : {\n \"latitude\" : 34.742612,\n \"longitude\" : -101.074218\n },\n \"bottomRight\" : {\n \"latitude\" : 32.934928,\n \"longitude\" : -80.799072\n }\n }\n },\n \"offset\" : 0\n}\n"
"raw": "{\n \"cursor\": \"\",\n \"kind\" : \"{{data-partition-id}}:osdu:wellbore-master:0.2.0\",\n \"limit\" : 30,\n \"query\" : \"data.Basin:\\\"Ft. Worth\\\"\",\n \"returnedFields\" : [ \"data.dlLatLongWGS84\" ],\n \"queryAsOwner\" : false,\n \"spatialFilter\" : {\n \"field\" : \"data.dlLatLongWGS84\",\n \"byBoundingBox\" : {\n \"topLeft\" : {\n \"latitude\" : 34.742612,\n \"longitude\" : -101.074218\n },\n \"bottomRight\" : {\n \"latitude\" : 32.934928,\n \"longitude\" : -80.799072\n }\n }\n }\n}\n"
},
"url": {
"raw": "https://{{SEARCH_HOST}}/query_with_cursor",
......@@ -527,7 +521,7 @@
{
"listen": "test",
"script": {
"id": "86958512-c947-4589-91c7-65648ab5cef3",
"id": "af1fe36d-e296-472c-bac3-b96f468652de",
"exec": [
"pm.test(\"Status code is 502\", function () {",
" pm.response.to.have.status(502);",
......@@ -589,14 +583,11 @@
{
"listen": "test",
"script": {
"id": "b4061992-d98c-44df-8de5-2a986cd3a575",
"id": "c2ee5778-73e8-408b-9ed2-44cdb1a7d512",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -644,7 +635,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.0\",\r\n \"query\": \"BIR*\"\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.0\",\r\n \"query\": \"BIR*\"\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -670,14 +661,11 @@
{
"listen": "test",
"script": {
"id": "245e365d-146c-472f-ab0f-73558de2462e",
"id": "75ffef8f-0d2f-45a4-9cc7-a1a6954b1a5d",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -719,7 +707,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"kind\": \"opendes:osdu:*:0.2.0\",\n \"query\": \"(BIR AND 0?)\"\n}\n",
"raw": "{\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.0\",\n \"query\": \"(BIR AND 0?)\"\n}\n",
"options": {
"raw": {
"language": "json"
......@@ -745,14 +733,11 @@
{
"listen": "test",
"script": {
"id": "b8685c6a-5845-4cdf-a07f-3b11576caa75",
"id": "aac42500-7ff7-4564-b770-580f19f77a6f",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -794,7 +779,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.0\",\r\n \"query\": \"data.Data.IndividualTypeProperties.FacilityName:EMM~\"\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.0\",\r\n \"query\": \"data.Data.IndividualTypeProperties.FacilityName:EMM~\"\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -827,14 +812,11 @@
{
"listen": "test",
"script": {
"id": "eb38957f-6ff6-43f5-84a8-a18ac072514b",
"id": "8b3fb8cb-2a95-424b-a88a-4d2b4f80be8a",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -868,7 +850,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.0\",\r\n \"query\": \"data.Data.IndividualTypeProperties.WellID:\\\"srn:master-data/Well:8690:\\\"\"\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.0\",\r\n \"query\": \"data.Data.IndividualTypeProperties.WellID:\\\"srn:master-data/Well:8690:\\\"\"\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -894,14 +876,11 @@
{
"listen": "test",
"script": {
"id": "bf3e0621-171f-4dcd-b8a4-40f7b44a3a95",
"id": "f55b2513-eba1-45d6-8192-b86b668055d6",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -935,7 +914,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.0\",\r\n \"query\": \"data.Data.IndividualTypeProperties.WellID:(\\\"srn:master-data/Well:\\\" AND 101?)\"\r\n}\r\n",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.0\",\r\n \"query\": \"data.Data.IndividualTypeProperties.WellID:(\\\"srn:master-data/Well:\\\" AND 101?)\"\r\n}\r\n",
"options": {
"raw": {
"language": "json"
......@@ -968,14 +947,11 @@
{
"listen": "test",
"script": {
"id": "1c2dfb09-1014-46ed-902c-51ad24bef676",
"id": "f2b764b8-b3f6-4e24-950e-9729b27e2a13",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -1009,7 +985,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.0\",\r\n \"query\": \"data.ResourceID:(\\\"srn:master-data/Well:8690:\\\" OR \\\"srn:master-data/Well:1000:\\\")\"\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.0\",\r\n \"query\": \"data.ResourceID:(\\\"srn:master-data/Well:8690:\\\" OR \\\"srn:master-data/Well:1000:\\\")\"\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -1035,14 +1011,11 @@
{
"listen": "test",
"script": {
"id": "14496536-5851-4c15-88f7-a382da8479f4",
"id": "2e23484c-b99e-43b8-af19-050d70c51867",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -1076,7 +1049,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.0\",\r\n \"query\": \"(data.ResourceID:(\\\"srn:master-data/Well:8690:\\\" OR \\\"srn:master-data/Well:1000:\\\")) AND (data.Data.IndividualTypeProperties.CountryID: \\\"srn:master-data/GeopoliticalEntity:Netherlands:\\\")\"\r\n}\r\n",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.0\",\r\n \"query\": \"(data.ResourceID:(\\\"srn:master-data/Well:8690:\\\" OR \\\"srn:master-data/Well:1000:\\\")) AND (data.Data.IndividualTypeProperties.CountryID: \\\"srn:master-data/GeopoliticalEntity:Netherlands:\\\")\"\r\n}\r\n",
"options": {
"raw": {
"language": "json"
......@@ -1102,14 +1075,11 @@
{
"listen": "test",
"script": {
"id": "9ad5e7b5-b117-4cd3-a7ef-166426aec89f",
"id": "3eb3b12a-bd0d-493f-9bd3-a41f71a51c4f",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -1143,7 +1113,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.1\",\r\n \"query\": \"(data.ResourceTypeID: \\\"srn:type:work-product-component/WellLog:\\\") AND (data.Data.IndividualTypeProperties.Curves.Mnemonic: GR)\"\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.1\",\r\n \"query\": \"(data.ResourceTypeID: \\\"srn:type:work-product-component/WellLog:\\\") AND (data.Data.IndividualTypeProperties.Curves.Mnemonic: GR)\"\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -1169,14 +1139,11 @@
{
"listen": "test",
"script": {
"id": "437bab32-cbe9-4ed9-9c10-aedd7f3dea56",
"id": "a4f41504-6091-4340-8069-8a80cf343fb2",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -1210,7 +1177,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.0\",\r\n \"query\": \"(data.Data.IndividualTypeProperties.WellboreID: \\\"srn:master-data/Wellbore:3687:\\\") AND (data.ResourceTypeID: (\\\"srn:type:work-product-component/WellboreTrajectory:\\\" OR \\\"srn:type:work-product-component/WellboreMarker:\\\"))\"\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.0\",\r\n \"query\": \"(data.Data.IndividualTypeProperties.WellboreID: \\\"srn:master-data/Wellbore:3687:\\\") AND (data.ResourceTypeID: (\\\"srn:type:work-product-component/WellboreTrajectory:\\\" OR \\\"srn:type:work-product-component/WellboreMarker:\\\"))\"\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -1243,14 +1210,11 @@
{
"listen": "test",
"script": {
"id": "3e8fc479-611c-4dd1-8823-a30e0eea19b3",
"id": "c3291520-4417-410d-b833-f510121a2d6e",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -1284,7 +1248,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.0\",\r\n \"query\": \"data.Data.IndividualTypeProperties.WellID:\\\"srn:master-data/Well:3687:\\\"\",\r\n \"offset\": 0,\r\n \"limit\": 1,\r\n \"sort\": {\r\n \"field\": [\"data.Data.IndividualTypeProperties.SequenceNumber\"],\r\n \"order\": [\"ASC\"]\r\n }\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.0\",\r\n \"query\": \"data.Data.IndividualTypeProperties.WellID:\\\"srn:master-data/Well:3687:\\\"\",\r\n \"offset\": 0,\r\n \"limit\": 1,\r\n \"sort\": {\r\n \"field\": [\"data.Data.IndividualTypeProperties.SequenceNumber\"],\r\n \"order\": [\"ASC\"]\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -1310,14 +1274,11 @@
{
"listen": "test",
"script": {
"id": "74165a7d-1584-4c41-ab02-ea1e422e9781",
"id": "ce79a2df-ccc5-4bff-a489-0f84a302d565",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -1351,7 +1312,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.0\",\r\n \"query\": \"data.Data.IndividualTypeProperties.WellID:\\\"srn:master-data/Well:3687:\\\"\",\r\n \"offset\": 1,\r\n \"limit\": 10,\r\n \"sort\": {\r\n \"field\": [\"data.Data.IndividualTypeProperties.SequenceNumber\"],\r\n \"order\": [\"ASC\"]\r\n } \r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.0\",\r\n \"query\": \"data.Data.IndividualTypeProperties.WellID:\\\"srn:master-data/Well:3687:\\\"\",\r\n \"offset\": 1,\r\n \"limit\": 10,\r\n \"sort\": {\r\n \"field\": [\"data.Data.IndividualTypeProperties.SequenceNumber\"],\r\n \"order\": [\"ASC\"]\r\n } \r\n}",
"options": {
"raw": {
"language": "json"
......@@ -1377,14 +1338,11 @@
{
"listen": "test",
"script": {
"id": "b439b96a-ea8d-41a3-a081-328607201dac",
"id": "64426317-4895-4f5d-935f-4c42d86d5d2f",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -1418,7 +1376,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.0\",\r\n \"query\": \"data.ResourceTypeID: \\\"srn:type:work-product-component/WellLog:\\\"\",\r\n \"returnedFields\": [\"data.ResourceID\", \"data.Data.IndividualTypeProperties.Name\"]\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.0\",\r\n \"query\": \"data.ResourceTypeID: \\\"srn:type:work-product-component/WellLog:\\\"\",\r\n \"returnedFields\": [\"data.ResourceID\", \"data.Data.IndividualTypeProperties.Name\"]\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -1444,14 +1402,11 @@
{
"listen": "test",
"script": {
"id": "e799151b-4308-45da-a1b8-2a510cf74ecf",
"id": "b4e6288d-9d86-4ec0-863f-a7d271a73cac",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -1485,7 +1440,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.0\",\r\n \"query\": \"data.Data.IndividualTypeProperties.WellID:\\\"srn:master-data/Well:3687:\\\"\",\r\n \"returnedFields\": [\"\"],\r\n \"limit\": 1\r\n}\r\n",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.0\",\r\n \"query\": \"data.Data.IndividualTypeProperties.WellID:\\\"srn:master-data/Well:3687:\\\"\",\r\n \"returnedFields\": [\"\"],\r\n \"limit\": 1\r\n}\r\n",
"options": {
"raw": {
"language": "json"
......@@ -1511,14 +1466,11 @@
{
"listen": "test",
"script": {
"id": "1579094a-b171-4726-b632-618040cfcef0",
"id": "7b022de9-e8a7-44f0-bcfd-66cf0ba53655",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -1552,7 +1504,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.0\",\r\n \"limit\": 1,\r\n \"aggregateBy\": \"kind\"\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.0\",\r\n \"limit\": 1,\r\n \"aggregateBy\": \"kind\"\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -1585,14 +1537,11 @@
{
"listen": "test",
"script": {
"id": "4de5f233-2dcc-4525-8754-15887c988fc3",
"id": "37c58a67-154d-486c-973c-044a67ffc80f",
"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",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
......@@ -1626,7 +1575,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:well-master:0.2.0\",\r\n \"spatialFilter\": {\r\n \"field\": \"data.GeoLocation\",\r\n \"byBoundingBox\": {\r\n\t\t\t\"topLeft\": {\r\n\t\t \t\"longitude\": 3.03738396,\r\n \"latitude\": 53.06290314\r\n \t},\r\n \t\t\"bottomRight\": {\r\n \t\t\"longitude\": 5.1580810546875,\r\n \t\"latitude\": 52.75956761546834\r\n \t\t}\r\n \t}\r\n }\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:well-master:0.2.0\",\r\n \"spatialFilter\": {\r\n \"field\": \"data.GeoLocation\",\r\n \"byBoundingBox\": {\r\n\t\t\t\"topLeft\": {\r\n\t\t \t\"longitude\": 3.03738396,\r\n \"latitude\": 53.06290314\r\n \t},\r\n \t\t\"bottomRight\": {\r\n \t\t\"longitude\": 5.1580810546875,\r\n \t\"latitude\": 52.75956761546834\r\n \t\t}\r\n \t}\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -1652,14 +1601,11 @@
{
"listen": "test",
"script": {
"id": "00e6c2b8-68d7-45ae-8746-c94150e7871e",
"id": "c15065b6-d584-4585-9dee-f0a6a8294b59",
"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",
"});\r",
"\r",