http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/c7334935/griffin-doc/postman/griffin.json ---------------------------------------------------------------------- diff --git a/griffin-doc/postman/griffin.json b/griffin-doc/postman/griffin.json new file mode 100644 index 0000000..40c2a94 --- /dev/null +++ b/griffin-doc/postman/griffin.json @@ -0,0 +1,2534 @@ +{ + "id": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "name": "Griffin", + "description": "", + "order": [], + "folders": [ + { + "name": "Auth", + "description": "user authentication", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "order": [ + "f2bbd2ad-1848-19f8-6b66-f242208befaf" + ], + "owner": "503523", + "folders_order": [], + "id": "6b68e8ee-75c7-df61-d8af-fbc308b3a0b8" + }, + { + "name": "Basic", + "description": "", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "order": [ + "3e447ce4-f938-0532-fb50-776abaff7132" + ], + "owner": "503523", + "folders_order": [], + "id": "a4d04609-5fcd-b74d-3ce5-282306d5ca6d" + }, + { + "name": "Hive MetaStore", + "description": "", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "order": [ + "b54feb96-9536-e295-f3ec-2825c8958ccc", + "b1b53c58-75bb-7a66-efca-d536e5d8a2f2", + "9cc56d64-a000-b640-ed20-68e810e4e73c", + "cacd1e36-aeaf-1561-575d-9c74098fcacc", + "66b4a4fd-ff49-7f48-9568-2c25ff2a4bdc" + ], + "owner": "503523", + "folders_order": [], + "id": "db8f71a4-af1c-f20b-eb3c-8b0cecd3656c" + }, + { + "name": "Jobs", + "description": "", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "order": [ + "6877595b-3010-08e9-be1b-5e7339482992", + "86fc3991-57b4-b644-adf3-cacfc7be0c5b", + "94f0ffb4-59a4-1849-2e77-a816c6631531", + "4c757a03-f5d2-59c8-a504-ae91c8af9735", + "c323c910-64c6-bbc0-2d41-b80d0aa58c56" + ], + "owner": "503523", + "folders_order": [], + "id": "bfce335d-cf4e-59c6-d1ba-6f8674f9028c" + }, + { + "name": "Measures", + "description": "", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "order": [ + "cc7d5841-3b32-281a-c5ed-2e02057dae83", + "200bd6d4-71a0-8928-aecc-0036337f7b82", + "6e759a74-d4cf-12ba-468c-ea084654c307", + "7373af1c-d2a3-8917-24c1-0440b1c81c14", + "6b0c4489-2164-0076-9a03-08199dc96f01", + "81592a70-44b1-b503-9954-fe1aec99a094" + ], + "owner": "503523", + "folders_order": [ + "7297e7c1-2efa-48a2-cb75-815239ba0c8b" + ], + "id": "c44648fe-8b95-448a-168a-a3d01d181549" + }, + { + "name": "OrgnizationDimension", + "description": "", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "order": [ + "32155f9f-7eb1-6156-6080-058277f84010", + "5a281a05-e75f-ccc4-08fc-d5347d9ffabb", + "decff1b5-0241-8e08-c134-fc4217e89448" + ], + "owner": "503523", + "folder": "c44648fe-8b95-448a-168a-a3d01d181549", + "folders_order": [], + "id": "7297e7c1-2efa-48a2-cb75-815239ba0c8b" + } + ], + "folders_order": [ + "a4d04609-5fcd-b74d-3ce5-282306d5ca6d", + "c44648fe-8b95-448a-168a-a3d01d181549", + "bfce335d-cf4e-59c6-d1ba-6f8674f9028c", + "db8f71a4-af1c-f20b-eb3c-8b0cecd3656c", + "6b68e8ee-75c7-df61-d8af-fbc308b3a0b8" + ], + "timestamp": 0, + "owner": "503523", + "public": false, + "requests": [ + { + "id": "200bd6d4-71a0-8928-aecc-0036337f7b82", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/measure/:id", + "folder": "c44648fe-8b95-448a-168a-a3d01d181549", + "queryParams": [], + "preRequestScript": null, + "pathVariables": { + "id": "1" + }, + "pathVariableData": [ + { + "key": "id", + "value": "1" + } + ], + "method": "GET", + "data": null, + "dataMode": "params", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1509333180809, + "name": "Get measure by id", + "description": "`GET /api/v1/measure/{id}`\n#### Path Variable\n- id -`required` `Long` measure id\n\n#### Request Sample\n\n`/api/v1/measure/2`", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK", + "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." + }, + "time": 49, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Mon, 30 Oct 2017 03:09:22 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "{\"id\":1,\"name\":\"measureName_test_edit\",\"description\":\"This is a test measure\",\"organization\":\"orgName\",\"evaluateRule\":{\"id\":20,\"rules\":[{\"id\":12,\"rule\":\"source.id = target.id and source.age = target.age and source.desc = target.desc\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"accuracy\"}]},\"owner\":\"test\",\"deleted\":false,\"process.type\":\"batch\",\"data.sources\":[{\"id\":39,\"name\":\"source\",\"connectors\":[{\"id\":23,\"type\":\"HIVE\",\"version\":\"1.2\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_src\"}}]},{\"id\":40,\"name\":\"target\",\"connectors\":[{\"id\":24,\"type\":\"HIVE\",\"version\":\"1.2\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_tgt\"}}]}]}", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "name": "Get measure by id example", + "id": "a783dbd8-33bb-cfa2-12b5-67a4f749faa3", + "request": { + "url": "{{BASE_PATH}}/api/v1/measure/:id", + "pathVariables": { + "id": "1" + }, + "pathVariableData": [ + { + "key": "id", + "value": "1" + } + ], + "queryParams": [], + "headerData": [], + "headers": "", + "data": null, + "method": "GET", + "dataMode": "params" + } + } + ] + }, + { + "id": "32155f9f-7eb1-6156-6080-058277f84010", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/org", + "folder": "7297e7c1-2efa-48a2-cb75-815239ba0c8b", + "queryParams": [], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "GET", + "data": null, + "dataMode": "params", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1508996888357, + "name": "Get orgs for measure", + "description": "`GET /api/v1/org`", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK" + }, + "time": 50, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Wed, 25 Oct 2017 05:55:00 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "[\"ebay\",\"test\",\"orgName\"]", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "id": "b6ee6e78-15fa-c5fe-3aed-e09c95022978", + "name": "Get orgs for measure example", + "isSample": true, + "scrollToResult": false, + "runTests": false, + "request": { + "url": "http://localhost:8080/api/v1/org", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [], + "headerData": [], + "headers": "", + "data": null, + "method": "GET", + "dataMode": "params" + } + } + ] + }, + { + "id": "3e447ce4-f938-0532-fb50-776abaff7132", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/version", + "folder": "a4d04609-5fcd-b74d-3ce5-282306d5ca6d", + "queryParams": [], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "GET", + "data": null, + "dataMode": "params", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1508997903989, + "name": "Get griffin version", + "description": "`GET /api/v1/version`", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK" + }, + "time": 63, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-length", + "key": "content-length", + "value": "5", + "description": "The length of the response body in octets (8-bit bytes)" + }, + { + "name": "content-type", + "key": "content-type", + "value": "text/plain;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Thu, 26 Oct 2017 05:45:09 GMT", + "description": "The date and time that the message was sent" + } + ], + "cookies": [], + "mime": "", + "text": "0.1.0", + "language": "plainText", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "name": "Get griffin version example", + "id": "843835ec-8b82-70f2-98e3-02515e3653f1", + "request": { + "url": "{{BASE_PATH}}/api/v1/version", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [], + "headerData": [], + "headers": "", + "data": null, + "method": "GET", + "dataMode": "params" + } + } + ] + }, + { + "id": "4c757a03-f5d2-59c8-a504-ae91c8af9735", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/jobs?group=BA&jobName=measure_name-BA-0-1508847304000", + "folder": "bfce335d-cf4e-59c6-d1ba-6f8674f9028c", + "queryParams": [ + { + "key": "group", + "value": "BA", + "equals": true, + "description": "", + "enabled": true + }, + { + "key": "jobName", + "value": "measure_name-BA-0-1508847304000", + "equals": true, + "description": "", + "enabled": true + } + ], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "DELETE", + "data": null, + "dataMode": "params", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1508997593266, + "name": "Delete job", + "description": "`DELETE /api/v1/jobs`\n#### Request Parameters \n\n<center>name<center/> | <center>description<center/> | <center>type<center/> | <center>example value<center/>\n--- | --- | --- | ---\ngroup | job group name | String | BA\njobName | job name | String | measure_name-BA-0-1508846730000\n\n#### Response Body Sample\n```\n{\n \"code\": 206,\n \"description\": \"Delete Job Succeed\"\n}\n\n```\nIt may return failed messages.Such as,\n```\n{\n \"code\": 406,\n \"description\": \"Delete Job Failed\"\n}\n```\nThe reason for failure may be that there is no corresponding job of provided group and jobName.You should check group and jobName to make sure they exist .", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK" + }, + "time": 67, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Tue, 24 Oct 2017 12:07:39 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "{\"code\":206,\"description\":\"Delete Job Succeed\"}", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "id": "79fe52c9-6406-4088-00eb-769d7709b71f", + "name": "Delete job example", + "isSample": true, + "scrollToResult": false, + "runTests": false, + "request": { + "url": "{{BASE_PATH}}/api/v1/jobs?group=BA&jobName=measure_name-BA-0-1508846730000", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [ + { + "key": "group", + "value": "BA", + "equals": true, + "description": "", + "enabled": true + }, + { + "key": "jobName", + "value": "measure_name-BA-0-1508846730000", + "equals": true, + "description": "", + "enabled": true + } + ], + "headerData": [], + "headers": "", + "data": null, + "method": "DELETE", + "dataMode": "params" + } + } + ] + }, + { + "id": "5a281a05-e75f-ccc4-08fc-d5347d9ffabb", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/org/:org", + "folder": "7297e7c1-2efa-48a2-cb75-815239ba0c8b", + "queryParams": [], + "preRequestScript": null, + "pathVariables": { + "org": "test" + }, + "pathVariableData": [ + { + "key": "org", + "value": "test" + } + ], + "method": "GET", + "data": null, + "dataMode": "params", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1508998400445, + "name": "Get measure names by org", + "description": "`GET /api/v1/org/{org}`\n#### Path Variable\n- org - `required` `String` organization name.\n\n#### Request Sample\n`/api/v1/org/test`", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK", + "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." + }, + "time": 26, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Thu, 26 Oct 2017 06:10:23 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "[\"measure1\"]", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "name": "Get measure names by org example", + "id": "6787487f-80fd-e6d8-0149-4f5fe6cfa5a0", + "request": { + "url": "{{BASE_PATH}}/api/v1/org/:org", + "pathVariables": { + "org": "test" + }, + "pathVariableData": [ + { + "key": "org", + "value": "test" + } + ], + "queryParams": [], + "headerData": [], + "headers": "", + "data": null, + "method": "GET", + "dataMode": "params" + } + } + ] + }, + { + "id": "66b4a4fd-ff49-7f48-9568-2c25ff2a4bdc", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/metadata/hive/tables?db=default", + "folder": "db8f71a4-af1c-f20b-eb3c-8b0cecd3656c", + "queryParams": [ + { + "key": "db", + "value": "default", + "equals": true, + "description": "", + "enabled": true + } + ], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "GET", + "data": null, + "dataMode": "params", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1508997728908, + "name": "Get tables metadata", + "description": "`GET /api/v1/metadata/hive/tables`\n#### Request Parameter\nname | description | typ | example value\n--- | --- | --- | ---\ndb | hive database name | String | default", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK" + }, + "time": 28, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Wed, 25 Oct 2017 05:50:07 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "[{\"tableName\":\"demo_src\",\"dbName\":\"default\",\"owner\":\"root\",\"createTime\":1507861756,\"lastAccessTime\":0,\"retention\":0,\"sd\":{\"cols\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true}],\"location\":\"hdfs://griffin:9000/griffin/data/batch/demo_src\",\"inputFormat\":\"org.apache.hadoop.mapred.TextInputFormat\",\"outputFormat\":\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\",\"compressed\":false,\"numBuckets\":-1,\"serdeInfo\":{\"name\":null,\"serializationLib\":\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\",\"parameters\":{\"field.delim\":\"|\",\"serialization.format\":\"|\"},\"setParameters\":true,\"parametersSize\":2,\"setName\":false,\"setSerialization Lib\":true},\"bucketCols\":[],\"sortCols\":[],\"parameters\":{},\"skewedInfo\":{\"skewedColNames\":[],\"skewedColValues\":[],\"skewedColValueLocationMaps\":{},\"skewedColValueLocationMapsSize\":0,\"skewedColNamesIterator\":[],\"setSkewedColValueLocationMaps\":true,\"skewedColValuesIterator\":[],\"skewedColNamesSize\":0,\"skewedColValuesSize\":0,\"setSkewedColValues\":true,\"setSkewedColNames\":true},\"storedAsSubDirectories\":false,\"colsSize\":3,\"setParameters\":true,\"parametersSize\":0,\"bucketColsSize\":0,\"setOutputFormat\":true,\"bucketColsIterator\":[],\"sortColsIterator\":[],\"setStoredAsSubDirectories\":true,\"sortColsSize\":0,\"setInputFormat\":true,\"setLocation\":true,\"setBucketCols\":true,\"setCols\":true,\"setSortCols\":true,\"setCompressed\":true,\"colsIterator\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setComment\":false,\"set Type\":true},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true}],\"setNumBuckets\":true,\"setSerdeInfo\":true,\"setSkewedInfo\":true},\"partitionKeys\":[],\"parameters\":{\"totalSize\":\"0\",\"EXTERNAL\":\"TRUE\",\"COLUMN_STATS_ACCURATE\":\"true\",\"numFiles\":\"0\",\"transient_lastDdlTime\":\"1508897403\"},\"viewOriginalText\":null,\"viewExpandedText\":null,\"tableType\":\"EXTERNAL_TABLE\",\"privileges\":null,\"temporary\":false,\"setSd\":true,\"setOwner\":true,\"setRetention\":true,\"setTableType\":true,\"setParameters\":true,\"setPrivileges\":false,\"setTableName\":true,\"setDbName\":true,\"setCreateTime\":true,\"setTemporary\":false,\"partitionKeysIterator\":[],\"partitionKeysSize\":0,\"parametersSize\":5,\"setViewOriginalText\":false,\"setPartitionKeys\":true,\"setLastAccessTime\":true,\"setViewExpandedText\":false},{\"tableName\":\"demo_tgt\",\"dbName\":\"default\",\"owner\":\"root\",\"createTime\":1507861756,\"lastA ccessTime\":0,\"retention\":0,\"sd\":{\"cols\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true}],\"location\":\"hdfs://griffin:9000/griffin/data/batch/demo_tgt\",\"inputFormat\":\"org.apache.hadoop.mapred.TextInputFormat\",\"outputFormat\":\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\",\"compressed\":false,\"numBuckets\":-1,\"serdeInfo\":{\"name\":null,\"serializationLib\":\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\",\"parameters\":{\"field.delim\":\"|\",\"serialization.format\":\"|\"},\"setParameters\":true,\"parametersSize\":2,\"setName\":false,\"setSerializationLib\":true},\"bucketCols\":[],\"sortCols\":[],\"parameters\":{},\"skewedInfo\":{\"skewedColNames\":[],\"skewedColValue s\":[],\"skewedColValueLocationMaps\":{},\"skewedColValueLocationMapsSize\":0,\"skewedColNamesIterator\":[],\"setSkewedColValueLocationMaps\":true,\"skewedColValuesIterator\":[],\"skewedColNamesSize\":0,\"skewedColValuesSize\":0,\"setSkewedColValues\":true,\"setSkewedColNames\":true},\"storedAsSubDirectories\":false,\"colsSize\":3,\"setParameters\":true,\"parametersSize\":0,\"bucketColsSize\":0,\"setOutputFormat\":true,\"bucketColsIterator\":[],\"sortColsIterator\":[],\"setStoredAsSubDirectories\":true,\"sortColsSize\":0,\"setInputFormat\":true,\"setLocation\":true,\"setBucketCols\":true,\"setCols\":true,\"setSortCols\":true,\"setCompressed\":true,\"colsIterator\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\" :true}],\"setNumBuckets\":true,\"setSerdeInfo\":true,\"setSkewedInfo\":true},\"partitionKeys\":[],\"parameters\":{\"totalSize\":\"0\",\"EXTERNAL\":\"TRUE\",\"COLUMN_STATS_ACCURATE\":\"true\",\"numFiles\":\"0\",\"transient_lastDdlTime\":\"1508897404\"},\"viewOriginalText\":null,\"viewExpandedText\":null,\"tableType\":\"EXTERNAL_TABLE\",\"privileges\":null,\"temporary\":false,\"setSd\":true,\"setOwner\":true,\"setRetention\":true,\"setTableType\":true,\"setParameters\":true,\"setPrivileges\":false,\"setTableName\":true,\"setDbName\":true,\"setCreateTime\":true,\"setTemporary\":false,\"partitionKeysIterator\":[],\"partitionKeysSize\":0,\"parametersSize\":5,\"setViewOriginalText\":false,\"setPartitionKeys\":true,\"setLastAccessTime\":true,\"setViewExpandedText\":false}]", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "id": "5ccafd65-4677-09b2-78ae-d9c63f446f41", + "name": "Get tables metadata example", + "isSample": true, + "scrollToResult": false, + "runTests": false, + "request": { + "url": "{{BASE_PATH}}/api/v1/metadata/hive/tables?db=default", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [ + { + "key": "db", + "value": "default", + "equals": true, + "description": "", + "enabled": true + } + ], + "headerData": [], + "headers": "", + "data": null, + "method": "GET", + "dataMode": "params" + } + } + ] + }, + { + "id": "6877595b-3010-08e9-be1b-5e7339482992", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/jobs", + "folder": "bfce335d-cf4e-59c6-d1ba-6f8674f9028c", + "queryParams": [], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "GET", + "data": null, + "dataMode": "params", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1509005652378, + "name": "Get jobs", + "description": "`GET /api/v1/jobs/`", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK" + }, + "time": 129, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Tue, 24 Oct 2017 12:01:29 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "[{\"jobName\":\"measure_name-BA-0-1508846486000\",\"measureId\":\"2\",\"groupName\":\"BA\",\"targetPattern\":\"YYYYMMdd-HH\",\"triggerState\":\"NORMAL\",\"nextFireTime\":1508846700000,\"previousFireTime\":-1,\"interval\":\"300\",\"sourcePattern\":\"YYYYMMdd-HH\",\"jobStartTime\":\"1508774400000\"}]", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "id": "c7b55594-e4e8-7f52-9f3b-a66e6eee1125", + "name": "Get jobs example", + "isSample": true, + "scrollToResult": false, + "runTests": false, + "request": { + "url": "{{BASE_PATH}}/api/v1/jobs", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [], + "headerData": [], + "headers": "", + "data": null, + "method": "GET", + "dataMode": "params" + } + } + ] + }, + { + "id": "6b0c4489-2164-0076-9a03-08199dc96f01", + "headers": "Content-Type: application/json\n", + "headerData": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "enabled": true + } + ], + "url": "{{BASE_PATH}}/api/v1/measure", + "folder": "c44648fe-8b95-448a-168a-a3d01d181549", + "queryParams": [], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "PUT", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1509333182624, + "name": "Update measure", + "description": "`PUT /api/v1/measure`\n\n#### Request Header\nkey | value\n--- | ---\nContent-Type | application/json\n\n#### Request Body\n\nname | description | type\n--- | --- | --- \nmeasure | measure entity | Measure\n\n#### Response Body Sample\n```\n{\n \"code\": 204,\n \"description\": \"Update Measure Succeed\"\n}\n```\n\nIt may return failed messages.Such as,\n\n```\n {\n \"code\": 400,\n \"description\": \"Resource Not Found\"\n}\n\n```\n\nThe reason for failure may be that measure id doesn't exist.You should check your measure.", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK" + }, + "time": 157, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Tue, 24 Oct 2017 11:05:46 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "{\"code\":204,\"description\":\"Update Measure Succeed\"}", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "id": "eeeb8fd6-2bbf-beb6-f542-3e903147baab", + "name": "Update measure example", + "isSample": true, + "scrollToResult": false, + "runTests": false, + "request": { + "url": "{{BASE_PATH}}/api/v1/measure", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [], + "headerData": [ + { + "key": "Content-Type", + "value": "application/json", + "enabled": true, + "description": "" + } + ], + "headers": "Content-Type: application/json\n", + "data": "{\n \"id\": 2,\n \"name\": \"measureName_test_edit\",\n \"description\": \"This is a test measure\",\n \"organization\": \"orgName\",\n \"evaluateRule\": {\n \"rules\": [\n {\n \"rule\": \"source.id = target.id and source.age = target.age and source.desc = target.desc\",\n \"dsl.type\": \"griffin-dsl\",\n \"dq.type\": \"accuracy\"\n }\n ]\n },\n \"owner\": \"test\",\n \"deleted\": false,\n \"process.type\": \"batch\",\n \"data.sources\": [\n {\n \"name\": \"source\",\n \"connectors\": [\n {\n \"type\": \"HIVE\",\n \"version\": \"1.2\",\n \"config\": {\n \"database\": \"default\",\n \"table.name\": \"demo_src\"\n }\n }\n ]\n },\n {\n \"name\": \"target\",\n \"connectors\": [\n {\n \"type\": \"HIVE\",\n \"version\": \"1.2\",\n \"config\": {\n \"database\": \"default\",\n \"table.name\": \"demo_tgt\"\n }\n }\n ]\n }\n ]\n}", + "method": "PUT", + "dataMode": "raw" + } + } + ], + "rawModeData": "{\n \"id\": 1,\n \"name\": \"measureName_test_edit\",\n \"description\": \"This is a test measure\",\n \"organization\": \"orgName\",\n \"evaluateRule\": {\n \"rules\": [\n {\n \"rule\": \"source.id = target.id and source.age = target.age and source.desc = target.desc\",\n \"dsl.type\": \"griffin-dsl\",\n \"dq.type\": \"accuracy\"\n }\n ]\n },\n \"owner\": \"test\",\n \"deleted\": false,\n \"process.type\": \"batch\",\n \"data.sources\": [\n {\n \"name\": \"source\",\n \"connectors\": [\n {\n \"type\": \"HIVE\",\n \"version\": \"1.2\",\n \"config\": {\n \"database\": \"default\",\n \"table.name\": \"demo_src\ "\n }\n }\n ]\n },\n {\n \"name\": \"target\",\n \"connectors\": [\n {\n \"type\": \"HIVE\",\n \"version\": \"1.2\",\n \"config\": {\n \"database\": \"default\",\n \"table.name\": \"demo_tgt\"\n }\n }\n ]\n }\n ]\n}" + }, + { + "id": "6e759a74-d4cf-12ba-468c-ea084654c307", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/measures/owner/:owner", + "folder": "c44648fe-8b95-448a-168a-a3d01d181549", + "queryParams": [], + "preRequestScript": null, + "pathVariables": { + "owner": "test" + }, + "pathVariableData": [ + { + "key": "owner", + "value": "test" + } + ], + "method": "GET", + "data": null, + "dataMode": "params", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1508998395708, + "name": "Get measures by org", + "description": "`GET /api/v1/measures/owner/{owner}`\n\n#### Path Variable\n- owner -`required` `String` owner name\n\n#### Request Sample\n\n`/api/v1/measures/owner/test`\n\n#### Response Body Sample\n```\n[\n {\n \"name\": \"demo-accu\",\n \"id\": \"2\"\n }\n]\n```", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK", + "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." + }, + "time": 67, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Thu, 26 Oct 2017 06:12:10 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "[{\"id\":2,\"name\":\"measureName_test_edit\",\"description\":\"This is a test measure\",\"organization\":\"orgName\",\"evaluateRule\":{\"id\":18,\"rules\":[{\"id\":10,\"rule\":\"source.id==target.id\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"accuracy\"}]},\"owner\":\"test\",\"deleted\":false,\"process.type\":\"batch\",\"data.sources\":[{\"id\":35,\"name\":\"source\",\"connectors\":[{\"id\":19,\"type\":\"HIVE\",\"version\":\"1.2\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_src\"}}]},{\"id\":36,\"name\":\"target\",\"connectors\":[{\"id\":20,\"type\":\"HIVE\",\"version\":\"1.2\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_tgt\"}}]}]},{\"id\":6,\"name\":\"third_measure\",\"description\":null,\"organization\":\"ebay\",\"evaluateRule\":{\"id\":6,\"rules\":[{\"id\":6,\"rule\":\"source.id=target.id AND source.age=target.age\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"accuracy\"}]},\"owner\":\"test\",\"deleted\":false,\"process.type\":\"batch\ ",\"data.sources\":[{\"id\":11,\"name\":\"source\",\"connectors\":[{\"id\":11,\"type\":\"HIVE\",\"version\":\"1.2\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_src\"}}]},{\"id\":12,\"name\":\"target\",\"connectors\":[{\"id\":12,\"type\":\"HIVE\",\"version\":\"1.2\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_tgt\"}}]}]},{\"id\":8,\"name\":\"measure1\",\"description\":null,\"organization\":\"test\",\"evaluateRule\":{\"id\":8,\"rules\":[{\"id\":8,\"rule\":\"source.age=target.age\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"accuracy\"}]},\"owner\":\"test\",\"deleted\":false,\"process.type\":\"batch\",\"data.sources\":[{\"id\":15,\"name\":\"source\",\"connectors\":[{\"id\":15,\"type\":\"HIVE\",\"version\":\"1.2\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_src\"}}]},{\"id\":16,\"name\":\"target\",\"connectors\":[{\"id\":16,\"type\":\"HIVE\",\"version\":\"1.2\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_tgt\"}}]}]},{\"id\":9,\" name\":\"measureName_test_edit\",\"description\":\"This is a test measure\",\"organization\":\"orgName\",\"evaluateRule\":{\"id\":14,\"rules\":[]},\"owner\":\"test\",\"deleted\":false,\"process.type\":\"batch\",\"data.sources\":[{\"id\":27,\"name\":null,\"connectors\":[]},{\"id\":28,\"name\":null,\"connectors\":[]}]},{\"id\":10,\"name\":\"measureName1\",\"description\":\"This is a test measure\",\"organization\":\"orgName\",\"evaluateRule\":{\"id\":19,\"rules\":[{\"id\":11,\"rule\":\"source.id==target.id\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"accuracy\"}]},\"owner\":\"test\",\"deleted\":false,\"process.type\":\"batch\",\"data.sources\":[{\"id\":37,\"name\":\"source\",\"connectors\":[{\"id\":21,\"type\":\"HIVE\",\"version\":\"1.2\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_src\"}}]},{\"id\":38,\"name\":\"target\",\"connectors\":[{\"id\":22,\"type\":\"HIVE\",\"version\":\"1.2\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_tgt\"}}]}]}]", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "name": "Get measures by org example", + "id": "498dd59c-2bde-9c41-bafa-d1fa85c50ec0", + "request": { + "url": "{{BASE_PATH}}/api/v1/measures/owner/:owner", + "pathVariables": { + "owner": "test" + }, + "pathVariableData": [ + { + "key": "owner", + "value": "test" + } + ], + "queryParams": [], + "headerData": [], + "headers": "", + "data": null, + "method": "GET", + "dataMode": "params" + } + } + ] + }, + { + "id": "7373af1c-d2a3-8917-24c1-0440b1c81c14", + "headers": "Content-Type: application/json\n", + "headerData": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "enabled": true + } + ], + "url": "{{BASE_PATH}}/api/v1/measure", + "folder": "c44648fe-8b95-448a-168a-a3d01d181549", + "queryParams": [], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "POST", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1509330288995, + "name": "Add measure", + "description": "`POST /api/v1/measure`\n\n#### Request Header\nkey | value\n--- | ---\nContent-Type | application/json\n\n#### Request Body\n\nname | description | type\n--- | --- | --- \nmeasure | measure entity | Measure\n\n#### Response Body Sample\n```\n{\n \"code\": 201,\n \"description\": \"Create Measure Succeed\"\n}\n```\n\nIt may return failed messages.Such as,\n\n```\n {\n \"code\": 410,\n \"description\": \"Create Measure Failed, duplicate records\"\n}\n\n```\n\nThe reason for failure may be that measure name already exists.You can change measure name to make it unique.", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK" + }, + "time": 629, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Tue, 24 Oct 2017 10:59:21 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "{\"code\":201,\"description\":\"Create Measure Succeed\"}", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "id": "81d34925-ac08-dfa3-a094-6e6aa1bdff08", + "name": "Add measure example", + "isSample": true, + "scrollToResult": false, + "runTests": false, + "request": { + "url": "{{BASE_PATH}}/api/v1/measure", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [], + "headerData": [ + { + "key": "Content-Type", + "value": "application/json", + "enabled": true, + "description": "" + } + ], + "headers": "Content-Type: application/json\n", + "data": "{\r\n \"name\": \"measureName\",\r\n \"process.type\": \"batch\",\r\n \"owner\": \"test\",\r\n \"description\": \"This is a test measure\",\r\n \"organization\": \"orgName\",\r\n \"data.sources\": [\r\n {\r\n \"name\": \"source\",\r\n \"connectors\": [\r\n {\r\n \"type\": \"HIVE\",\r\n \"version\": \"1.2\",\r\n \"config\": {\r\n \"database\": \"default\",\r\n \"table.name\": \"demo_src\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"target\",\r\n \"connectors\": [\r\n {\r\n \"type\": \"HIVE\",\r\n \"version\": \"1.2\",\r\n \"config\": {\r\n \"database\": \"default\",\r\n \"table.name\": \"demo_tgt\"\r\n }\r\n }\r\n ]\r\n }\r\n ],\r\n \"evaluateRule\": {\r\n \"rules\": [\r\n {\r\n \"dsl.type\": \"griffin-dsl\",\r\n \"dq.type\": \"accuracy\",\r\n \"rule\": \"source.id=target.id\"\r\n }\r\n ]\r\n }\r\n}", + "method": "POST", + "dataMode": "raw" + } + } + ], + "rawModeData": "{\r\n \"name\": \"measureName1\",\r\n \"process.type\": \"batch\",\r\n \"owner\": \"test\",\r\n \"description\": \"This is a test measure\",\r\n \"organization\": \"orgName\",\r\n \"data.sources\": [\r\n {\r\n \"name\": \"source\",\r\n \"connectors\": [\r\n {\r\n \"type\": \"HIVE\",\r\n \"version\": \"1.2\",\r\n \"config\": {\r\n \"database\": \"default\",\r\n \"table.name\": \"demo_src\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"target\",\r\n \"connectors\": [\r\n {\r\n \"type\": \"HIVE\",\r\n \"version\": \"1.2\",\r\n \"config\": {\r\n \"database\": \"default\",\r\n \"table.name\": \"demo_tgt\"\r\n }\r\n }\r\n ]\r\n }\r\n ],\r\n \"evaluateRule\": {\r\n \"rules\": [\r\n {\r\n \"dsl.type\": \"griffin-dsl\",\r\n \"dq.type\": \"accuracy\",\r\n \"rule\": \"source.id = target.id and source.age = target.age and source.desc = target.desc\"\r\n }\r\n ]\r\n }\r\n}" + }, + { + "id": "81592a70-44b1-b503-9954-fe1aec99a094", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/measure/1", + "folder": "c44648fe-8b95-448a-168a-a3d01d181549", + "queryParams": [], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "DELETE", + "data": null, + "dataMode": "params", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1508997393184, + "name": "Delete measure", + "description": "`DELETE /api/v1/measure/{id}`\n\n#### Path Variable\n- id -`required` `Long` measure id\n\n#### Request Sample\n\n`/api/v1/measure/1`\n\n#### Response Body Sample\n```\n{\n \"code\": 202,\n \"description\": \"Delete Measures By Id Succeed\"\n}\n```\n\nIt may return failed messages.Such as,\n\n```\n {\n \"code\": 400,\n \"description\": \"Resource Not Found\"\n}\n\n```\n\nThe reason for failure may be that measure id doesn't exist.You should check your measure.", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK" + }, + "time": 673, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Tue, 24 Oct 2017 11:39:45 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "{\"code\":202,\"description\":\"Delete Measures By Id Succeed\"}", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "id": "6e618a43-9562-2b95-47b2-fbaeec62043a", + "name": "Delete measure example", + "isSample": true, + "scrollToResult": false, + "runTests": false, + "request": { + "url": "{{BASE_PATH}}/api/v1/measure/1", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [], + "headerData": [], + "headers": "", + "data": null, + "method": "DELETE", + "dataMode": "params" + } + } + ] + }, + { + "id": "86fc3991-57b4-b644-adf3-cacfc7be0c5b", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/jobs/health", + "folder": "bfce335d-cf4e-59c6-d1ba-6f8674f9028c", + "queryParams": [], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "GET", + "data": null, + "dataMode": "params", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1508997449658, + "name": "Get job healthy statistics", + "description": "`GET /api/v1/jobs/health`\n\n#### Response Body Sample\n```\n{\n \"healthyJobCount\": 17,\n \"jobCount\": 23\n}\n```", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK" + }, + "time": 391, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Wed, 25 Oct 2017 08:10:53 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "{\"healthyJobCount\":15,\"jobCount\":23}", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "id": "e27b3d68-94b6-e3ba-7648-6ef7ad6a58cd", + "name": "Get job healthy statistics example", + "isSample": true, + "scrollToResult": false, + "runTests": false, + "request": { + "url": "{{BASE_PATH}}/api/v1/jobs/health", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [], + "headerData": [], + "headers": "", + "data": null, + "method": "GET", + "dataMode": "params" + } + } + ] + }, + { + "id": "94f0ffb4-59a4-1849-2e77-a816c6631531", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/jobs/instances?group=BA&jobName=measure-BA-0-1508478921000&page=0&size=10", + "folder": "bfce335d-cf4e-59c6-d1ba-6f8674f9028c", + "queryParams": [ + { + "key": "group", + "value": "BA", + "equals": true, + "description": "", + "enabled": true + }, + { + "key": "jobName", + "value": "measure-BA-0-1508478921000", + "equals": true, + "description": "", + "enabled": true + }, + { + "key": "page", + "value": "0", + "equals": true, + "description": "", + "enabled": true + }, + { + "key": "size", + "value": "10", + "equals": true, + "description": "", + "enabled": true + } + ], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "GET", + "data": null, + "dataMode": "params", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1508997518626, + "name": "Get job instances", + "description": "`GET /api/v1/instances`\n\nGet all job instances scheduled at different time using the same prototype job.The prototype job is determined by SCHED_NAME, group name and job name in table QRTZ_JOB_DETAILS.\n\n<center>name<center/> | <center>description<center/> | <center>type<center/> | <center>example value<center/>\n--- | --- | --- | ---\ngroup | job group name | String | BA\njobName | job name | String | measure-BA-job-1\npage | page you want starting from index 0 | int | 0\nsize | instance number per page | int | 10", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK" + }, + "time": 3755, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Wed, 25 Oct 2017 01:43:23 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "[{\"id\":6248,\"groupName\":\"BA\",\"jobName\":\"measure-BA-0-1508478921000\",\"sessionId\":17887,\"state\":\"unknown\",\"appId\":null,\"appUri\":null,\"timestamp\":1508895600513},{\"id\":6245,\"groupName\":\"BA\",\"jobName\":\"measure-BA-0-1508478921000\",\"sessionId\":17884,\"state\":\"dead\",\"appId\":null,\"appUri\":null,\"timestamp\":1508895300471},{\"id\":6243,\"groupName\":\"BA\",\"jobName\":\"measure-BA-0-1508478921000\",\"sessionId\":17882,\"state\":\"dead\",\"appId\":null,\"appUri\":null,\"timestamp\":1508895000461},{\"id\":6241,\"groupName\":\"BA\",\"jobName\":\"measure-BA-0-1508478921000\",\"sessionId\":17880,\"state\":\"dead\",\"appId\":null,\"appUri\":null,\"timestamp\":1508894700451},{\"id\":6239,\"groupName\":\"BA\",\"jobName\":\"measure-BA-0-1508478921000\",\"sessionId\":17878,\"state\":\"dead\",\"appId\":null,\"appUri\":null,\"timestamp\":1508894400457},{\"id\":6237,\"groupName\":\"BA\",\"jobName\":\"measure-BA-0-1508478921000\",\"sessionId\":17876,\" state\":\"dead\",\"appId\":null,\"appUri\":null,\"timestamp\":1508894100455},{\"id\":6235,\"groupName\":\"BA\",\"jobName\":\"measure-BA-0-1508478921000\",\"sessionId\":17874,\"state\":\"dead\",\"appId\":null,\"appUri\":null,\"timestamp\":1508893800444},{\"id\":6233,\"groupName\":\"BA\",\"jobName\":\"measure-BA-0-1508478921000\",\"sessionId\":17872,\"state\":\"dead\",\"appId\":null,\"appUri\":null,\"timestamp\":1508893500452},{\"id\":6231,\"groupName\":\"BA\",\"jobName\":\"measure-BA-0-1508478921000\",\"sessionId\":17870,\"state\":\"dead\",\"appId\":null,\"appUri\":null,\"timestamp\":1508893200452},{\"id\":6229,\"groupName\":\"BA\",\"jobName\":\"measure-BA-0-1508478921000\",\"sessionId\":17868,\"state\":\"dead\",\"appId\":null,\"appUri\":null,\"timestamp\":1508892900452}]", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "id": "a1e3273c-3b1f-5d71-a0e0-a7ca78f824f4", + "name": "Get job instances example", + "isSample": true, + "scrollToResult": false, + "runTests": false, + "request": { + "url": "{{BASE_PATH}}/api/v1/jobs/instances?group=BA&jobName=measure-BA-0-1508478921000&page=0&size=10", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [ + { + "key": "group", + "value": "BA", + "equals": true, + "description": "", + "enabled": true + }, + { + "key": "jobName", + "value": "measure-BA-0-1508478921000", + "equals": true, + "description": "", + "enabled": true + }, + { + "key": "page", + "value": "0", + "equals": true, + "description": "", + "enabled": true + }, + { + "key": "size", + "value": "10", + "equals": true, + "description": "", + "enabled": true + } + ], + "headerData": [], + "headers": "", + "data": null, + "method": "GET", + "dataMode": "params" + } + } + ] + }, + { + "id": "9cc56d64-a000-b640-ed20-68e810e4e73c", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/metadata/hive/tables/names?db=default", + "folder": "db8f71a4-af1c-f20b-eb3c-8b0cecd3656c", + "queryParams": [ + { + "key": "db", + "value": "default", + "equals": true, + "description": "", + "enabled": true + } + ], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "GET", + "data": null, + "dataMode": "params", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1508997683445, + "name": "Get table names", + "description": "`GET /api/v1/metadata/hive/tables/names`\n#### Request Parameter\nname | description | typ | example value\n--- | --- | --- | ---\ndb | hive database name | String | default", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK" + }, + "time": 226, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Wed, 25 Oct 2017 05:11:54 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "[\"demo_src\",\"demo_tgt\"]", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "id": "56719423-80e6-8ae9-3ae1-23e7effb7a87", + "name": "Get table names example", + "isSample": true, + "scrollToResult": false, + "runTests": false, + "request": { + "url": "{{BASE_PATH}}/api/v1/metadata/hive/tables/names?db=default", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [ + { + "key": "db", + "value": "default", + "equals": true, + "description": "", + "enabled": true + } + ], + "headerData": [], + "headers": "", + "data": null, + "method": "GET", + "dataMode": "params" + } + } + ] + }, + { + "id": "b1b53c58-75bb-7a66-efca-d536e5d8a2f2", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/metadata/hive/dbs", + "folder": "db8f71a4-af1c-f20b-eb3c-8b0cecd3656c", + "queryParams": [], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "GET", + "data": null, + "dataMode": "params", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1508997670920, + "name": "Get database names", + "description": "`GET /api/v1/metadata/hive/dbs`\n \n #### Get all database names", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK" + }, + "time": 225, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Wed, 25 Oct 2017 05:12:36 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "[\"default\"]", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "id": "7bdd738d-9e41-ca11-79ec-83fb32bf95c2", + "name": "Get db names example", + "isSample": true, + "scrollToResult": false, + "runTests": false, + "request": { + "url": "{{BASE_PATH}}/api/v1/metadata/hive/dbs", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [], + "headerData": [], + "headers": "", + "data": null, + "method": "GET", + "dataMode": "params" + } + } + ] + }, + { + "id": "b54feb96-9536-e295-f3ec-2825c8958ccc", + "headers": "", + "headerData": [], + "url": "{{BASE_PATH}}/api/v1/metadata/hive/dbs/tables", + "folder": "db8f71a4-af1c-f20b-eb3c-8b0cecd3656c", + "queryParams": [], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "GET", + "data": null, + "dataMode": "params", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1508997646817, + "name": "Get all database tables metadata", + "description": "`GET /api/v1/metadata/hive/dbs/tables`", + "collectionId": "689bb3f2-1c6a-b45e-5409-4df1ef07554c", + "responses": [ + { + "status": "", + "responseCode": { + "code": 200, + "name": "OK" + }, + "time": 36, + "headers": [ + { + "name": "access-control-allow-headers", + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "name": "access-control-allow-methods", + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "name": "access-control-allow-origin", + "key": "access-control-allow-origin", + "value": "*", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "name": "access-control-max-age", + "key": "access-control-max-age", + "value": "3600", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "name": "content-type", + "key": "content-type", + "value": "application/json;charset=UTF-8", + "description": "The mime type of this content" + }, + { + "name": "date", + "key": "date", + "value": "Wed, 25 Oct 2017 05:47:03 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "transfer-encoding", + "key": "transfer-encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookies": [], + "mime": "", + "text": "{\"default\":[{\"tableName\":\"demo_src\",\"dbName\":\"default\",\"owner\":\"root\",\"createTime\":1507861756,\"lastAccessTime\":0,\"retention\":0,\"sd\":{\"cols\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true}],\"location\":\"hdfs://griffin:9000/griffin/data/batch/demo_src\",\"inputFormat\":\"org.apache.hadoop.mapred.TextInputFormat\",\"outputFormat\":\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\",\"compressed\":false,\"numBuckets\":-1,\"serdeInfo\":{\"name\":null,\"serializationLib\":\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\",\"parameters\":{\"field.delim\":\"|\",\"serialization.format\":\"|\"},\"setParameters\":true,\"parametersSize\":2,\"setName\":false,\"set SerializationLib\":true},\"bucketCols\":[],\"sortCols\":[],\"parameters\":{},\"skewedInfo\":{\"skewedColNames\":[],\"skewedColValues\":[],\"skewedColValueLocationMaps\":{},\"skewedColValueLocationMapsSize\":0,\"skewedColNamesIterator\":[],\"setSkewedColValueLocationMaps\":true,\"skewedColValuesIterator\":[],\"skewedColNamesSize\":0,\"skewedColValuesSize\":0,\"setSkewedColValues\":true,\"setSkewedColNames\":true},\"storedAsSubDirectories\":false,\"colsSize\":3,\"setParameters\":true,\"parametersSize\":0,\"bucketColsSize\":0,\"setOutputFormat\":true,\"bucketColsIterator\":[],\"sortColsIterator\":[],\"setStoredAsSubDirectories\":true,\"sortColsSize\":0,\"setInputFormat\":true,\"setLocation\":true,\"setBucketCols\":true,\"setCols\":true,\"setSortCols\":true,\"setCompressed\":true,\"colsIterator\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setComment\ ":false,\"setType\":true},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true}],\"setNumBuckets\":true,\"setSerdeInfo\":true,\"setSkewedInfo\":true},\"partitionKeys\":[],\"parameters\":{\"totalSize\":\"0\",\"EXTERNAL\":\"TRUE\",\"COLUMN_STATS_ACCURATE\":\"true\",\"numFiles\":\"0\",\"transient_lastDdlTime\":\"1508897403\"},\"viewOriginalText\":null,\"viewExpandedText\":null,\"tableType\":\"EXTERNAL_TABLE\",\"privileges\":null,\"temporary\":false,\"setSd\":true,\"setOwner\":true,\"setRetention\":true,\"setTableType\":true,\"setParameters\":true,\"setPrivileges\":false,\"setTableName\":true,\"setDbName\":true,\"setCreateTime\":true,\"setTemporary\":false,\"partitionKeysIterator\":[],\"partitionKeysSize\":0,\"parametersSize\":5,\"setViewOriginalText\":false,\"setPartitionKeys\":true,\"setLastAccessTime\":true,\"setViewExpandedText\":false},{\"tableName\":\"demo_tgt\",\"dbName\":\"default\",\"owner\":\"root\",\"createTime\":15078 61756,\"lastAccessTime\":0,\"retention\":0,\"sd\":{\"cols\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true}],\"location\":\"hdfs://griffin:9000/griffin/data/batch/demo_tgt\",\"inputFormat\":\"org.apache.hadoop.mapred.TextInputFormat\",\"outputFormat\":\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\",\"compressed\":false,\"numBuckets\":-1,\"serdeInfo\":{\"name\":null,\"serializationLib\":\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\",\"parameters\":{\"field.delim\":\"|\",\"serialization.format\":\"|\"},\"setParameters\":true,\"parametersSize\":2,\"setName\":false,\"setSerializationLib\":true},\"bucketCols\":[],\"sortCols\":[],\"parameters\":{},\"skewedInfo\":{\"skewedColNames\":[],\"s kewedColValues\":[],\"skewedColValueLocationMaps\":{},\"skewedColValueLocationMapsSize\":0,\"skewedColNamesIterator\":[],\"setSkewedColValueLocationMaps\":true,\"skewedColValuesIterator\":[],\"skewedColNamesSize\":0,\"skewedColValuesSize\":0,\"setSkewedColValues\":true,\"setSkewedColNames\":true},\"storedAsSubDirectories\":false,\"colsSize\":3,\"setParameters\":true,\"parametersSize\":0,\"bucketColsSize\":0,\"setOutputFormat\":true,\"bucketColsIterator\":[],\"sortColsIterator\":[],\"setStoredAsSubDirectories\":true,\"sortColsSize\":0,\"setInputFormat\":true,\"setLocation\":true,\"setBucketCols\":true,\"setCols\":true,\"setSortCols\":true,\"setCompressed\":true,\"colsIterator\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setComment\":false,\"setType\":true},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setComment\":fals e,\"setType\":true}],\"setNumBuckets\":true,\"setSerdeInfo\":true,\"setSkewedInfo\":true},\"partitionKeys\":[],\"parameters\":{\"totalSize\":\"0\",\"EXTERNAL\":\"TRUE\",\"COLUMN_STATS_ACCURATE\":\"true\",\"numFiles\":\"0\",\"transient_lastDdlTime\":\"1508897404\"},\"viewOriginalText\":null,\"viewExpandedText\":null,\"tableType\":\"EXTERNAL_TABLE\",\"privileges\":null,\"temporary\":false,\"setSd\":true,\"setOwner\":true,\"setRetention\":true,\"setTableType\":true,\"setParameters\":true,\"setPrivileges\":false,\"setTableName\":true,\"setDbName\":true,\"setCreateTime\":true,\"setTemporary\":false,\"partitionKeysIterator\":[],\"partitionKeysSize\":0,\"parametersSize\":5,\"setViewOriginalText\":false,\"setPartitionKeys\":true,\"setLastAccessTime\":true,\"setViewExpandedText\":false}]}", + "language": "json", + "rawDataType": "text", + "previewType": "text", + "searchResultScrolledTo": -1, + "forceNoPretty": false, + "write": true, + "empty": false, + "failed": false, + "id": "090918bd-9a57-04d2-c2b1-d5d921eee3ba", + "name": "Get all database tables metadata example", + "isSample": true, + "scrollToResult": false, + "runTests": false, + "request": { + "url": "{{BASE_PATH}}/api/v1/metadata/hive/dbs/tables", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [], + "headerData": [], + "headers": "", + "data": null, + "method": "GET", + "dataMode": "params" + } + } + ] + }, + { + "id": "c323c910-64c6-bbc0-2d41-b80d0aa58c56", + "headers": "Content-Type: application/json\n", + "headerData": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "enabled": true + } + ], + "url": "{{BASE_PATH}}/api/v1/jobs?group=BA&jobName=measure-BA-0-1
<TRUNCATED>
