http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/b2f334a3/griffin-doc/service/postman/griffin.json ---------------------------------------------------------------------- diff --git a/griffin-doc/service/postman/griffin.json b/griffin-doc/service/postman/griffin.json index 7553421..08b0701 100644 --- a/griffin-doc/service/postman/griffin.json +++ b/griffin-doc/service/postman/griffin.json @@ -1,5 +1,5 @@ { - "id": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "name": "Griffin Service", "description": "", "order": [], @@ -7,111 +7,112 @@ { "name": "Auth", "description": "user authentication", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "order": [ - "c99b7f08-0cc1-8b94-ac98-04b55a0584d9" + "eb227a73-9249-fc16-5922-6e80cc0bea95" ], "owner": "2830994", "folders_order": [], - "id": "7395e9e2-0ffa-a67e-459e-b09d199a3523" + "id": "2d181fe4-1f72-5252-8e9f-79c715266962" }, { "name": "Basic", "description": "", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "order": [ - "2bb01633-bd16-67d2-5ceb-11668629a556" + "5a64e424-ae7b-55b3-9221-ecde940426bd" ], "owner": "2830994", "folders_order": [], - "id": "9cab795a-6c51-01da-5e13-f5abf5793a73" + "id": "f7cebc34-4e5a-72f7-0272-f5c8dece342d" }, { "name": "Hive MetaStore", "description": "", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "order": [ - "7e478411-b8a5-552c-7d42-53e90e684ba0", - "24d58851-4ec5-f23e-1657-40f5343b541e", - "733baba6-aa05-fe53-869e-ca6ea85ce389", - "8bbf31e3-bf20-b634-8075-cdc3e169446c", - "2e76c537-40a2-2d85-acb3-2f39a0b5ec98" + "2e598ff2-2f77-5635-0a64-d7767c06adfc", + "7f20e851-8298-2bf9-dd5b-e7266e72960d", + "47c5b25b-f85b-ea16-fbde-e4537c0b313d", + "9928ac7f-ceb7-0849-a06e-1bef416217a0", + "b9c0a331-da3a-e328-1278-64d043d02841" ], "owner": "2830994", "folders_order": [], - "id": "83ca6edc-27b6-8b6c-a84c-527ed84397fa" + "id": "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0" }, { "name": "Jobs", "description": "", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "order": [ - "eaa2997f-f200-e0ba-0771-5ec1fc358a77", - "4bf76f4b-f639-d339-736a-e58ba36f0248", - "f5836199-8766-ffb1-b817-fc2a7e5ff488", - "50d9ecef-c4ab-a026-52c1-36c9bd8fb472", - "8c60900b-220d-3e66-5a13-57fa5e006056", - "7bf89dbd-47e2-2c20-1631-fedccf836c8a" + "0d61dc14-c9de-aa3d-5454-3be191a8450e", + "89867ae6-c3f3-175c-5097-15e77e61d8e7", + "6e764461-fb2b-ad66-b37a-04d831c4dbad", + "3f4a8ed3-3976-92c7-c16e-0562858c975f", + "77ed2f51-37a6-4672-de17-7fe1de169c6d", + "384315b5-b8dc-a708-cf22-289093c2f363", + "5388bdf6-51ed-111e-938c-0eb569dde237" ], "owner": "2830994", "folders_order": [], - "id": "4e437aa6-f696-053e-8f1e-8b6a10c79015" + "id": "59294d8f-d424-590d-cfaa-e59efb36a843" }, { "name": "Measures", "description": "", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "order": [ - "303cab65-5daa-a9cc-b080-9e3786cd0aab", - "b40f3bc6-3235-5fde-cf7a-965fa3eef41e", - "7843c251-24ad-90c2-de8a-ad91641d1307", - "f94d1000-2f71-2c93-0f4a-2e8eae404694", - "8f188622-4280-6efc-9dee-fd73965cb21b", - "bd129fd6-9aaa-bcf5-7cfd-2925d08dabed" + "96a777d9-28c1-331e-48d3-0b9422db7122", + "4612699d-8772-4dd8-1b34-36141b8ccfdd", + "b2523dcc-6abd-af6e-8e0c-759ca5c8347d", + "c51c4335-5be3-c19b-85f9-01ce8dc94225", + "99ea9963-f0cc-8d74-2017-ec678c5dd951", + "a6a31a73-4b8c-7ba2-b245-3dc0f64d5f2f" ], "owner": "2830994", "folders_order": [ - "4abf2a62-be58-8693-7f1e-c0387535ba99" + "b74c083b-f9b7-05d4-f7fd-cb5556b5616b" ], - "id": "90bf25ee-3a44-f5a6-9862-415ada03390f" + "id": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17" }, { "name": "Metrics", "description": "", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "order": [ - "b0b96177-9ac0-c08c-2137-2c08bdf7ad2c", - "d5f212f2-604e-8573-60d8-bb267ac1ed20", - "c391d905-8393-91a0-61dc-a05302393bb6", - "34632a9a-f66c-72a3-91b8-6956489d7786" + "7e38446b-184c-938f-0686-502d2821cd27", + "b0f63207-b27b-fdf0-0001-6498ff7ac2c2", + "6db2c20d-06b1-7fdc-568c-c3c1768f1d78", + "0f9ca692-28eb-e79d-f2b0-ee28932afe37" ], "owner": "2830994", "folders_order": [], "auth": null, - "id": "48b99278-ba7b-eee0-10a5-91de99619dd8" + "id": "3b355665-0d22-f6ce-8a65-6ac44d514b71" }, { "name": "OrgnizationDimension", "description": "", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "order": [ - "da14517c-3b4b-db19-b029-086e2195375c", - "d9ba8d50-3489-e21d-8465-3d132f7ff90f", - "02d4d5c3-9181-5c37-0c9c-8d4ff7e2b4cf" + "04663618-688f-6beb-78f7-9561ed131a87", + "4e0a68f2-4c2d-ae64-0186-01471ed543d4", + "9cbd8fb7-f9c0-f1fa-301c-fe1565f2f423" ], "owner": "2830994", - "folder": "90bf25ee-3a44-f5a6-9862-415ada03390f", + "folder": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17", "folders_order": [], - "id": "4abf2a62-be58-8693-7f1e-c0387535ba99" + "id": "b74c083b-f9b7-05d4-f7fd-cb5556b5616b" } ], "folders_order": [ - "9cab795a-6c51-01da-5e13-f5abf5793a73", - "90bf25ee-3a44-f5a6-9862-415ada03390f", - "4e437aa6-f696-053e-8f1e-8b6a10c79015", - "48b99278-ba7b-eee0-10a5-91de99619dd8", - "83ca6edc-27b6-8b6c-a84c-527ed84397fa", - "7395e9e2-0ffa-a67e-459e-b09d199a3523" + "f7cebc34-4e5a-72f7-0272-f5c8dece342d", + "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17", + "59294d8f-d424-590d-cfaa-e59efb36a843", + "3b355665-0d22-f6ce-8a65-6ac44d514b71", + "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0", + "2d181fe4-1f72-5252-8e9f-79c715266962" ], "timestamp": 1509932685084, "owner": "2830994", @@ -121,10 +122,10 @@ "auth": null, "requests": [ { - "id": "02d4d5c3-9181-5c37-0c9c-8d4ff7e2b4cf", + "id": "04663618-688f-6beb-78f7-9561ed131a87", "headers": "", "headerData": [], - "url": "{{BASE_PATH}}/api/v1/org/measure/names", + "url": "{{BASE_PATH}}/api/v1/org", "queryParams": [], "pathVariables": {}, "pathVariableData": [], @@ -132,10 +133,10 @@ "data": null, "dataMode": "params", "version": 2, - "time": 1509332871323, - "name": "Get measure names group by org", - "description": "`GET /api/v1/orgWithMetricsName`", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "time": 1508996888357, + "name": "Get orgs for measure", + "description": "`GET /api/v1/org`", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "responses": [ { "status": "", @@ -143,7 +144,7 @@ "code": 200, "name": "OK" }, - "time": 5216, + "time": 50, "headers": [ { "name": "access-control-allow-headers", @@ -178,7 +179,7 @@ { "name": "date", "key": "date", - "value": "Mon, 30 Oct 2017 03:07:48 GMT", + "value": "Wed, 25 Oct 2017 05:55:00 GMT", "description": "The date and time that the message was sent" }, { @@ -190,7 +191,7 @@ ], "cookies": [], "mime": "", - "text": "{\"orgName\":[\"measureName_test_edit\",\"measureName_test_edit\",\"measureName1\"],\"test\":[\"measure1\"],\"ebay\":[\"new_measure_test_again\",\"third_measure\",\"fourth_measure\",\"fifth_measure\",\"third_measure\",\"measure\"]}", + "text": "[\"ebay\",\"test\",\"orgName\"]", "language": "json", "rawDataType": "text", "previewType": "text", @@ -199,35 +200,39 @@ "write": true, "empty": false, "failed": false, - "name": "Get measure names group by org example", - "id": "5e769d8b-96fa-50d5-907c-f304a6ded0d8", - "request": "8d77e0e0-62fd-242b-ea83-a7fc4829c778", + "id": "07738c49-6863-9615-0ccb-407402d83cfa", + "name": "Get orgs for measure example", + "isSample": true, + "scrollToResult": false, + "runTests": false, + "request": "06c34994-69fb-88ec-cfdd-c29308cbebcb", "owner": "2830994", - "requestObject": "{\"url\":\"{{BASE_PATH}}/api/v1/org/measure/names\",\"pathVariables\":{},\"pathVariableData\":[],\"queryParams\":[],\"headerData\":[],\"headers\":\"\",\"data\":null,\"method\":\"GET\",\"dataMode\":\"params\"}" + "requestObject": "{\"url\":\"http://localhost:8080/api/v1/org\",\"pathVariables\":{},\"pathVariableData\":[],\"queryParams\":[],\"headerData\":[],\"headers\":\"\",\"data\":null,\"method\":\"GET\",\"dataMode\":\"params\"}" } ], + "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "isFromCollection": true, - "collection_id": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", - "folder": "4abf2a62-be58-8693-7f1e-c0387535ba99", + "folder": "b74c083b-f9b7-05d4-f7fd-cb5556b5616b", "auth": null, "currentHelper": null, "helperAttributes": null }, { - "id": "24d58851-4ec5-f23e-1657-40f5343b541e", + "id": "0d61dc14-c9de-aa3d-5454-3be191a8450e", "headers": "", "headerData": [], - "url": "{{BASE_PATH}}/api/v1/metadata/hive/dbs", + "url": "{{BASE_PATH}}/api/v1/jobs", "queryParams": [], "pathVariables": {}, "pathVariableData": [], "method": "GET", "data": null, "dataMode": "params", - "time": 1508997670920, - "name": "Get database names", - "description": "`GET /api/v1/metadata/hive/dbs`\n \n #### Get all database names", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "version": 2, + "time": 1509005652378, + "name": "Get jobs", + "description": "`GET /api/v1/jobs`", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "responses": [ { "status": "", @@ -235,7 +240,7 @@ "code": 200, "name": "OK" }, - "time": 225, + "time": 129, "headers": [ { "name": "access-control-allow-headers", @@ -270,7 +275,7 @@ { "name": "date", "key": "date", - "value": "Wed, 25 Oct 2017 05:12:36 GMT", + "value": "Tue, 24 Oct 2017 12:01:29 GMT", "description": "The date and time that the message was sent" }, { @@ -282,7 +287,7 @@ ], "cookies": [], "mime": "", - "text": "[\"default\"]", + "text": "[\n {\n \"jobId\": 1,\n \"jobName\": \"job_name\",\n \"measureId\": 2,\n \"triggerState\": \"NORMAL\",\n \"nextFireTime\": 1515400080000,\n \"previousFireTime\": 1515399840000,\n \"cronExpression\": \"0 0/4 * * * ?\"\n }\n]", "language": "json", "rawDataType": "text", "previewType": "text", @@ -291,358 +296,315 @@ "write": true, "empty": false, "failed": false, - "id": "59261f8c-aea3-1d5e-a816-be8affeeca4b", - "name": "Get db names example", + "id": "d366913f-2765-00cf-beda-e7dd8a53668d", + "name": "Get jobs example", "isSample": true, "scrollToResult": false, "runTests": false, - "request": "5985157f-88de-dd0c-70c2-add0f6b7d9f8", - "owner": "2830994", - "requestObject": "{\"url\":\"{{BASE_PATH}}/api/v1/metadata/hive/dbs\",\"pathVariables\":{},\"pathVariableData\":[],\"queryParams\":[],\"headerData\":[],\"headers\":\"\",\"data\":null,\"method\":\"GET\",\"dataMode\":\"params\"}" + "request": { + "url": "{{BASE_PATH}}/api/v1/jobs", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [], + "headerData": [], + "headers": "", + "data": "", + "method": "GET", + "dataMode": "raw" + }, + "owner": "2830994" } ], - "collection_id": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", - "folder": "83ca6edc-27b6-8b6c-a84c-527ed84397fa", + "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", + "isFromCollection": true, + "folder": "59294d8f-d424-590d-cfaa-e59efb36a843", "auth": null, "currentHelper": null, "helperAttributes": null }, { - "id": "2bb01633-bd16-67d2-5ceb-11668629a556", + "id": "0f9ca692-28eb-e79d-f2b0-ee28932afe37", "headers": "", "headerData": [], - "url": "{{BASE_PATH}}/api/v1/version", - "queryParams": [], + "url": "{{BASE_PATH}}/api/v1/metrics/values?metricName=metricName", + "folder": "3b355665-0d22-f6ce-8a65-6ac44d514b71", + "queryParams": [ + { + "key": "metricName", + "value": "metricName", + "equals": true, + "description": "", + "enabled": true + } + ], + "events": null, "pathVariables": {}, "pathVariableData": [], - "method": "GET", - "data": null, - "dataMode": "params", + "method": "DELETE", + "data": [], + "dataMode": "raw", "version": 2, - "time": 1508997903989, - "name": "Get griffin version", - "description": "`GET /api/v1/version`", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "auth": null, + "time": 1517209675070, + "name": "Delete metric values by name", + "description": "`DELETE /api/v1/metrics/values`\n#### Request Parameters \n\nname | description | type | example value\n--- | --- | --- | ---\nmetricName | name of the metric values | String | metricName\n\n#### Response\nThe response body should have 'failures' field as empty if success, for example\n```\n{\n \"took\": 363,\n \"timed_out\": false,\n \"total\": 5,\n \"deleted\": 5,\n \"batches\": 1,\n \"version_conflicts\": 0,\n \"noops\": 0,\n \"retries\": {\n \"bulk\": 0,\n \"search\": 0\n },\n \"throttled_millis\": 0,\n \"requests_per_second\": -1,\n \"throttled_until_millis\": 0,\n \"failures\": []\n}\n```\nIt may return failed messages, for example\n```\n{\n \"timestamp\": 1517209504487,\n \"status\": 500,\n \"error\": \"Internal Server Error\",\n \"message\": \"Failed to delete metric values.\",\n \"exception\": \"java.net.ConnectException\",\n \"path\": \"/api/v1/metrics/values\"\n}\n```\nThere will be 'status' and 'error' fields in response if error happens, which correspond to HTTP status.\n\nThere may also be 'code' and 'message' fields, which will point out the cause.\n\nIf an exception happens at server, there will be an 'exception' field, which is the name of exception.", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "responses": [ { "status": "", "responseCode": { "code": 200, - "name": "OK" + "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": 63, + "time": 1014, "headers": [ { - "name": "access-control-allow-headers", - "key": "access-control-allow-headers", + "key": "Access-Control-Allow-Headers", "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "name": "Access-Control-Allow-Headers", "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", + "key": "Access-Control-Allow-Methods", "value": "POST, GET, OPTIONS, DELETE,PUT", + "name": "Access-Control-Allow-Methods", "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", + "key": "Access-Control-Allow-Origin", "value": "*", + "name": "Access-Control-Allow-Origin", "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", + "key": "Access-Control-Max-Age", "value": "3600", + "name": "Access-Control-Max-Age", "description": "Indicates how long the results of a preflight request can be cached in seconds." }, { - "name": "content-length", - "key": "content-length", - "value": "5", + "key": "Content-Length", + "value": "217", + "name": "Content-Length", "description": "The length of the response body in octets (8-bit bytes)" }, { - "name": "content-type", - "key": "content-type", - "value": "text/plain;charset=UTF-8", + "key": "Content-Type", + "value": "application/json", + "name": "Content-Type", "description": "The mime type of this content" }, { - "name": "date", - "key": "date", - "value": "Thu, 26 Oct 2017 05:45:09 GMT", + "key": "Date", + "value": "Mon, 29 Jan 2018 07:06:30 GMT", + "name": "Date", "description": "The date and time that the message was sent" } ], - "cookies": [], + "cookies": [ + { + "domain": "localhost", + "expirationDate": 2147483647, + "httpOnly": true, + "name": "JSESSIONID", + "path": "/", + "secure": false, + "url": "http://localhost:8080", + "value": "DC35BDC91FC450DE5D89D477E27FD19E" + } + ], "mime": "", - "text": "0.1.0", - "language": "plainText", - "rawDataType": "text", + "text": "{\"took\":363,\"timed_out\":false,\"total\":5,\"deleted\":5,\"batches\":1,\"version_conflicts\":0,\"noops\":0,\"retries\":{\"bulk\":0,\"search\":0},\"throttled_millis\":0,\"requests_per_second\":-1.0,\"throttled_until_millis\":0,\"failures\":[]}", + "language": "json", "previewType": "text", "searchResultScrolledTo": -1, "forceNoPretty": false, "write": true, "empty": false, "failed": false, - "name": "Get griffin version example", - "id": "b5ad0bff-6306-6b99-614e-e33d46ce7a86", - "request": "89c14d57-74a2-f5c9-96fd-4d9d0ff68e04", - "owner": "2830994", - "requestObject": "{\"url\":\"{{BASE_PATH}}/api/v1/version\",\"pathVariables\":{},\"pathVariableData\":[],\"queryParams\":[],\"headerData\":[],\"headers\":\"\",\"data\":null,\"method\":\"GET\",\"dataMode\":\"params\"}" + "code": 200, + "responseSize": { + "body": 217, + "header": 324, + "total": 541 + }, + "mimeType": "text", + "fileName": "response.json", + "dataURI": "data:application/json;base64, eyJ0b29rIjozNjMsInRpbWVkX291dCI6ZmFsc2UsInRvdGFsIjo1LCJkZWxldGVkIjo1LCJiYXRjaGVzIjoxLCJ2ZXJzaW9uX2NvbmZsaWN0cyI6MCwibm9vcHMiOjAsInJldHJpZXMiOnsiYnVsayI6MCwic2VhcmNoIjowfSwidGhyb3R0bGVkX21pbGxpcyI6MCwicmVxdWVzdHNfcGVyX3NlY29uZCI6LTEuMCwidGhyb3R0bGVkX3VudGlsX21pbGxpcyI6MCwiZmFpbHVyZXMiOltdfQ==", + "name": "Delete metric values by name example", + "id": "15a930eb-668d-237d-2275-c84ce0dcce68", + "request": { + "url": "{{BASE_PATH}}/api/v1/metrics/values?metricName=metricName", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [ + { + "key": "metricName", + "value": "metricName", + "equals": true, + "description": "", + "enabled": true + } + ], + "headerData": [], + "headers": "", + "data": "", + "method": "DELETE", + "dataMode": "raw" + }, + "owner": "2830994" } ], - "collection_id": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", - "isFromCollection": true, - "folder": "9cab795a-6c51-01da-5e13-f5abf5793a73", - "auth": null, + "rawModeData": "", + "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "currentHelper": null, "helperAttributes": null }, { - "id": "2e76c537-40a2-2d85-acb3-2f39a0b5ec98", + "id": "2e598ff2-2f77-5635-0a64-d7767c06adfc", "headers": "", "headerData": [], - "url": "{{BASE_PATH}}/api/v1/metadata/hive/tables?db=default", - "queryParams": [ - { - "key": "db", - "value": "default", - "equals": true, - "description": "", - "enabled": true - } - ], + "url": "{{BASE_PATH}}/api/v1/metadata/hive/dbs/tables", + "queryParams": [], "pathVariables": {}, "pathVariableData": [], "method": "GET", "data": null, "dataMode": "params", "version": 2, - "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": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "time": 1508997646817, + "name": "Get all database tables metadata", + "description": "`GET /api/v1/metadata/hive/dbs/tables`", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "responses": [ { "status": "", "responseCode": { "code": 200, - "name": "OK" + "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": 28, + "time": 212, "headers": [ { - "name": "access-control-allow-headers", - "key": "access-control-allow-headers", + "key": "Access-Control-Allow-Headers", "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "name": "Access-Control-Allow-Headers", "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", + "key": "Access-Control-Allow-Methods", "value": "POST, GET, OPTIONS, DELETE,PUT", + "name": "Access-Control-Allow-Methods", "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", + "key": "Access-Control-Allow-Origin", "value": "*", + "name": "Access-Control-Allow-Origin", "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", + "key": "Access-Control-Max-Age", "value": "3600", + "name": "Access-Control-Max-Age", "description": "Indicates how long the results of a preflight request can be cached in seconds." }, { - "name": "content-type", - "key": "content-type", + "key": "Content-Type", "value": "application/json;charset=UTF-8", + "name": "Content-Type", "description": "The mime type of this content" }, { - "name": "date", - "key": "date", - "value": "Wed, 25 Oct 2017 05:50:07 GMT", + "key": "Date", + "value": "Wed, 07 Feb 2018 09:17:40 GMT", + "name": "Date", "description": "The date and time that the message was sent" }, { - "name": "transfer-encoding", - "key": "transfer-encoding", + "key": "Transfer-Encoding", "value": "chunked", + "name": "Transfer-Encoding", "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}]", + "text": "{\"default\":[{\"tableName\":\"demo_src\",\"dbName\":\"default\",\"owner\":\"root\",\"createTime\":1517993141,\"lastAccessTime\":0,\"retention\":0,\"sd\":{\"cols\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"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\":\"|\"},\"setSerializationLib\":true,\"setName\":false,\"parametersSize\":2 ,\"setParameters\":true},\"bucketCols\":[],\"sortCols\":[],\"parameters\":{},\"skewedInfo\":{\"skewedColNames\":[],\"skewedColValues\":[],\"skewedColValueLocationMaps\":{},\"skewedColNamesSize\":0,\"skewedColNamesIterator\":[],\"setSkewedColNames\":true,\"skewedColValuesSize\":0,\"skewedColValuesIterator\":[],\"setSkewedColValues\":true,\"skewedColValueLocationMapsSize\":0,\"setSkewedColValueLocationMaps\":true},\"storedAsSubDirectories\":false,\"colsSize\":3,\"colsIterator\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"setCols\":true,\"setLocation\":true,\"setInputFormat\":true,\"setOutputFormat\":true,\"setCompressed\":true,\"setNumBuckets\":true,\"setSerdeInfo\":true,\"bucketColsSize\":0,\"bucket ColsIterator\":[],\"setBucketCols\":true,\"sortColsSize\":0,\"sortColsIterator\":[],\"setSortCols\":true,\"setSkewedInfo\":true,\"setStoredAsSubDirectories\":true,\"parametersSize\":0,\"setParameters\":true},\"partitionKeys\":[{\"name\":\"dt\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"hour\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"parameters\":{\"EXTERNAL\":\"TRUE\",\"transient_lastDdlTime\":\"1517993141\"},\"viewOriginalText\":null,\"viewExpandedText\":null,\"tableType\":\"EXTERNAL_TABLE\",\"privileges\":null,\"temporary\":false,\"partitionKeysSize\":2,\"setSd\":true,\"partitionKeysIterator\":[{\"name\":\"dt\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"hour\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"setPartitionKeys\":true,\"parametersSize\":2,\"setP arameters\":true,\"setViewOriginalText\":false,\"setViewExpandedText\":false,\"setTableType\":true,\"setPrivileges\":false,\"setTemporary\":false,\"setTableName\":true,\"setDbName\":true,\"setOwner\":true,\"setCreateTime\":true,\"setLastAccessTime\":true,\"setRetention\":true},{\"tableName\":\"demo_tgt\",\"dbName\":\"default\",\"owner\":\"root\",\"createTime\":1517993141,\"lastAccessTime\":0,\"retention\":0,\"sd\":{\"cols\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"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,\"numBucke ts\":-1,\"serdeInfo\":{\"name\":null,\"serializationLib\":\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\",\"parameters\":{\"field.delim\":\"|\",\"serialization.format\":\"|\"},\"setSerializationLib\":true,\"setName\":false,\"parametersSize\":2,\"setParameters\":true},\"bucketCols\":[],\"sortCols\":[],\"parameters\":{},\"skewedInfo\":{\"skewedColNames\":[],\"skewedColValues\":[],\"skewedColValueLocationMaps\":{},\"skewedColNamesSize\":0,\"skewedColNamesIterator\":[],\"setSkewedColNames\":true,\"skewedColValuesSize\":0,\"skewedColValuesIterator\":[],\"setSkewedColValues\":true,\"skewedColValueLocationMapsSize\":0,\"setSkewedColValueLocationMaps\":true},\"storedAsSubDirectories\":false,\"colsSize\":3,\"colsIterator\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"desc\",\"type\":\"string\",\"commen t\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"setCols\":true,\"setLocation\":true,\"setInputFormat\":true,\"setOutputFormat\":true,\"setCompressed\":true,\"setNumBuckets\":true,\"setSerdeInfo\":true,\"bucketColsSize\":0,\"bucketColsIterator\":[],\"setBucketCols\":true,\"sortColsSize\":0,\"sortColsIterator\":[],\"setSortCols\":true,\"setSkewedInfo\":true,\"setStoredAsSubDirectories\":true,\"parametersSize\":0,\"setParameters\":true},\"partitionKeys\":[{\"name\":\"dt\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"hour\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"parameters\":{\"EXTERNAL\":\"TRUE\",\"transient_lastDdlTime\":\"1517993141\"},\"viewOriginalText\":null,\"viewExpandedText\":null,\"tableType\":\"EXTERNAL_TABLE\",\"privileges\":null,\"temporary\":false,\"partitionKeysSize\":2,\"setSd\":true,\"partitionKeysIterator\":[{\"name\":\"dt\",\"type\": \"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"hour\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"setPartitionKeys\":true,\"parametersSize\":2,\"setParameters\":true,\"setViewOriginalText\":false,\"setViewExpandedText\":false,\"setTableType\":true,\"setPrivileges\":false,\"setTemporary\":false,\"setTableName\":true,\"setDbName\":true,\"setOwner\":true,\"setCreateTime\":true,\"setLastAccessTime\":true,\"setRetention\":true}]}", "language": "json", - "rawDataType": "text", "previewType": "text", "searchResultScrolledTo": -1, "forceNoPretty": false, "write": true, "empty": false, "failed": false, - "id": "5b83fd03-ede8-88d1-edc2-930a11f6beab", - "name": "Get tables metadata example", - "isSample": true, - "scrollToResult": false, - "runTests": false, - "request": "69bec869-3ce7-c507-8c40-a6fab234a957", - "owner": "2830994", - "requestObject": "{\"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\"}" + "code": 200, + "responseSize": { + "body": 5791, + "header": 345, + "total": 6136 + }, + "mimeType": "text", + "fileName": "response.json", + "dataURI": "data:application/json;base64, eyJkZWZhdWx0IjpbeyJ0YWJsZU5hbWUiOiJkZW1vX3NyYyIsImRiTmFtZSI6ImRlZmF1bHQiLCJvd25lciI6InJvb3QiLCJjcmVhdGVUaW1lIjoxNTE3OTkzMTQxLCJsYXN0QWNjZXNzVGltZSI6MCwicmV0ZW50aW9uIjowLCJzZCI6eyJjb2xzIjpbeyJuYW1lIjoiaWQiLCJ0eXBlIjoiYmlnaW50IiwiY29tbWVudCI6bnVsbCwic2V0TmFtZSI6dHJ1ZSwic2V0VHlwZSI6dHJ1ZSwic2V0Q29tbWVudCI6ZmFsc2V9LHsibmFtZSI6ImFnZSIsInR5cGUiOiJpbnQiLCJjb21tZW50IjpudWxsLCJzZXROYW1lIjp0cnVlLCJzZXRUeXBlIjp0cnVlLCJzZXRDb21tZW50IjpmYWxzZX0seyJuYW1l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6bnVsbCwidGFibGVUeXBlIjoiRVhURVJOQUxfVEFCTEUi LCJwcml2aWxlZ2VzIjpudWxsLCJ0ZW1wb3JhcnkiOmZhbHNlLCJwYXJ0aXRpb25LZXlzU2l6ZSI6Miwic2V0U2QiOnRydWUsInBhcnRpdGlvbktleXNJdGVyYXRvciI6W3sibmFtZSI6ImR0IiwidHlwZSI6InN0cmluZyIsImNvbW1lbnQiOm51bGwsInNldE5hbWUiOnRydWUsInNldFR5cGUiOnRydWUsInNldENvbW1lbnQiOmZhbHNlfSx7Im5hbWUiOiJob3VyIiwidHlwZSI6InN0cmluZyIsImNvbW1lbnQiOm51bGwsInNldE5hbWUiOnRydWUsInNldFR5cGUiOnRydWUsInNldENvbW1lbnQiOmZhbHNlfV0sInNldFBhcnRpdGlvbktleXMiOnRydWUsInBhcmFtZXRlcnNTaXplIjoyLCJzZXRQYXJhbWV0ZXJzIjp0cnVlLCJzZXRWaWV3T3JpZ2luYWxUZXh0IjpmYWxzZSwic2V0Vmlld0V4cGFuZGVkVGV4dCI6ZmFsc2UsInNldFRhYmxlVHlwZSI6dHJ1ZSwic2V0UHJpdmlsZWdlcyI6ZmFsc2UsInNldFRlbXBvcmFyeSI6ZmFsc2UsInNldFRhYmxlTmFtZSI6dHJ1ZSwic2V0RGJOYW1lIjp0cnVlLCJzZXRPd25lciI6dHJ1ZSwic2V0Q3JlYXRlVGltZSI6dHJ1ZSwic2V0TGFzdEFjY2Vzc1RpbWUiOnRydWUsInNldFJldGVudGlvbiI6dHJ1ZX1dfQ==", + "name": "Get all database tables metadata example", + "id": "ea6795ee-5dfd-bb6c-ce2a-1973568d288b", + "request": { + "url": "{{BASE_PATH}}/api/v1/metadata/hive/dbs/tables", + "pathVariables": {}, + "pathVariableData": [], + "queryParams": [], + "headerData": [], + "headers": "", + "data": null, + "method": "GET", + "dataMode": "params" + } } ], - "collection_id": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", - "folder": "83ca6edc-27b6-8b6c-a84c-527ed84397fa", + "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", + "folder": "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0", "auth": null, "currentHelper": null, "helperAttributes": null }, { - "id": "303cab65-5daa-a9cc-b080-9e3786cd0aab", + "id": "384315b5-b8dc-a708-cf22-289093c2f363", "headers": "", "headerData": [], - "url": "{{BASE_PATH}}/api/v1/measures", - "folder": "90bf25ee-3a44-f5a6-9862-415ada03390f", - "queryParams": [], - "pathVariables": {}, - "pathVariableData": [], - "method": "GET", - "data": null, - "dataMode": "params", - "version": 2, - "time": 1516340119702, - "name": "Get measures", - "description": "`GET /api/v1/measures`", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK" - }, - "time": 89, - "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 02:42:35 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": "[\n {\n \"id\": 1,\n \"name\": \"measureName\",\n \"description\": \"measure description\",\n \"organization\": \"orgName\",\n \"owner\": \"test\",\n \"deleted\": false,\n \"dq.type\": \"accuracy\",\n \"process.type\": \"batch\",\n \"data.sources\": [\n {\n \"id\": 1,\n \"name\": \"source\",\n \"connectors\": [\n {\n \"id\": 1,\n \"name\": \"connector_name_source\",\n \"type\": \"HIVE\",\n \"version\": \"1.2\",\n \"predicates\": [\n {\n \"id\": 1,\n \"type\": \"file.exist\",\n \"config\": {\n \"root.path\": \"hdfs:///griffin/demo_src\",\n \"path\": \"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"\n }\n }\n ],\n \"data.unit\": \"1h\",\n \"config\": {\n \"database\": \"default\",\n \"table.name\": \"demo_src\",\n \"where\": \"dt=#YYYYMMdd# AND hour=#HH#\"\n }\n }\n ]\n },\n {\n \"id\": 2,\n \"name\": \"target\",\n \"connectors\": [\n {\n \"id\": 2,\n \"name\": \"connector_name_target\",\n \"type\": \"HIVE\",\n \"version\": \"1.2\",\n \"predicates\": [\n {\n \"id\": 2,\n \"type\": \"file.exist\",\n \"config\": {\n \"root.path\": \"hdfs:///griffin/demo_src\",\n \"path\": \"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"\n }\n }\n ],\n \"data.unit\": \"1h\",\n \"config\": {\n \"database\": \"default\",\n \"table.name\": \"demo_src\",\n \"where\": \"dt=#YYYYMMdd# AND hour=#HH#\"\n }\n }\n ]\n }\n ],\n \"evaluate.rule\": {\n \"id\": 1,\n \"rules\": [\n {\n \"id\": 1,\n \"rule\": \"source.desc=target.desc\",\n \"name\": \"rule_name\",\n \"description\": \"Total count\",\n \"dsl.type\": \"griffin-dsl\",\n \"dq.type\": \"accuracy\",\n \"details\": {}\n }\n ]\n },\n \"measure.type\": \"griffin\"\n },\n {\n \"id\": 2,\n \"name\": \"external_name\",\n \"description\": \" test measure\",\n \"organization\": \"orgName\",\n \"owner\": \"test\",\n \"deleted\": false,\n \"metricName\": \"metricName\",\n \"measure.type\": \"external\"\n }\n]", - "language": "json", - "rawDataType": "text", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "id": "7100976c-4229-efbc-b835-1799decac706", - "name": "Get measures example", - "isSample": true, - "scrollToResult": false, - "runTests": false, - "request": { - "url": "{{BASE_PATH}}/api/v1/measures", - "pathVariables": {}, - "pathVariableData": [], - "queryParams": [], - "headerData": [], - "headers": "", - "data": null, - "method": "GET", - "dataMode": "params" - }, - "owner": "2830994" - } - ], - "auth": null, - "collection_id": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", - "currentHelper": null, - "helperAttributes": null - }, - { - "id": "34632a9a-f66c-72a3-91b8-6956489d7786", - "headers": "", - "headerData": [], - "url": "{{BASE_PATH}}/api/v1/metrics/values?metricName=metricName", - "folder": "48b99278-ba7b-eee0-10a5-91de99619dd8", + "url": "{{BASE_PATH}}/api/v1/jobs?jobName=job_name", + "folder": "59294d8f-d424-590d-cfaa-e59efb36a843", "queryParams": [ { - "key": "metricName", - "value": "metricName", + "key": "jobName", + "value": "job_name", "equals": true, "description": "", "enabled": true } ], - "events": null, + "events": [], "pathVariables": {}, "pathVariableData": [], "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, + "data": null, + "dataMode": "params", "auth": null, - "time": 1517209675070, - "name": "Delete metric values by name", - "description": "`DELETE /api/v1/metrics/values`\n#### Request Parameters \n\nname | description | type | example value\n--- | --- | --- | ---\nmetricName | name of the metric values | String | metricName\n\n#### Response\nThe response body should have 'failures' field as empty if success, for example\n```\n{\n \"took\": 363,\n \"timed_out\": false,\n \"total\": 5,\n \"deleted\": 5,\n \"batches\": 1,\n \"version_conflicts\": 0,\n \"noops\": 0,\n \"retries\": {\n \"bulk\": 0,\n \"search\": 0\n },\n \"throttled_millis\": 0,\n \"requests_per_second\": -1,\n \"throttled_until_millis\": 0,\n \"failures\": []\n}\n```\nIt may return failed messages, for example\n```\n{\n \"timestamp\": 1517209504487,\n \"status\": 500,\n \"error\": \"Internal Server Error\",\n \"message\": \"Failed to delete metric values.\",\n \"exception\": \"java.net.ConnectException\",\n \"path\": \"/api/v1/metrics/values\"\n}\n```\nThere will be 'status' and 'error' fields in response if error happens, which correspond to HTTP status, and there may also be 'code' and 'message' fields, which will point out the cause. If an exception happens at server, there will be an 'exception' field, which is the name of exception.", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "time": 1517997648869, + "name": "Delete job by name", + "description": "`DELETE /api/v1/jobs`\n#### Request Parameters \n\nname | description | type | example value\n--- | --- | --- | ---\njobName | job name | String | job_name\n\n#### Response\nThe response body should be empty if no error happens, and the HTTP status is (204, \"No Content\").\n\nIt may return failed messages. For example\n```\n{\n \"timestamp\": 1517208660250,\n \"status\": 404,\n \"error\": \"Not Found\",\n \"code\": 40403,\n \"message\": \"Job name does not exist\",\n \"path\": \"/api/v1/jobs\"\n}\n```\nThere will be 'status' and 'error' fields in response if error happens, which correspond to HTTP status.\n\nThere may also be 'code' and 'message' fields, which will point out the cause.\n\nIf an exception happens at server, there will be an 'exception' field, which is the name of exception.", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "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." + "code": 204, + "name": "No Content", + "detail": "The server successfully processed the request, but is not returning any content." }, - "time": 1014, + "time": 40, "headers": [ { "key": "Access-Control-Allow-Headers", @@ -669,20 +631,8 @@ "description": "Indicates how long the results of a preflight request can be cached in seconds." }, { - "key": "Content-Length", - "value": "217", - "name": "Content-Length", - "description": "The length of the response body in octets (8-bit bytes)" - }, - { - "key": "Content-Type", - "value": "application/json", - "name": "Content-Type", - "description": "The mime type of this content" - }, - { "key": "Date", - "value": "Mon, 29 Jan 2018 07:06:30 GMT", + "value": "Mon, 29 Jan 2018 06:50:06 GMT", "name": "Date", "description": "The date and time that the message was sent" } @@ -700,33 +650,33 @@ } ], "mime": "", - "text": "{\"took\":363,\"timed_out\":false,\"total\":5,\"deleted\":5,\"batches\":1,\"version_conflicts\":0,\"noops\":0,\"retries\":{\"bulk\":0,\"search\":0},\"throttled_millis\":0,\"requests_per_second\":-1.0,\"throttled_until_millis\":0,\"failures\":[]}", - "language": "json", + "text": "", + "language": "plain", "previewType": "text", "searchResultScrolledTo": -1, "forceNoPretty": false, "write": true, "empty": false, "failed": false, - "code": 200, + "code": 204, "responseSize": { - "body": 217, - "header": 324, - "total": 541 + "body": 0, + "header": 279, + "total": 279 }, "mimeType": "text", - "fileName": "response.json", - "dataURI": "data:application/json;base64, eyJ0b29rIjozNjMsInRpbWVkX291dCI6ZmFsc2UsInRvdGFsIjo1LCJkZWxldGVkIjo1LCJiYXRjaGVzIjoxLCJ2ZXJzaW9uX2NvbmZsaWN0cyI6MCwibm9vcHMiOjAsInJldHJpZXMiOnsiYnVsayI6MCwic2VhcmNoIjowfSwidGhyb3R0bGVkX21pbGxpcyI6MCwicmVxdWVzdHNfcGVyX3NlY29uZCI6LTEuMCwidGhyb3R0bGVkX3VudGlsX21pbGxpcyI6MCwiZmFpbHVyZXMiOltdfQ==", - "name": "Delete metric values by name example", - "id": "8b3e405e-fa71-8bcd-2ab4-f603f7424a60", + "fileName": "response.txt", + "dataURI": "data:text/plain;base64, ", + "name": "Delete job by name example", + "id": "5f686e20-4059-98f6-2111-254ea0bff191", "request": { - "url": "{{BASE_PATH}}/api/v1/metrics/values?metricName=metricName", + "url": "{{BASE_PATH}}/api/v1/jobs?jobName=job_name", "pathVariables": {}, "pathVariableData": [], "queryParams": [ { - "key": "metricName", - "value": "metricName", + "key": "jobName", + "value": "job_name", "equals": true, "description": "", "enabled": true @@ -734,22 +684,22 @@ ], "headerData": [], "headers": "", - "data": "", + "data": null, "method": "DELETE", - "dataMode": "raw" - } + "dataMode": "params" + }, + "owner": "2830994" } ], "currentHelper": null, - "helperAttributes": null, - "rawModeData": "" + "helperAttributes": null }, { - "id": "4bf76f4b-f639-d339-736a-e58ba36f0248", + "id": "3f4a8ed3-3976-92c7-c16e-0562858c975f", "headers": "", "headerData": [], "url": "{{BASE_PATH}}/api/v1/jobs/health", - "folder": "4e437aa6-f696-053e-8f1e-8b6a10c79015", + "folder": "59294d8f-d424-590d-cfaa-e59efb36a843", "queryParams": [], "pathVariables": {}, "pathVariableData": [], @@ -759,7 +709,7 @@ "time": 1515396046330, "name": "Get job healthy statistics", "description": "`GET /api/v1/jobs/health`\n\n#### Response Body Sample\n```\n{\n \"healthyJobCount\": 1,\n \"jobCount\": 2\n}\n```", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "responses": [ { "status": "", @@ -823,7 +773,7 @@ "write": true, "empty": false, "failed": false, - "id": "b1b0dcbd-eb24-556f-bbe0-e292c88a76ba", + "id": "ceaa8bbe-0bb1-feb0-2847-8fdcdfa65ca6", "name": "Get job healthy statistics example", "isSample": true, "scrollToResult": false, @@ -842,46 +792,45 @@ "owner": "2830994" } ], - "collection_id": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "auth": null, "currentHelper": null, "helperAttributes": null }, { - "id": "50d9ecef-c4ab-a026-52c1-36c9bd8fb472", + "id": "4612699d-8772-4dd8-1b34-36141b8ccfdd", "headers": "", "headerData": [], - "url": "{{BASE_PATH}}/api/v1/jobs?jobName=job_name", - "folder": "4e437aa6-f696-053e-8f1e-8b6a10c79015", - "queryParams": [ + "url": "{{BASE_PATH}}/api/v1/measures/:id", + "folder": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17", + "queryParams": [], + "events": [], + "pathVariables": { + "id": "4" + }, + "pathVariableData": [ { - "key": "jobName", - "value": "job_name", - "equals": true, - "description": "", - "enabled": true + "key": "id", + "value": "4" } ], - "events": [], - "pathVariables": {}, - "pathVariableData": [], - "method": "DELETE", + "method": "GET", "data": null, "dataMode": "params", "auth": null, - "time": 1517208694248, - "name": "Delete job by name", - "description": "`DELETE /api/v1/jobs`\n#### Request Parameters \n\nname | description | type | example value\n--- | --- | --- | ---\njobName | job name | String | job_name\n\n#### Response\nThe response body should be empty if no error happens, and the HTTP status is (204, \"No Content\").\nIt may return failed messages. For example\n```\n{\n \"timestamp\": 1517208660250,\n \"status\": 404,\n \"error\": \"Not Found\",\n \"code\": 40403,\n \"message\": \"Job name does not exist\",\n \"path\": \"/api/v1/jobs\"\n}\n```\nThere will be 'status' and 'error' fields in response if error happens, which correspond to HTTP status, and there may also be 'code' and 'message' fields, which will point out the cause. If an exception happens at server, there will be an 'exception' field, which is the name of exception.", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "time": 1517996863123, + "name": "Get measure by id", + "description": "`GET /api/v1/measures/{id}`\n#### Path Variable\n- id -`required` `Long` measure id\n\n#### Request Sample\n\n`/api/v1/measures/1`", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "responses": [ { "status": "", "responseCode": { - "code": 204, - "name": "No Content", - "detail": "The server successfully processed the request, but is not returning any content." + "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": 40, + "time": 203, "headers": [ { "key": "Access-Control-Allow-Headers", @@ -908,61 +857,61 @@ "description": "Indicates how long the results of a preflight request can be cached in seconds." }, { + "key": "Content-Type", + "value": "application/json;charset=UTF-8", + "name": "Content-Type", + "description": "The mime type of this content" + }, + { "key": "Date", - "value": "Mon, 29 Jan 2018 06:50:06 GMT", + "value": "Wed, 07 Feb 2018 09:47:06 GMT", "name": "Date", "description": "The date and time that the message was sent" - } - ], - "cookies": [ + }, { - "domain": "localhost", - "expirationDate": 2147483647, - "httpOnly": true, - "name": "JSESSIONID", - "path": "/", - "secure": false, - "url": "http://localhost:8080", - "value": "DC35BDC91FC450DE5D89D477E27FD19E" + "key": "Transfer-Encoding", + "value": "chunked", + "name": "Transfer-Encoding", + "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": "", - "language": "plain", + "text": "{\"measure.type\":\"griffin\",\"id\":4,\"name\":\"measure_no_predicate_day\",\"owner\":\"test\",\"description\":null,\"organization\":null,\"deleted\":false,\"dq.type\":\"accuracy\",\"process.type\":\"batch\",\"data.sources\":[{\"id\":6,\"name\":\"source\",\"connectors\":[{\"id\":6,\"name\":\"source1517994133405\",\"type\":\"HIVE\",\"version\":\"1.2\",\"predicates\":[],\"data.unit\":\"1day\",\"data.time.zone\":\"UTC(WET,GMT)\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_src\",\"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"}}]},{\"id\":7,\"name\":\"target\",\"connectors\":[{\"id\":7,\"name\":\"target1517994142573\",\"type\":\"HIVE\",\"version\":\"1.2\",\"predicates\":[],\"data.unit\":\"1day\",\"data.time.zone\":\"UTC(WET,GMT)\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_tgt\",\"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"}}]}],\"evaluate.rule\":{\"id\":4,\"rules\":[{\"id\":4,\"rule\":\"source.age=target.age AND source.desc=target.desc\",\"name\":\"ac curacy\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"accuracy\"}]},\"measure.type\":\"griffin\"}", + "language": "json", "previewType": "text", "searchResultScrolledTo": -1, "forceNoPretty": false, "write": true, "empty": false, "failed": false, - "code": 204, + "code": 200, "responseSize": { - "body": 0, - "header": 279, - "total": 279 + "body": 928, + "header": 345, + "total": 1273 }, "mimeType": "text", - "fileName": "response.txt", - "dataURI": "data:text/plain;base64, ", - "name": "Delete job by name example", - "id": "2d39f622-9517-61eb-b792-52bae3e7cd74", + "fileName":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iJzb3VyY2UuYWdlPXRhcmdldC5hZ2UgQU5EIHNvdXJjZS5kZXNjPXRhcmdldC5kZXNjIiwibmFtZSI6ImFjY3VyYWN5IiwiZHNsLnR5cGUiOiJncmlmZmluLWRzbCIsImRxLnR5cGUiOiJhY2N1cmFjeSJ9XX0sIm1lYXN1cmUudHlwZSI6ImdyaWZmaW4ifQ==", + "name": "Get measure by id example", + "id": "06c85ba7-3235-95b8-75c9-7d63e947a11a", "request": { - "url": "{{BASE_PATH}}/api/v1/jobs?jobName=job_name", - "pathVariables": {}, - "pathVariableData": [], - "queryParams": [ + "url": "{{BASE_PATH}}/api/v1/measures/:id", + "pathVariables": { + "id": "4" + }, + "pathVariableData": [ { - "key": "jobName", - "value": "job_name", - "equals": true, - "description": "", - "enabled": true + "key": "id", + "value": "4" } ], + "queryParams": [], "headerData": [], "headers": "", "data": null, - "method": "DELETE", + "method": "GET", "dataMode": "params" } } @@ -971,7 +920,7 @@ "helperAttributes": null }, { - "id": "733baba6-aa05-fe53-869e-ca6ea85ce389", + "id": "47c5b25b-f85b-ea16-fbde-e4537c0b313d", "headers": "", "headerData": [], "url": "{{BASE_PATH}}/api/v1/metadata/hive/tables/names?db=default", @@ -992,7 +941,7 @@ "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": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "responses": [ { "status": "", @@ -1056,7 +1005,7 @@ "write": true, "empty": false, "failed": false, - "id": "540caaf3-e9ec-3c0c-bbcc-eba18869b8fe", + "id": "525e2f07-7104-816d-7ac9-76052caa3370", "name": "Get table names example", "isSample": true, "scrollToResult": false, @@ -1066,43 +1015,43 @@ "requestObject": "{\"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\"}" } ], - "collection_id": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", - "folder": "83ca6edc-27b6-8b6c-a84c-527ed84397fa", + "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", + "folder": "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0", "auth": null, "currentHelper": null, "helperAttributes": null }, { - "id": "7843c251-24ad-90c2-de8a-ad91641d1307", + "id": "4e0a68f2-4c2d-ae64-0186-01471ed543d4", "headers": "", "headerData": [], - "url": "{{BASE_PATH}}/api/v1/measures/owner/:owner", + "url": "{{BASE_PATH}}/api/v1/org/:org", "queryParams": [], "pathVariables": { - "owner": "test" + "org": "test" }, "pathVariableData": [ { - "key": "owner", + "key": "org", "value": "test" } ], "method": "GET", "data": null, "dataMode": "params", - "version": 2, - "time": 1508998395708, - "name": "Get measures by owner", - "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": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "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": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "responses": [ { "status": "", "responseCode": { "code": 200, - "name": "OK" - }, - "time": 67, + "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", @@ -1137,7 +1086,7 @@ { "name": "date", "key": "date", - "value": "Thu, 26 Oct 2017 06:12:10 GMT", + "value": "Thu, 26 Oct 2017 06:10:23 GMT", "description": "The date and time that the message was sent" }, { @@ -1149,7 +1098,7 @@ ], "cookies": [], "mime": "", - "text": "[\n {\n \"measure.type\": \"griffin\",\n \"id\": 1,\n \"name\": \"measureName\",\n \"description\": \"measure description\",\n \"organization\": \"orgName\",\n \"owner\": \"test\",\n \"deleted\": false,\n \"dq.type\": \"accuracy\",\n \"process.type\": \"batch\",\n \"data.sources\": [\n {\n \"id\": 1,\n \"name\": \"source\",\n \"connectors\": [\n {\n \"id\": 1,\n \"name\": \"connector_name_source\",\n \"type\": \"HIVE\",\n \"version\": \"1.2\",\n \"predicates\": [\n {\n \"id\": 1,\n \"type\": \"file.exist\",\n \"config\": {\n \"root.path\": \"hdfs:///griffin/d emo_src\",\n \"path\": \"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"\n }\n }\n ],\n \"data.unit\": \"1h\",\n \"config\": {\n \"database\": \"default\",\n \"table.name\": \"demo_src\",\n \"where\": \"dt=#YYYYMMdd# AND hour=#HH#\"\n }\n }\n ]\n },\n {\n \"id\": 2,\n \"name\": \"target\",\n \"connectors\": [\n {\n \"id\": 2,\n \"name\": \"connector_name_target\",\n \"type\": \"HIVE\",\n \"version\": \"1.2\",\n \"predicates\": [\n {\n \"id\": 2,\n \"type\": \"file.exist\",\n \"config\": {\n \"root.path\": \"hdfs:///griffin/demo_src\",\n \"path\": \"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"\n }\n }\n ],\n \"data.unit\": \"1h\",\n \"config\": {\n \"database\": \"default\",\n \"table.name\": \"demo_src\",\n \"where\": \"dt=#YYYYMMdd# AND hour=#HH#\"\n }\n }\n ]\n }\n ],\n \"evaluate.rule\": {\n \"id\": 1,\n \"rules\": [\n {\n \"id\": 1,\n \"rule\": \"source.desc=target.desc\",\n \"name\": \"rule_name\",\n \"descri ption\": \"Total count\",\n \"dsl.type\": \"griffin-dsl\",\n \"dq.type\": \"accuracy\",\n \"details\": {}\n }\n ]\n }\n },\n {\n \"measure.type\": \"external\",\n \"id\": 2,\n \"name\": \"external_name\",\n \"description\": \" test measure\",\n \"organization\": \"orgName\",\n \"owner\": \"test\",\n \"deleted\": false,\n \"metricName\": \"metricName\"\n }\n]", + "text": "[\"measure1\"]", "language": "json", "rawDataType": "text", "previewType": "text", @@ -1158,45 +1107,26 @@ "write": true, "empty": false, "failed": false, - "id": "8cfd0eb7-87bb-3431-2e52-11187d8c5071", - "name": "Get measures by owner example", - "isSample": true, - "scrollToResult": false, - "runTests": false, - "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" - }, - "owner": "2830994" + "name": "Get measure names by org example", + "id": "0523ac28-eacd-87b2-e346-cf177b267f79", + "request": "9f6e5105-1aaf-22a0-f88a-dbc25277751d", + "owner": "2830994", + "requestObject": "{\"url\":\"{{BASE_PATH}}/api/v1/org/:org\",\"pathVariables\":{\"org\":\"test\"},\"pathVariableData\":[{\"key\":\"org\",\"value\":\"test\"}],\"queryParams\":[],\"headerData\":[],\"headers\":\"\",\"data\":null,\"method\":\"GET\",\"dataMode\":\"params\"}" } ], "isFromCollection": true, - "collection_id": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", - "folder": "90bf25ee-3a44-f5a6-9862-415ada03390f", + "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", + "folder": "b74c083b-f9b7-05d4-f7fd-cb5556b5616b", "auth": null, "currentHelper": null, "helperAttributes": null }, { - "id": "7bf89dbd-47e2-2c20-1631-fedccf836c8a", + "id": "5388bdf6-51ed-111e-938c-0eb569dde237", "headers": "", "headerData": [], "url": "{{BASE_PATH}}/api/v1/jobs/:id", - "folder": "4e437aa6-f696-053e-8f1e-8b6a10c79015", + "folder": "59294d8f-d424-590d-cfaa-e59efb36a843", "queryParams": [], "events": [], "pathVariables": { @@ -1214,8 +1144,8 @@ "auth": null, "time": 1517208818277, "name": "Delete job by id", - "description": "`DELETE /api/v1/jobs/{id}`\n#### Path Variable\n- id -`required` `Long` job id\n\n#### Response\nThe response body should be empty if no error happens, and the HTTP status is (204, \"No Content\").\n\nIt may return failed messages. For example\n```\n{\n \"timestamp\": 1517208792108,\n \"status\": 404,\n \"error\": \"Not Found\",\n \"code\": 40402,\n \"message\": \"Job id does not exist\",\n \"path\": \"/api/v1/jobs/2\"\n}\n```\nThere will be 'status' and 'error' fields in response if error happens, which correspond to HTTP status, and there may also be 'code' and 'message' fields, which will point out the cause. If an exception happens at server, there will be an 'exception' field, which is the name of exception.", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "description": "`DELETE /api/v1/jobs/{id}`\n#### Path Variable\n- id -`required` `Long` job id\n\n#### Response\nThe response body should be empty if no error happens, and the HTTP status is (204, \"No Content\").\n\nIt may return failed messages. For example\n```\n{\n \"timestamp\": 1517208792108,\n \"status\": 404,\n \"error\": \"Not Found\",\n \"code\": 40402,\n \"message\": \"Job id does not exist\",\n \"path\": \"/api/v1/jobs/2\"\n}\n```\nThere will be 'status' and 'error' fields in response if error happens, which correspond to HTTP status.\n\nThere may also be 'code' and 'message' fields, which will point out the cause.\n\nIf an exception happens at server, there will be an 'exception' field, which is the name of exception.", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "responses": [ { "status": "", @@ -1288,7 +1218,7 @@ "fileName": "response.txt", "dataURI": "data:text/plain;base64, ", "name": "Delete job by id example", - "id": "0be82877-9f40-1103-2268-e88dbbeeee13", + "id": "9242e6a6-8241-c851-1945-5a14fe9de33a", "request": { "url": "{{BASE_PATH}}/api/v1/jobs/:id", "pathVariables": { @@ -1306,17 +1236,19 @@ "data": null, "method": "DELETE", "dataMode": "params" - } + }, + "owner": "2830994" } ], + "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "currentHelper": null, "helperAttributes": null }, { - "id": "7e478411-b8a5-552c-7d42-53e90e684ba0", + "id": "5a64e424-ae7b-55b3-9221-ecde940426bd", "headers": "", "headerData": [], - "url": "{{BASE_PATH}}/api/v1/metadata/hive/dbs/tables", + "url": "{{BASE_PATH}}/api/v1/version", "queryParams": [], "pathVariables": {}, "pathVariableData": [], @@ -1324,10 +1256,10 @@ "data": null, "dataMode": "params", "version": 2, - "time": 1508997646817, - "name": "Get all database tables metadata", - "description": "`GET /api/v1/metadata/hive/dbs/tables`", - "collectionId": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", + "time": 1508997903989, + "name": "Get griffin version", + "description": "`GET /api/v1/version`", + "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", "responses": [ { "status": "", @@ -1335,7 +1267,7 @@ "code": 200, "name": "OK" }, - "time": 36, + "time": 63, "headers": [ { "name": "access-control-allow-headers", @@ -1362,137 +1294,28 @@ "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": "47fe13d3-c21e-71ff-0d73-bea1ecde05cd", - "name": "Get all database tables metadata example", - "isSample": true, - "scrollToResult": false, - "runTests": false, - "request": "10b67344-9fcb-2ceb-3bce-7c7424d35c7e", - "owner": "2830994", - "requestObject": "{\"url\":\"{{BASE_PATH}}/api/v1/metadata/hive/dbs/tables\",\"pathVariables\":{},\"pathVariableData\":[],\"queryParams\":[],\"headerData\":[],\"headers\":\"\",\"data\":null,\"method\":\"GET\",\"dataMode\":\"params\"}" - } - ], - "collection_id": "c999a5d1-4ca3-e246-dd4f-6464e0be085f", - "folder": "83ca6edc-27b6
<TRUNCATED>
