{ "uuid": "ad9505f2-94b0-4688-aa45-b6a5a59bbc30", "lastMigration": 29, "name": "HDInsightJobManagementClient", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "367451d7-a8aa-4562-9c09-e20dc70c741b", "documentation": "Submits a Hive job to an HDInsight cluster.", "method": "post", "endpoint": "templeton/v1/hive", "responses": [ { "uuid": "97eb433a-1662-49f0-9c16-ba809faf9963", "body": "", "latency": 0, "statusCode": 200, "label": "OK response definition.", "headers": [{ "key": "Content-Type", "value": "application/text" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7c3c48ed-b6ad-4ad2-85be-c1d0d26c740f", "body": "", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/text" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8b0e2023-3c1b-4bd8-8a25-1248907d598a", "documentation": "Gets the list of jobs from the specified HDInsight cluster.", "method": "get", "endpoint": "templeton/v1/jobs", "responses": [ { "uuid": "7b35981e-5b2a-4049-9266-00f8a43b34cf", "body": "[\n {\n \"detail\": {\n \"callback\": {},\n \"completed\": \"\",\n \"exitValue\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"msg\": {},\n \"parentId\": \"\",\n \"percentComplete\": \"\",\n \"profile\": {\n \"jobFile\": \"\",\n \"jobID\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"jtIdentifier\": \"\"\n },\n \"jobId\": \"\",\n \"jobName\": \"\",\n \"queueName\": \"\",\n \"url\": \"\",\n \"user\": \"\"\n },\n \"status\": {\n \"cleanupProgress\": {{faker 'number.float'}},\n \"failureInfo\": \"\",\n \"finishTime\": {{faker 'number.int' max=99999}},\n \"historyFile\": \"\",\n \"jobACLs\": \"\",\n \"jobComplete\": {{faker 'datatype.boolean'}},\n \"jobFile\": \"\",\n \"jobID\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"jtIdentifier\": \"\"\n },\n \"jobId\": \"\",\n \"jobName\": \"\",\n \"jobPriority\": \"\",\n \"mapProgress\": {{faker 'number.float'}},\n \"neededMem\": {{faker 'number.int' max=99999}},\n \"numReservedSlots\": {{faker 'number.int' max=99999}},\n \"numUsedSlots\": {{faker 'number.int' max=99999}},\n \"priority\": \"\",\n \"queue\": \"\",\n \"reduceProgress\": {{faker 'number.float'}},\n \"reservedMem\": {{faker 'number.int' max=99999}},\n \"retired\": {{faker 'datatype.boolean'}},\n \"runState\": {{faker 'number.int' max=99999}},\n \"schedulingInfo\": \"\",\n \"setupProgress\": {{faker 'number.float'}},\n \"startTime\": {{faker 'number.int' max=99999}},\n \"state\": \"\",\n \"trackingUrl\": \"\",\n \"uber\": {{faker 'datatype.boolean'}},\n \"usedMem\": {{faker 'number.int' max=99999}},\n \"username\": \"\"\n },\n \"user\": \"\",\n \"userargs\": {\n \"arg\": [\n \"\"\n ],\n \"callback\": {},\n \"define\": [\n \"\"\n ],\n \"enablelog\": \"\",\n \"execute\": \"\",\n \"file\": {},\n \"files\": {},\n \"jar\": \"\",\n \"statusdir\": {}\n }\n },\n \"id\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK response definition.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6b85e90c-4785-4c60-98f0-acdae99e2ee1", "body": "{\n \"error\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f3a7ee0f-f8a8-4b15-a704-a9699737ed81", "documentation": "Initiates cancel on given running job in the specified HDInsight.", "method": "delete", "endpoint": "templeton/v1/jobs/:jobId", "responses": [ { "uuid": "a8731d39-89ad-40db-b093-3322c9e4e0ca", "body": "{\n \"callback\": {},\n \"completed\": \"\",\n \"exitValue\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"msg\": {},\n \"parentId\": \"\",\n \"percentComplete\": \"\",\n \"profile\": {\n \"jobFile\": \"\",\n \"jobID\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"jtIdentifier\": \"\"\n },\n \"jobId\": \"\",\n \"jobName\": \"\",\n \"queueName\": \"\",\n \"url\": \"\",\n \"user\": \"\"\n },\n \"status\": {\n \"cleanupProgress\": {{faker 'number.float'}},\n \"failureInfo\": \"\",\n \"finishTime\": {{faker 'number.int' max=99999}},\n \"historyFile\": \"\",\n \"jobACLs\": \"\",\n \"jobComplete\": {{faker 'datatype.boolean'}},\n \"jobFile\": \"\",\n \"jobID\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"jtIdentifier\": \"\"\n },\n \"jobId\": \"\",\n \"jobName\": \"\",\n \"jobPriority\": \"\",\n \"mapProgress\": {{faker 'number.float'}},\n \"neededMem\": {{faker 'number.int' max=99999}},\n \"numReservedSlots\": {{faker 'number.int' max=99999}},\n \"numUsedSlots\": {{faker 'number.int' max=99999}},\n \"priority\": \"\",\n \"queue\": \"\",\n \"reduceProgress\": {{faker 'number.float'}},\n \"reservedMem\": {{faker 'number.int' max=99999}},\n \"retired\": {{faker 'datatype.boolean'}},\n \"runState\": {{faker 'number.int' max=99999}},\n \"schedulingInfo\": \"\",\n \"setupProgress\": {{faker 'number.float'}},\n \"startTime\": {{faker 'number.int' max=99999}},\n \"state\": \"\",\n \"trackingUrl\": \"\",\n \"uber\": {{faker 'datatype.boolean'}},\n \"usedMem\": {{faker 'number.int' max=99999}},\n \"username\": \"\"\n },\n \"user\": \"\",\n \"userargs\": {\n \"arg\": [\n \"\"\n ],\n \"callback\": {},\n \"define\": [\n \"\"\n ],\n \"enablelog\": \"\",\n \"execute\": \"\",\n \"file\": {},\n \"files\": {},\n \"jar\": \"\",\n \"statusdir\": {}\n }\n}", "latency": 0, "statusCode": 200, "label": "OK response definition.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a19ccd7f-032f-4a23-bfa5-ee2bdd5f05a7", "body": "{\n \"error\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "88080db1-e5c0-4580-b63c-516d4ff174d7", "documentation": "Gets job details from the specified HDInsight cluster.", "method": "get", "endpoint": "templeton/v1/jobs/:jobId", "responses": [ { "uuid": "23058965-ab44-4843-962f-6b17c4f5ca2d", "body": "{\n \"callback\": {},\n \"completed\": \"\",\n \"exitValue\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"msg\": {},\n \"parentId\": \"\",\n \"percentComplete\": \"\",\n \"profile\": {\n \"jobFile\": \"\",\n \"jobID\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"jtIdentifier\": \"\"\n },\n \"jobId\": \"\",\n \"jobName\": \"\",\n \"queueName\": \"\",\n \"url\": \"\",\n \"user\": \"\"\n },\n \"status\": {\n \"cleanupProgress\": {{faker 'number.float'}},\n \"failureInfo\": \"\",\n \"finishTime\": {{faker 'number.int' max=99999}},\n \"historyFile\": \"\",\n \"jobACLs\": \"\",\n \"jobComplete\": {{faker 'datatype.boolean'}},\n \"jobFile\": \"\",\n \"jobID\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"jtIdentifier\": \"\"\n },\n \"jobId\": \"\",\n \"jobName\": \"\",\n \"jobPriority\": \"\",\n \"mapProgress\": {{faker 'number.float'}},\n \"neededMem\": {{faker 'number.int' max=99999}},\n \"numReservedSlots\": {{faker 'number.int' max=99999}},\n \"numUsedSlots\": {{faker 'number.int' max=99999}},\n \"priority\": \"\",\n \"queue\": \"\",\n \"reduceProgress\": {{faker 'number.float'}},\n \"reservedMem\": {{faker 'number.int' max=99999}},\n \"retired\": {{faker 'datatype.boolean'}},\n \"runState\": {{faker 'number.int' max=99999}},\n \"schedulingInfo\": \"\",\n \"setupProgress\": {{faker 'number.float'}},\n \"startTime\": {{faker 'number.int' max=99999}},\n \"state\": \"\",\n \"trackingUrl\": \"\",\n \"uber\": {{faker 'datatype.boolean'}},\n \"usedMem\": {{faker 'number.int' max=99999}},\n \"username\": \"\"\n },\n \"user\": \"\",\n \"userargs\": {\n \"arg\": [\n \"\"\n ],\n \"callback\": {},\n \"define\": [\n \"\"\n ],\n \"enablelog\": \"\",\n \"execute\": \"\",\n \"file\": {},\n \"files\": {},\n \"jar\": \"\",\n \"statusdir\": {}\n }\n}", "latency": 0, "statusCode": 200, "label": "OK response definition.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2e9e4c49-d97a-4486-aa6a-a98053e2b383", "body": "{\n \"error\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e958234e-1f56-472c-8c63-d98e1163f3e5", "documentation": "Gets numrecords Of Jobs after jobid from the specified HDInsight cluster.", "method": "get", "endpoint": "templeton/v1/jobs?op=LISTAFTERID", "responses": [ { "uuid": "611abf1d-197a-425e-a2e7-4838c5689f8a", "body": "[\n {\n \"detail\": {\n \"callback\": {},\n \"completed\": \"\",\n \"exitValue\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"msg\": {},\n \"parentId\": \"\",\n \"percentComplete\": \"\",\n \"profile\": {\n \"jobFile\": \"\",\n \"jobID\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"jtIdentifier\": \"\"\n },\n \"jobId\": \"\",\n \"jobName\": \"\",\n \"queueName\": \"\",\n \"url\": \"\",\n \"user\": \"\"\n },\n \"status\": {\n \"cleanupProgress\": {{faker 'number.float'}},\n \"failureInfo\": \"\",\n \"finishTime\": {{faker 'number.int' max=99999}},\n \"historyFile\": \"\",\n \"jobACLs\": \"\",\n \"jobComplete\": {{faker 'datatype.boolean'}},\n \"jobFile\": \"\",\n \"jobID\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"jtIdentifier\": \"\"\n },\n \"jobId\": \"\",\n \"jobName\": \"\",\n \"jobPriority\": \"\",\n \"mapProgress\": {{faker 'number.float'}},\n \"neededMem\": {{faker 'number.int' max=99999}},\n \"numReservedSlots\": {{faker 'number.int' max=99999}},\n \"numUsedSlots\": {{faker 'number.int' max=99999}},\n \"priority\": \"\",\n \"queue\": \"\",\n \"reduceProgress\": {{faker 'number.float'}},\n \"reservedMem\": {{faker 'number.int' max=99999}},\n \"retired\": {{faker 'datatype.boolean'}},\n \"runState\": {{faker 'number.int' max=99999}},\n \"schedulingInfo\": \"\",\n \"setupProgress\": {{faker 'number.float'}},\n \"startTime\": {{faker 'number.int' max=99999}},\n \"state\": \"\",\n \"trackingUrl\": \"\",\n \"uber\": {{faker 'datatype.boolean'}},\n \"usedMem\": {{faker 'number.int' max=99999}},\n \"username\": \"\"\n },\n \"user\": \"\",\n \"userargs\": {\n \"arg\": [\n \"\"\n ],\n \"callback\": {},\n \"define\": [\n \"\"\n ],\n \"enablelog\": \"\",\n \"execute\": \"\",\n \"file\": {},\n \"files\": {},\n \"jar\": \"\",\n \"statusdir\": {}\n }\n },\n \"id\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK response definition.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "21c40470-73da-4c65-9978-5ed04b80c51c", "body": "{\n \"error\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ceb72b30-6efa-428b-b705-b61b318ae072", "documentation": "Submits a MapReduce job to an HDInsight cluster.", "method": "post", "endpoint": "templeton/v1/mapreduce/jar", "responses": [ { "uuid": "6d8a3dd4-c00e-4f36-b975-f45bc3888b4c", "body": "", "latency": 0, "statusCode": 200, "label": "OK response definition.", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "10dc5a7e-9d26-4957-a5cd-c6d32f90dafb", "body": "", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6db66d4d-ec0f-46cb-ba9f-b0668e3a5b23", "documentation": "Submits a MapReduce streaming job to an HDInsight cluster.", "method": "post", "endpoint": "templeton/v1/mapreduce/streaming", "responses": [ { "uuid": "79c70b2c-a295-46a8-ae29-342c4ea05835", "body": "", "latency": 0, "statusCode": 200, "label": "OK response definition.", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d9df3bc4-bbfd-4fdd-bb52-52535cc06810", "body": "", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ee427d08-2b89-418a-8cc8-25066255c2f0", "documentation": "Submits a Pig job to an HDInsight cluster.", "method": "post", "endpoint": "templeton/v1/pig", "responses": [ { "uuid": "060a9dcd-aaea-4128-abee-7004fad7d8c8", "body": "", "latency": 0, "statusCode": 200, "label": "OK response definition.", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "dd7109e6-8e55-48d8-82d8-3f35f2fa4e5c", "body": "", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "170767e3-2eb9-4136-8452-0d023356afcb", "documentation": "Submits a Sqoop job to an HDInsight cluster.", "method": "post", "endpoint": "templeton/v1/sqoop", "responses": [ { "uuid": "92550402-cc5b-4451-bc83-5f4944b44099", "body": "", "latency": 0, "statusCode": 200, "label": "OK response definition.", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5beea704-3e04-4734-941b-6b33579d447d", "body": "", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ff4a54c6-4030-47c1-bbd4-2e9ce4f56f84", "documentation": "Gets application state from the specified HDInsight cluster.", "method": "get", "endpoint": "ws/v1/cluster/apps/:appId/state", "responses": [ { "uuid": "a3c27241-367a-459c-b0ac-ac6707ae9e14", "body": "{\n \"state\": \"{{oneOf (array 'NEW' 'NEW_SAVING' 'SUBMITTED' 'ACCEPTED' 'RUNNING' 'FINISHED' 'FINISHING' 'FAILED' 'KILLED')}}\"\n}", "latency": 0, "statusCode": 200, "label": "OK response definition.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f6158b3b-a583-41e6-939a-8fdd9cc518cc", "body": "{\n \"error\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "367451d7-a8aa-4562-9c09-e20dc70c741b" }, { "type": "route", "uuid": "8b0e2023-3c1b-4bd8-8a25-1248907d598a" }, { "type": "route", "uuid": "f3a7ee0f-f8a8-4b15-a704-a9699737ed81" }, { "type": "route", "uuid": "88080db1-e5c0-4580-b63c-516d4ff174d7" }, { "type": "route", "uuid": "e958234e-1f56-472c-8c63-d98e1163f3e5" }, { "type": "route", "uuid": "ceb72b30-6efa-428b-b705-b61b318ae072" }, { "type": "route", "uuid": "6db66d4d-ec0f-46cb-ba9f-b0668e3a5b23" }, { "type": "route", "uuid": "ee427d08-2b89-418a-8cc8-25066255c2f0" }, { "type": "route", "uuid": "170767e3-2eb9-4136-8452-0d023356afcb" }, { "type": "route", "uuid": "ff4a54c6-4030-47c1-bbd4-2e9ce4f56f84" } ] }