From ae10fed61b0bea5ef583f43f4a8edd981a98f713 Mon Sep 17 00:00:00 2001 From: Russell Orf Date: Wed, 11 May 2016 15:19:21 -0400 Subject: [PATCH] Updating Postman collection for pz-gateway to include the 'Authorization' HTTP header for authentication. --- ...0API%20Stage%20AWM.json.postman_collection | 606 +++++++++--------- 1 file changed, 303 insertions(+), 303 deletions(-) diff --git a/ci/postman/Gateway%20API%20Stage%20AWM.json.postman_collection b/ci/postman/Gateway%20API%20Stage%20AWM.json.postman_collection index 8f972fe..3fe8b3d 100644 --- a/ci/postman/Gateway%20API%20Stage%20AWM.json.postman_collection +++ b/ci/postman/Gateway%20API%20Stage%20AWM.json.postman_collection @@ -1,197 +1,211 @@ { - "id": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "id": "70ee2486-774e-a407-e489-e2e61e5f426a", "name": "Gateway API Stage AWM", "description": "omit abort job - job done before quitting and sends a status message 500 - this is not an error\n\nomit Get deployment - ask patrick about this one\n\ntriggers, events, and alerts are all null - not all settings tested", "order": [ - "6696ff39-f7a9-f071-15c1-a31639e534d2", - "5b35921d-2ebc-ae2b-3eef-dd5337be4f28", - "5db2a03f-c53b-289c-9fb0-2933ae6f3288", - "3bada7c7-01ef-b66d-4857-9a1a47a16a72", - "a2488462-b4fa-4556-aed8-f3a2e9d9cbfd", - "eb341e6e-f04c-0ce5-f38a-74b2002f6909", - "d1a7a233-c080-e54d-0fad-3c1ce44cc5a5", - "65e20a36-75eb-3abe-828f-49c14dc2ade5", - "7075308a-5a70-e7ec-b6fd-6b9ddd43a8c4", - "3b30ed99-002d-658b-1a00-362c6906ad7e", - "10911420-682f-7b1c-501b-314890343da7", - "06df0fe2-0fe3-cc10-f99b-5933ef8e0078", - "773c0b2a-936d-b1cc-66f5-a7db79c70a47", - "81df343f-e232-af78-a62d-fb317eed41fa", - "d80c6a73-b2b1-4273-756e-fc8873a50cbf", - "cf5ec483-e20c-f4d5-81c5-4d4031a5d5bc", - "4bd8de22-b8f9-a7a7-c2f7-7e6291adab49", - "0b48884d-b638-3888-0157-c5c6e1360ad1", - "b9abd531-0bed-7956-5085-ff04a38413dd", - "12be6543-28b7-53cd-7a1d-bef7ad329492", - "83652d64-01b4-d224-0c43-a6190e686a76", - "462ec422-3350-9081-3df9-e20362a48195", - "53bd302e-fbd7-7446-c20b-77ec1a0235f2", - "899bc94a-62b7-1dd9-0c8d-0419f1a56e28", - "4c5f293a-13b9-d7af-c8e4-41bf836e4cf1", - "e51ed116-3c7e-d0bd-368c-40a67caed1e8", - "ded0ec7e-0ade-3908-f418-06d4eb6c3459", - "e0979c97-a77c-48cc-06bb-9bb91c6b3542", - "c375e058-dfe5-b5e2-eb43-6e1d0974630c" + "094a7d03-6e95-0299-10ae-89309de12cd0", + "181909e2-1107-ffbf-34f5-4b1bb2515a08", + "83ebe6af-ae79-d33b-4dd2-723eafe3d875", + "f880527c-97db-dff5-f611-ba37f881b7ef", + "9bc15cd5-452b-170e-cbad-201efc2046b1", + "4f6d651d-0300-5a44-180d-0143e5ef8bd5", + "3aaccdc1-406d-08c7-1ec5-b30d52ac6e08", + "293ac7ae-a44f-11d4-8f78-d97f7cb5928e", + "8ae133ce-adca-3a61-eca7-cd477ab9ed47", + "8ce21ca2-9c28-89fd-b669-44a933de8ac8", + "b9e3a318-2584-5639-1469-9dae10288402", + "1c5cd0c5-e4ce-7027-dcd7-9ed8af4a77a9", + "cafc7c5f-27ff-97e4-79c5-b1a26699d48e", + "931ace2e-2926-76cd-4d84-9cdf855b77e6", + "e927b40e-ad0c-8794-2190-4cc28047b812", + "bdf1b7da-9ade-27f2-fe48-179c1bc33b42", + "717484cd-990e-7281-6db7-71bf07a30a2b", + "b1d407be-d3af-cdac-86df-fefc9eda17cb", + "a183176f-8a5f-04fd-88c9-3138448bfcc5", + "3943f6b6-dc18-9285-3d50-d01c8fbb2af3", + "43af5d94-4c78-879e-5bd5-9ac0895b346a", + "fd42f9bf-b1b2-94fb-9f68-67d620693a33", + "9a169ccd-9a94-024f-38c2-df6a8fb0d21a", + "dba89005-4961-194d-fdf6-307a436ee95b", + "59bdb75b-b050-2812-902a-1dd6f7426861", + "9885edc0-d195-f08d-bcd1-2760edc6662e", + "428701b6-e832-b897-2163-ac6187797400", + "a355268e-b9d9-45c8-74bf-4a79efd54027", + "57b16207-0572-a32f-7e6b-dec33a9fea95" ], "folders": [], "timestamp": 1461430432418, - "owner": "300577", - "remoteLink": "", + "owner": "342702", "public": false, + "hasRequests": true, "requests": [ { - "id": "06df0fe2-0fe3-cc10-f99b-5933ef8e0078", - "headers": "", + "id": "094a7d03-6e95-0299-10ae-89309de12cd0", + "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", "url": "https://pz-gateway.stage.geointservices.io/service", "preRequestScript": null, "pathVariables": {}, - "method": "GET", - "data": null, - "dataMode": "params", + "method": "POST", + "data": [], + "dataMode": "raw", "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", + "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"resourceId\",data.serviceId)\npostman.setEnvironmentVariable(\"serviceId\",data.serviceId)", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461433101533, - "name": "Query Services", + "time": 1462993948730, + "name": "Register Service", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", - "responses": [] + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", + "responses": [], + "rawModeData": "{\n\t\"name\": \"pz-svcs-prevgen_test\",\n\t\"inputs\": [{\n\t\t\"name\": \"BODY\",\n\t\t\"minOccurs\": 1,\n\t\t\"maxOccurs\": 1,\n\t\t\"dataType\": {\n\t\t\t\"type\": \"body\"\n\t\t},\n\t\t\"metadata\": null,\n\t\t\"formats\": [{\n\t\t\t\"mimeType\": \"application/json\",\n\t\t\t\"encoding\": null,\n\t\t\t\"schema\": null,\n\t\t\t\"maximumMegabytes\": null,\n\t\t\t\"dataType\": null\n\t\t}]\n\t}],\n\t\"outputs\": [{\n\t\t\"name\": \"RasterDataType\",\n\t\t\"minOccurs\": 1,\n\t\t\"maxOccurs\": 1,\n\t\t\"dataType\": {\n\t\t\t\"mimeType\": \"application/json\",\n\t\t\t\"type\": \"raster\"\n\t\t},\n\t\t\"metadata\": {\n\t\t\t\"about\": \"RasterDataType\",\n\t\t\t\"href\": null,\n\t\t\t\"role\": null,\n\t\t\t\"title\": \"location information of raster info\"\n\t\t},\n\t\t\"formats\": [{\n\t\t\t\"mimeType\": \"application/json\",\n\t\t\t\"encoding\": null,\n\t\t\t\"schema\": null,\n\t\t\t\"maximumMegabytes\": null,\n\t\t\t\"dataType\": null\n\t\t}]\n\t}],\n\t\"resourceMetadata\": {\n\t\t\"name\": \"pz-svcs-prevgen\",\n\t\t\"description\": \"Service that takes payload containing S3 location and bounding box for some raster file, downloads, crops and uploads the crop back up to s3.\",\n\t\t\"url\": \"https://pz-svcs-prevgen.stage.geointservices.io/crop\",\n\t\t\"method\": \"POST\"\n\t}\n}" }, { - "id": "0b48884d-b638-3888-0157-c5c6e1360ad1", - "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\n", - "url": "https://pz-gateway.stage.geointservices.io/alert/", + "id": "181909e2-1107-ffbf-34f5-4b1bb2515a08", + "headers": "Content-Type: application/json\nsize: 30\nkey: stamp\norder: true\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/v2/job", "preRequestScript": null, "pathVariables": {}, - "method": "GET", - "data": null, - "dataMode": "params", - "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", + "method": "POST", + "data": [], + "dataMode": "raw", + "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"jobId\",data.jobId)", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461433810664, - "name": "Get Alert", + "time": 1462993965829, + "name": "Execute Job", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", - "responses": [] + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", + "responses": [], + "rawModeData": "{\n\t\"data\": {\n\t\t\"dataInputs\": {\n\t\t\t\"\": {\n\t\t\t\t\"content\": \"cmd=shoreline --image LC80340432016061LGN00_B3.TIF,LC80340432016061LGN00_B6.TIF&inFiles=8cac8caa-cbdc-46fa-8e55-fa507522efc6,13299df7-37b5-445e-bc06-70c26c3e72c2&outGeoJson=BF_20160412144633012.geojson\",\n\t\t\t\t\"type\": \"text\"\n\t\t\t}\n\t\t},\n\t\t\"serviceId\": \"{{resourceId}}\"\n\t},\n\t\"type\": \"execute-service\"\n}" }, { - "id": "10911420-682f-7b1c-501b-314890343da7", - "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\n", - "url": "https://pz-gateway.stage.geointservices.io/trigger", + "id": "1c5cd0c5-e4ce-7027-dcd7-9ed8af4a77a9", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/service", "preRequestScript": null, "pathVariables": {}, "method": "GET", "data": null, "dataMode": "params", + "version": 2, "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461433525755, - "name": "Get Triggers", + "time": 1462994039796, + "name": "Query Services", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "12be6543-28b7-53cd-7a1d-bef7ad329492", - "headers": "", - "url": "https://pz-gateway.stage.geointservices.io/trigger/", + "id": "293ac7ae-a44f-11d4-8f78-d97f7cb5928e", + "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/event", "preRequestScript": null, "pathVariables": {}, "method": "GET", "data": null, "dataMode": "params", - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", + "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"eventtype_Id\",data[0].eventtype_id)\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\n", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461960947315, - "name": "Get Trigger", + "time": 1462994018189, + "name": "Get Events", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "3b30ed99-002d-658b-1a00-362c6906ad7e", - "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\n", - "url": "https://pz-gateway.stage.geointservices.io/alert", + "id": "3943f6b6-dc18-9285-3d50-d01c8fbb2af3", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/trigger/", "preRequestScript": null, "pathVariables": {}, "method": "GET", "data": null, "dataMode": "params", - "version": 2, "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461433542506, - "name": "Get Alerts", + "time": 1462994114809, + "name": "Get Trigger", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "3bada7c7-01ef-b66d-4857-9a1a47a16a72", - "headers": "Content-Type: application/json\n", - "url": "https://pz-gateway.stage.geointservices.io/data", + "id": "3aaccdc1-406d-08c7-1ec5-b30d52ac6e08", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/file/{{dataId}}", "preRequestScript": "", "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", + "method": "GET", + "data": [ + { + "key": "body", + "value": "{ \t\"userName\": \"my-api-key-38n987\", \"dataId\": \"627d2f0b-6c8f-441a-93e1-5a96953ee4a4\" }", + "type": "text", + "enabled": true + } + ], + "dataMode": "params", "version": 2, "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1462469755757, - "name": "Ingest External Raster", + "time": 1462994014141, + "name": "Download Data russell may4", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", - "responses": [], - "rawModeData": "{\n\t\"type\": \"ingest\",\n\t\"host\": \"false\",\n\t\"data\": {\n\t\t\"dataType\": {\n\t\t\t\"type\": \"raster\",\n\t\t\t\"location\": {\n\t\t\t\t\"type\": \"s3\",\n\t\t\t\t\"bucketName\": \"external-public-access-test\",\n\t\t\t\t\"fileName\": \"elevation.tif\",\n\t\t\t\t\"domainName\": \"s3.amazonaws.com\"\n\t\t\t}\n\t\t},\n\t\t\"metadata\": {\n\t\t\t\"name\": \"My Test raster external file\",\n\t\t\t\"description\": \"This is a test.\",\n\t\t\t\"classType\": \"unclassified\"\n\t\t}\n\t}\n}" + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", + "responses": [] }, { - "id": "462ec422-3350-9081-3df9-e20362a48195", - "headers": "", - "url": "https://pz-gateway.stage.geointservices.io/eventType", - "preRequestScript": null, + "id": "428701b6-e832-b897-2163-ac6187797400", + "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/job/{{jobId}}", + "preRequestScript": "", "pathVariables": {}, "method": "GET", - "data": null, + "data": [ + { + "key": "body", + "value": "{ \t\"userName\": \"my-api-key-38n987\", \"dataId\": \"627d2f0b-6c8f-441a-93e1-5a96953ee4a4\" }", + "type": "text", + "enabled": true + } + ], "dataMode": "params", + "version": 2, "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461434088444, - "name": "Query Event Types", + "time": 1462994147316, + "name": "Get Job Status", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "4bd8de22-b8f9-a7a7-c2f7-7e6291adab49", - "headers": "", - "url": "https://pz-gateway.stage.geointservices.io/alert", + "id": "43af5d94-4c78-879e-5bd5-9ac0895b346a", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/event", "preRequestScript": null, "pathVariables": {}, "method": "GET", "data": null, "dataMode": "params", - "version": 2, "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461960970315, - "name": "Query Alerts", + "time": 1462994119733, + "name": "Query Events", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "4c5f293a-13b9-d7af-c8e4-41bf836e4cf1", - "headers": "count-type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\n", + "id": "4f6d651d-0300-5a44-180d-0143e5ef8bd5", + "headers": "count-type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", "url": "https://pz-gateway.stage.geointservices.io/data/", "preRequestScript": "", "pathVariables": {}, @@ -206,113 +220,102 @@ ], "dataMode": "params", "version": 2, - "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"dataId\",data.data[0].dataId)\npostman.setEnvironmentVariable(\"type\",data.data[0].dataType.type)\n\n\n\n", + "tests": "\n\nvar data = JSON.parse(responseBody);\n\n\nfor (var i = 0; i<10; i++)\n {\n if (data.data[i].dataType.type == \"text\") {\n postman.setEnvironmentVariable(\"dataId\",data.data[i].dataId)\n postman.setEnvironmentVariable(\"type\",data.data[i].dataType.type)\n break;\n\t\n\t}\n }\n\n\n\n\n\n\n\n", "currentHelper": "normal", "helperAttributes": {}, - "time": 1462475104628, - "name": "Get Data", + "time": 1462994009682, + "name": "Get Data for download test", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "53bd302e-fbd7-7446-c20b-77ec1a0235f2", - "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\n", - "url": "https://pz-gateway.stage.geointservices.io/eventType/", + "id": "57b16207-0572-a32f-7e6b-dec33a9fea95", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/event/{{eventtype_Id}}/{{eventId}}", "preRequestScript": null, "pathVariables": {}, - "method": "GET", + "method": "DELETE", "data": null, "dataMode": "params", + "version": 2, "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1462470063734, - "name": "Get Event Type", + "time": 1462994155750, + "name": "Delete EventsId", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "5b35921d-2ebc-ae2b-3eef-dd5337be4f28", - "headers": "Content-Type: application/json\nsize: 30\nkey: stamp\norder: true\n", - "url": "https://pz-gateway.stage.geointservices.io/v2/job", - "preRequestScript": null, - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"jobId\",data.jobId)", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1461429969384, - "name": "Execute Job", - "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", - "responses": [], - "rawModeData": "{\n\t\"data\": {\n\t\t\"dataInputs\": {\n\t\t\t\"\": {\n\t\t\t\t\"content\": \"cmd=shoreline --image LC80340432016061LGN00_B3.TIF,LC80340432016061LGN00_B6.TIF&inFiles=8cac8caa-cbdc-46fa-8e55-fa507522efc6,13299df7-37b5-445e-bc06-70c26c3e72c2&outGeoJson=BF_20160412144633012.geojson\",\n\t\t\t\t\"type\": \"text\"\n\t\t\t}\n\t\t},\n\t\t\"serviceId\": \"{{resourceId}}\"\n\t},\n\t\"type\": \"execute-service\"\n}" - }, - { - "id": "5db2a03f-c53b-289c-9fb0-2933ae6f3288", - "headers": "Content-Type: application/json\n", - "url": "https://pz-gateway.stage.geointservices.io/data/query", + "id": "59bdb75b-b050-2812-902a-1dd6f7426861", + "headers": "count-type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/data/", "preRequestScript": "", "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", + "method": "GET", + "data": [ + { + "key": "body", + "value": "{ \t\"userName\": \"my-api-key-38n987\", \"dataId\": \"627d2f0b-6c8f-441a-93e1-5a96953ee4a4\" }", + "type": "text", + "enabled": true + } + ], + "dataMode": "params", "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", + "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"dataId\",data.data[0].dataId)\npostman.setEnvironmentVariable(\"type\",data.data[0].dataType.type)\n\n\n\n", "currentHelper": "normal", "helperAttributes": {}, - "time": 1462470296790, - "name": "Search Query", + "time": 1462994138395, + "name": "Get Data", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", - "responses": [], - "rawModeData": "{\n\t\"type\": \"search-query\",\n\t\"data\": {\n\t\t\"query\": {\n\t\t\t\"match\": {\n\t\t\t\t\"_all\": \"*\"\n\t\t\t}\n\t\t}\n\t}\n}" + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", + "responses": [] }, { - "id": "65e20a36-75eb-3abe-828f-49c14dc2ade5", - "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\n", - "url": "https://pz-gateway.stage.geointservices.io/event", + "id": "717484cd-990e-7281-6db7-71bf07a30a2b", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/alert", "preRequestScript": null, "pathVariables": {}, "method": "GET", "data": null, "dataMode": "params", - "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"eventtype_Id\",data[0].eventtype_id)\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\n", + "version": 2, + "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1462473260186, - "name": "Get Events", + "time": 1462994060285, + "name": "Query Alerts", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "6696ff39-f7a9-f071-15c1-a31639e534d2", - "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\n", - "url": "https://pz-gateway.stage.geointservices.io/service", - "preRequestScript": null, + "id": "83ebe6af-ae79-d33b-4dd2-723eafe3d875", + "headers": "Content-Type: application/json\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/data/query", + "preRequestScript": "", "pathVariables": {}, "method": "POST", "data": [], "dataMode": "raw", "version": 2, - "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"resourceId\",data.serviceId)\npostman.setEnvironmentVariable(\"serviceId\",data.serviceId)", + "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461429927612, - "name": "Register Service", + "time": 1462993982797, + "name": "Search Query", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [], - "rawModeData": "{\n\t\"name\": \"pz-svcs-prevgen_test\",\n\t\"inputs\": [{\n\t\t\"name\": \"BODY\",\n\t\t\"minOccurs\": 1,\n\t\t\"maxOccurs\": 1,\n\t\t\"dataType\": {\n\t\t\t\"type\": \"body\"\n\t\t},\n\t\t\"metadata\": null,\n\t\t\"formats\": [{\n\t\t\t\"mimeType\": \"application/json\",\n\t\t\t\"encoding\": null,\n\t\t\t\"schema\": null,\n\t\t\t\"maximumMegabytes\": null,\n\t\t\t\"dataType\": null\n\t\t}]\n\t}],\n\t\"outputs\": [{\n\t\t\"name\": \"RasterDataType\",\n\t\t\"minOccurs\": 1,\n\t\t\"maxOccurs\": 1,\n\t\t\"dataType\": {\n\t\t\t\"mimeType\": \"application/json\",\n\t\t\t\"type\": \"raster\"\n\t\t},\n\t\t\"metadata\": {\n\t\t\t\"about\": \"RasterDataType\",\n\t\t\t\"href\": null,\n\t\t\t\"role\": null,\n\t\t\t\"title\": \"location information of raster info\"\n\t\t},\n\t\t\"formats\": [{\n\t\t\t\"mimeType\": \"application/json\",\n\t\t\t\"encoding\": null,\n\t\t\t\"schema\": null,\n\t\t\t\"maximumMegabytes\": null,\n\t\t\t\"dataType\": null\n\t\t}]\n\t}],\n\t\"resourceMetadata\": {\n\t\t\"name\": \"pz-svcs-prevgen\",\n\t\t\"description\": \"Service that takes payload containing S3 location and bounding box for some raster file, downloads, crops and uploads the crop back up to s3.\",\n\t\t\"url\": \"https://pz-svcs-prevgen.stage.geointservices.io/crop\",\n\t\t\"method\": \"POST\"\n\t}\n}" + "rawModeData": "{\n\t\"type\": \"search-query\",\n\t\"data\": {\n\t\t\"query\": {\n\t\t\t\"match\": {\n\t\t\t\t\"_all\": \"*\"\n\t\t\t}\n\t\t}\n\t}\n}" }, { - "id": "7075308a-5a70-e7ec-b6fd-6b9ddd43a8c4", - "headers": "", + "id": "8ae133ce-adca-3a61-eca7-cd477ab9ed47", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", "url": "https://pz-gateway.stage.geointservices.io/eventType/{{eventtype_Id}}", "preRequestScript": null, "pathVariables": {}, @@ -322,16 +325,16 @@ "tests": "var data = JSON.parse(responseBody);\n\n\ntests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1462472678087, + "time": 1462994023914, "name": "Get Event Types", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "773c0b2a-936d-b1cc-66f5-a7db79c70a47", - "headers": "", - "url": "https://pz-gateway.stage.geointservices.io/service/{{serviceId}}", + "id": "8ce21ca2-9c28-89fd-b669-44a933de8ac8", + "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/alert", "preRequestScript": null, "pathVariables": {}, "method": "GET", @@ -341,15 +344,15 @@ "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461433116450, - "name": "Get Service", + "time": 1462994031372, + "name": "Get Alerts", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "81df343f-e232-af78-a62d-fb317eed41fa", - "headers": "Content-Type: application/json\n", + "id": "931ace2e-2926-76cd-4d84-9cdf855b77e6", + "headers": "Content-Type: application/json\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", "url": "https://pz-gateway.stage.geointservices.io/service/{{serviceId}}", "preRequestScript": null, "pathVariables": {}, @@ -360,54 +363,60 @@ "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461960977226, + "time": 1462994047818, "name": "Update Service", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [], "rawModeData": "{\n \"id\": \"21da1961-3b36-4825-aacf-50f0e9725ac9\",\n \"resourceMetadata\": {\n \"name\": \"The toLower Service\",\n \"description\": \"The bottom of the barrel\",\n \"url\": \"http://pz-servicecontroller.stage.geointservices.io/jumpstart/string/toLower\",\n \"availability\": \"OUT OF SERVICE\",\n \"method\": \"POST\"\n },\n \"inputs\": [\n {\n \"name\": \"aString\",\n \"minOccurs\": 1,\n \"maxOccurs\": 1,\n \"dataType\": {\n \"type\": \"urlparameter\"\n },\n \"metadata\": null,\n \"formats\": null\n }\n ],\n \"outputs\": [\n {\n \"name\": \"Lower Case message\",\n \"minOccurs\": 1,\n \"maxOccurs\": 1,\n \"dataType\": {\n \"type\": \"text\",\n \"mimeType\": \"application/json\"\n },\n \"metadata\": {\n \"about\": \"ConvertToLowerCase\",\n \"href\": null,\n \"role\": null,\n \"title\": \"Lower Case Text\"\n },\n \"formats\": [\n {\n \"mimeType\": \"application/json\",\n \"encoding\": null,\n \"schema\": null,\n \"maximumMegabytes\": null,\n \"dataType\": null\n }\n ]\n }\n ]\n }" }, { - "id": "83652d64-01b4-d224-0c43-a6190e686a76", - "headers": "", - "url": "https://pz-gateway.stage.geointservices.io/event", - "preRequestScript": null, + "id": "9885edc0-d195-f08d-bcd1-2760edc6662e", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/data", + "preRequestScript": "", "pathVariables": {}, "method": "GET", - "data": null, + "data": [ + { + "key": "body", + "value": "{ \t\"userName\": \"my-api-key-38n987\", \"dataId\": \"627d2f0b-6c8f-441a-93e1-5a96953ee4a4\" }", + "type": "text", + "enabled": true + } + ], "dataMode": "params", - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", + "version": 2, + "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"dataId\",data.data[0].dataId)\npostman.setEnvironmentVariable(\"type\",data.data[0].dataType.type)\npostman.setEnvironmentVariable(\"deploymenttype\",data.data[0].dataType.location.type)", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461594816846, - "name": "Query Events", + "time": 1462994142589, + "name": "Query Data", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "899bc94a-62b7-1dd9-0c8d-0419f1a56e28", - "headers": "", - "url": "https://pz-gateway.stage.geointservices.io/service/{{serviceId}}", + "id": "9a169ccd-9a94-024f-38c2-df6a8fb0d21a", + "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/eventType/", "preRequestScript": null, "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, + "method": "GET", + "data": null, + "dataMode": "params", "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461960932221, - "name": "Unregister Service", + "time": 1462994129273, + "name": "Get Event Type", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", - "responses": [], - "rawModeData": "{\n \"id\": \"21da1961-3b36-4825-aacf-50f0e9725ac9\",\n \"resourceMetadata\": {\n \"name\": \"The toLower Service\",\n \"description\": \"The bottom of the barrel\",\n \"url\": \"http://pz-servicecontroller.stage.geointservices.io/jumpstart/string/toLower\",\n \"availability\": \"OUT OF SERVICE\",\n \"method\": \"POST\"\n },\n \"inputs\": [\n {\n \"name\": \"aString\",\n \"minOccurs\": 1,\n \"maxOccurs\": 1,\n \"dataType\": {\n \"type\": \"urlparameter\"\n },\n \"metadata\": null,\n \"formats\": null\n }\n ],\n \"outputs\": [\n {\n \"name\": \"Lower Case message\",\n \"minOccurs\": 1,\n \"maxOccurs\": 1,\n \"dataType\": {\n \"type\": \"text\",\n \"mimeType\": \"application/json\"\n },\n \"metadata\": {\n \"about\": \"ConvertToLowerCase\",\n \"href\": null,\n \"role\": null,\n \"title\": \"Lower Case Text\"\n },\n \"formats\": [\n {\n \"mimeType\": \"application/json\",\n \"encoding\": null,\n \"schema\": null,\n \"maximumMegabytes\": null,\n \"dataType\": null\n }\n ]\n }\n ]\n }" + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", + "responses": [] }, { - "id": "a2488462-b4fa-4556-aed8-f3a2e9d9cbfd", - "headers": "Content-Type: application/json\n", + "id": "9bc15cd5-452b-170e-cbad-201efc2046b1", + "headers": "Content-Type: application/json\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", "url": "https://pz-gateway.stage.geointservices.io/deployment", "preRequestScript": "", "pathVariables": {}, @@ -418,16 +427,16 @@ "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461960459567, + "time": 1462994005562, "name": "Create Deployment", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [], "rawModeData": "{\r\n \"dataId\":\"{{dataId}}\",\r\n \"deploymentType\": \"{{deploymenttype}}\",\r\n \"type\":\"access\"\r\n}" }, { - "id": "b9abd531-0bed-7956-5085-ff04a38413dd", - "headers": "", + "id": "a183176f-8a5f-04fd-88c9-3138448bfcc5", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", "url": "https://pz-gateway.stage.geointservices.io/trigger", "preRequestScript": null, "pathVariables": {}, @@ -437,191 +446,182 @@ "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461960955938, + "time": 1462994110577, "name": "Query Triggers", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "c375e058-dfe5-b5e2-eb43-6e1d0974630c", - "headers": "", - "url": "https://pz-gateway.stage.geointservices.io/event/{{eventtype_Id}}/{{eventId}}", + "id": "a355268e-b9d9-45c8-74bf-4a79efd54027", + "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/event/{{eventtype_Id}}", "preRequestScript": null, "pathVariables": {}, - "method": "DELETE", - "data": null, - "dataMode": "params", + "method": "POST", + "data": [], + "dataMode": "raw", "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", + "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"eventId\",data.id)\ntests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1462473730696, - "name": "Delete EventsId", + "time": 1462994151486, + "name": "Post Event eventtypid", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", - "responses": [] + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", + "responses": [], + "rawModeData": "{\r\n \"id\": \"AWM\",\r\n \"eventtype_id\": \"W0\",\r\n \"date\": \"2016-05-02T18:06:05.388Z\",\r\n \"data\": {}\r\n}" }, { - "id": "cf5ec483-e20c-f4d5-81c5-4d4031a5d5bc", - "headers": "", - "url": "https://pz-gateway.stage.geointservices.io/job/{{jobId}}", - "preRequestScript": "", + "id": "b1d407be-d3af-cdac-86df-fefc9eda17cb", + "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/alert/", + "preRequestScript": null, "pathVariables": {}, - "method": "PUT", - "data": [], + "method": "GET", + "data": null, "dataMode": "params", "version": 2, - "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"jobId\",data.jobId)", + "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461942607723, - "name": "Repeat Job", + "time": 1462994105691, + "name": "Get Alert", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "d1a7a233-c080-e54d-0fad-3c1ce44cc5a5", - "headers": "", - "url": "https://pz-gateway.stage.geointservices.io/file/{{dataId}}", - "preRequestScript": "", + "id": "b9e3a318-2584-5639-1469-9dae10288402", + "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/trigger", + "preRequestScript": null, "pathVariables": {}, "method": "GET", - "data": [ - { - "key": "body", - "value": "{ \t\"userName\": \"my-api-key-38n987\", \"dataId\": \"627d2f0b-6c8f-441a-93e1-5a96953ee4a4\" }", - "type": "text", - "enabled": true - } - ], + "data": null, "dataMode": "params", - "version": 2, "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1462470493663, - "name": "Download Data russell may4", + "time": 1462994035746, + "name": "Get Triggers", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "d80c6a73-b2b1-4273-756e-fc8873a50cbf", - "headers": "", + "id": "bdf1b7da-9ade-27f2-fe48-179c1bc33b42", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", "url": "https://pz-gateway.stage.geointservices.io/job/{{jobId}}", "preRequestScript": "", "pathVariables": {}, - "method": "DELETE", + "method": "PUT", "data": [], "dataMode": "params", "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", + "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"jobId\",data.jobId)", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461599051544, - "name": "Abort Job", + "time": 1462994056135, + "name": "Repeat Job", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "ded0ec7e-0ade-3908-f418-06d4eb6c3459", - "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\n", - "url": "https://pz-gateway.stage.geointservices.io/job/{{jobId}}", - "preRequestScript": "", + "id": "cafc7c5f-27ff-97e4-79c5-b1a26699d48e", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/service/{{serviceId}}", + "preRequestScript": null, "pathVariables": {}, "method": "GET", - "data": [ - { - "key": "body", - "value": "{ \t\"userName\": \"my-api-key-38n987\", \"dataId\": \"627d2f0b-6c8f-441a-93e1-5a96953ee4a4\" }", - "type": "text", - "enabled": true - } - ], + "data": null, "dataMode": "params", "version": 2, "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1462390310027, - "name": "Get Job Status", + "time": 1462994043861, + "name": "Get Service", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "e0979c97-a77c-48cc-06bb-9bb91c6b3542", - "headers": "Content-Type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\n", - "url": "https://pz-gateway.stage.geointservices.io/event/{{eventtype_Id}}", + "id": "dba89005-4961-194d-fdf6-307a436ee95b", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/service/{{serviceId}}", "preRequestScript": null, "pathVariables": {}, - "method": "POST", + "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, - "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"eventId\",data.id)\ntests[\"Status code is 200\"] = responseCode.code === 200;", + "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1462473151065, - "name": "Post Event eventtypid", + "time": 1462994134152, + "name": "Unregister Service", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [], - "rawModeData": "{\r\n \"id\": \"AWM\",\r\n \"eventtype_id\": \"W0\",\r\n \"date\": \"2016-05-02T18:06:05.388Z\",\r\n \"data\": {}\r\n}" + "rawModeData": "{\n \"id\": \"21da1961-3b36-4825-aacf-50f0e9725ac9\",\n \"resourceMetadata\": {\n \"name\": \"The toLower Service\",\n \"description\": \"The bottom of the barrel\",\n \"url\": \"http://pz-servicecontroller.stage.geointservices.io/jumpstart/string/toLower\",\n \"availability\": \"OUT OF SERVICE\",\n \"method\": \"POST\"\n },\n \"inputs\": [\n {\n \"name\": \"aString\",\n \"minOccurs\": 1,\n \"maxOccurs\": 1,\n \"dataType\": {\n \"type\": \"urlparameter\"\n },\n \"metadata\": null,\n \"formats\": null\n }\n ],\n \"outputs\": [\n {\n \"name\": \"Lower Case message\",\n \"minOccurs\": 1,\n \"maxOccurs\": 1,\n \"dataType\": {\n \"type\": \"text\",\n \"mimeType\": \"application/json\"\n },\n \"metadata\": {\n \"about\": \"ConvertToLowerCase\",\n \"href\": null,\n \"role\": null,\n \"title\": \"Lower Case Text\"\n },\n \"formats\": [\n {\n \"mimeType\": \"application/json\",\n \"encoding\": null,\n \"schema\": null,\n \"maximumMegabytes\": null,\n \"dataType\": null\n }\n ]\n }\n ]\n }" }, { - "id": "e51ed116-3c7e-d0bd-368c-40a67caed1e8", - "headers": "", - "url": "https://pz-gateway.stage.geointservices.io/data", + "id": "e927b40e-ad0c-8794-2190-4cc28047b812", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/job/{{jobId}}", "preRequestScript": "", "pathVariables": {}, - "method": "GET", - "data": [ - { - "key": "body", - "value": "{ \t\"userName\": \"my-api-key-38n987\", \"dataId\": \"627d2f0b-6c8f-441a-93e1-5a96953ee4a4\" }", - "type": "text", - "enabled": true - } - ], + "method": "DELETE", + "data": [], "dataMode": "params", "version": 2, - "tests": "var data = JSON.parse(responseBody);\npostman.setEnvironmentVariable(\"dataId\",data.data[0].dataId)\npostman.setEnvironmentVariable(\"type\",data.data[0].dataType.type)\npostman.setEnvironmentVariable(\"deploymenttype\",data.data[0].dataType.location.type)", + "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1461958764266, - "name": "Query Data", + "time": 1462994052046, + "name": "Abort Job", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] }, { - "id": "eb341e6e-f04c-0ce5-f38a-74b2002f6909", - "headers": "count-type: application/json\nsize: 30\nfrom: 0\nkey: stamp\norder: true\n", - "url": "https://pz-gateway.stage.geointservices.io/data/", + "id": "f880527c-97db-dff5-f611-ba37f881b7ef", + "headers": "Content-Type: application/json\nAuthorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/data", "preRequestScript": "", "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1462993999090, + "name": "Ingest External Raster", + "description": "", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", + "responses": [], + "rawModeData": "{\n\t\"type\": \"ingest\",\n\t\"host\": \"false\",\n\t\"data\": {\n\t\t\"dataType\": {\n\t\t\t\"type\": \"raster\",\n\t\t\t\"location\": {\n\t\t\t\t\"type\": \"s3\",\n\t\t\t\t\"bucketName\": \"external-public-access-test\",\n\t\t\t\t\"fileName\": \"elevation.tif\",\n\t\t\t\t\"domainName\": \"s3.amazonaws.com\"\n\t\t\t}\n\t\t},\n\t\t\"metadata\": {\n\t\t\t\"name\": \"My Test raster external file\",\n\t\t\t\"description\": \"This is a test.\",\n\t\t\t\"classType\": \"unclassified\"\n\t\t}\n\t}\n}" + }, + { + "id": "fd42f9bf-b1b2-94fb-9f68-67d620693a33", + "headers": "Authorization: Basic Y2l0ZXN0ZXI6Y2l0ZXN0ZXI=\n", + "url": "https://pz-gateway.stage.geointservices.io/eventType", + "preRequestScript": null, + "pathVariables": {}, "method": "GET", - "data": [ - { - "key": "body", - "value": "{ \t\"userName\": \"my-api-key-38n987\", \"dataId\": \"627d2f0b-6c8f-441a-93e1-5a96953ee4a4\" }", - "type": "text", - "enabled": true - } - ], + "data": null, "dataMode": "params", - "version": 2, - "tests": "\n\nvar data = JSON.parse(responseBody);\n\n\nfor (var i = 0; i<10; i++)\n {\n if (data.data[i].dataType.type == \"text\") {\n postman.setEnvironmentVariable(\"dataId\",data.data[i].dataId)\n postman.setEnvironmentVariable(\"type\",data.data[i].dataType.type)\n break;\n\t\n\t}\n }\n\n\n\n\n\n\n\n", + "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", "currentHelper": "normal", "helperAttributes": {}, - "time": 1462470897583, - "name": "Get Data for download test", + "time": 1462994124338, + "name": "Query Event Types", "description": "", - "collectionId": "19fee865-86e0-b4b3-ea9f-d884ed757834", + "collectionId": "70ee2486-774e-a407-e489-e2e61e5f426a", "responses": [] } ]