blob: 08b070137006fb97a4aa40eef465bdf2bb990907 [file] [log] [blame]
{
"id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"name": "Griffin Service",
"description": "",
"order": [],
"folders": [
{
"name": "Auth",
"description": "user authentication",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"order": [
"eb227a73-9249-fc16-5922-6e80cc0bea95"
],
"owner": "2830994",
"folders_order": [],
"id": "2d181fe4-1f72-5252-8e9f-79c715266962"
},
{
"name": "Basic",
"description": "",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"order": [
"5a64e424-ae7b-55b3-9221-ecde940426bd"
],
"owner": "2830994",
"folders_order": [],
"id": "f7cebc34-4e5a-72f7-0272-f5c8dece342d"
},
{
"name": "Hive MetaStore",
"description": "",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"order": [
"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": "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0"
},
{
"name": "Jobs",
"description": "",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"order": [
"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": "59294d8f-d424-590d-cfaa-e59efb36a843"
},
{
"name": "Measures",
"description": "",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"order": [
"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": [
"b74c083b-f9b7-05d4-f7fd-cb5556b5616b"
],
"id": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17"
},
{
"name": "Metrics",
"description": "",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"order": [
"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": "3b355665-0d22-f6ce-8a65-6ac44d514b71"
},
{
"name": "OrgnizationDimension",
"description": "",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"order": [
"04663618-688f-6beb-78f7-9561ed131a87",
"4e0a68f2-4c2d-ae64-0186-01471ed543d4",
"9cbd8fb7-f9c0-f1fa-301c-fe1565f2f423"
],
"owner": "2830994",
"folder": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17",
"folders_order": [],
"id": "b74c083b-f9b7-05d4-f7fd-cb5556b5616b"
}
],
"folders_order": [
"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",
"public": false,
"events": [],
"variables": [],
"auth": null,
"requests": [
{
"id": "04663618-688f-6beb-78f7-9561ed131a87",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/org",
"queryParams": [],
"pathVariables": {},
"pathVariableData": [],
"method": "GET",
"data": null,
"dataMode": "params",
"version": 2,
"time": 1508996888357,
"name": "Get orgs for measure",
"description": "`GET /api/v1/org`",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"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": "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\":\"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,
"folder": "b74c083b-f9b7-05d4-f7fd-cb5556b5616b",
"auth": null,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "0d61dc14-c9de-aa3d-5454-3be191a8450e",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/jobs",
"queryParams": [],
"pathVariables": {},
"pathVariableData": [],
"method": "GET",
"data": null,
"dataMode": "params",
"version": 2,
"time": 1509005652378,
"name": "Get jobs",
"description": "`GET /api/v1/jobs`",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"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": "[\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",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"id": "d366913f-2765-00cf-beda-e7dd8a53668d",
"name": "Get jobs example",
"isSample": true,
"scrollToResult": false,
"runTests": false,
"request": {
"url": "{{BASE_PATH}}/api/v1/jobs",
"pathVariables": {},
"pathVariableData": [],
"queryParams": [],
"headerData": [],
"headers": "",
"data": "",
"method": "GET",
"dataMode": "raw"
},
"owner": "2830994"
}
],
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"isFromCollection": true,
"folder": "59294d8f-d424-590d-cfaa-e59efb36a843",
"auth": null,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "0f9ca692-28eb-e79d-f2b0-ee28932afe37",
"headers": "",
"headerData": [],
"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": "DELETE",
"data": [],
"dataMode": "raw",
"version": 2,
"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",
"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": 1014,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"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",
"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"
}
],
"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",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"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"
}
],
"rawModeData": "",
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"currentHelper": null,
"helperAttributes": null
},
{
"id": "2e598ff2-2f77-5635-0a64-d7767c06adfc",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/metadata/hive/dbs/tables",
"queryParams": [],
"pathVariables": {},
"pathVariableData": [],
"method": "GET",
"data": null,
"dataMode": "params",
"version": 2,
"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",
"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": 212,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"name": "Content-Type",
"description": "The mime type of this content"
},
{
"key": "Date",
"value": "Wed, 07 Feb 2018 09:17:40 GMT",
"name": "Date",
"description": "The date and time that the message was sent"
},
{
"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": "{\"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,\"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},{\"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,\"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,\"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",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"code": 200,
"responseSize": {
"body": 5791,
"header": 345,
"total": 6136
},
"mimeType": "text",
"fileName": "response.json",
"dataURI": "data:application/json;base64, eyJkZWZhdWx0IjpbeyJ0YWJsZU5hbWUiOiJkZW1vX3NyYyIsImRiTmFtZSI6ImRlZmF1bHQiLCJvd25lciI6InJvb3QiLCJjcmVhdGVUaW1lIjoxNTE3OTkzMTQxLCJsYXN0QWNjZXNzVGltZSI6MCwicmV0ZW50aW9uIjowLCJzZCI6eyJjb2xzIjpbeyJuYW1lIjoiaWQiLCJ0eXBlIjoiYmlnaW50IiwiY29tbWVudCI6bnVsbCwic2V0TmFtZSI6dHJ1ZSwic2V0VHlwZSI6dHJ1ZSwic2V0Q29tbWVudCI6ZmFsc2V9LHsibmFtZSI6ImFnZSIsInR5cGUiOiJpbnQiLCJjb21tZW50IjpudWxsLCJzZXROYW1lIjp0cnVlLCJzZXRUeXBlIjp0cnVlLCJzZXRDb21tZW50IjpmYWxzZX0seyJuYW1lIjoiZGVzYyIsInR5cGUiOiJzdHJpbmciLCJjb21tZW50IjpudWxsLCJzZXROYW1lIjp0cnVlLCJzZXRUeXBlIjp0cnVlLCJ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JwYXJ0aXRpb25LZXlzU2l6ZSI6Miwic2V0U2QiOnRydWUsInBhcnRpdGlvbktleXNJdGVyYXRvciI6W3sibmFtZSI6ImR0IiwidHlwZSI6InN0cmluZyIsImNvbW1lbnQiOm51bGwsInNldE5hbWUiOnRydWUsInNldFR5cGUiOnRydWUsInNldENvbW1lbnQiOmZhbHNlfSx7Im5hbWUiOiJob3VyIiwidHlwZSI6InN0cmluZyIsImNvbW1lbnQiOm51bGwsInNldE5hbWUiOnRydWUsInNldFR5cGUiOnRydWUsInNldENvbW1lbnQiOmZhbHNlfV0sInNldFBhcnRpdGlvbktleXMiOnRydWUsInBhcmFtZXRlcnNTaXplIjoyLCJzZXRQYXJhbWV0ZXJzIjp0cnVlLCJzZXRWaWV3T3JpZ2luYWxUZXh0IjpmYWxzZSwic2V0Vmlld0V4cGFuZGVkVGV4dCI6ZmFsc2UsInNldFRhYmxlVHlwZSI6dHJ1ZSwic2V0UHJpdmlsZWdlcyI6ZmFsc2UsInNldFRlbXBvcmFyeSI6ZmFsc2UsInNldFRhYmxlTmFtZSI6dHJ1ZSwic2V0RGJOYW1lIjp0cnVlLCJzZXRPd25lciI6dHJ1ZSwic2V0Q3JlYXRlVGltZSI6dHJ1ZSwic2V0TGFzdEFjY2Vzc1RpbWUiOnRydWUsInNldFJldGVudGlvbiI6dHJ1ZX1dfQ==",
"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": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"folder": "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0",
"auth": null,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "384315b5-b8dc-a708-cf22-289093c2f363",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/jobs?jobName=job_name",
"folder": "59294d8f-d424-590d-cfaa-e59efb36a843",
"queryParams": [
{
"key": "jobName",
"value": "job_name",
"equals": true,
"description": "",
"enabled": true
}
],
"events": [],
"pathVariables": {},
"pathVariableData": [],
"method": "DELETE",
"data": null,
"dataMode": "params",
"auth": null,
"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": 204,
"name": "No Content",
"detail": "The server successfully processed the request, but is not returning any content."
},
"time": 40,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Date",
"value": "Mon, 29 Jan 2018 06:50: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"
}
],
"mime": "",
"text": "",
"language": "plain",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"code": 204,
"responseSize": {
"body": 0,
"header": 279,
"total": 279
},
"mimeType": "text",
"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/jobs?jobName=job_name",
"pathVariables": {},
"pathVariableData": [],
"queryParams": [
{
"key": "jobName",
"value": "job_name",
"equals": true,
"description": "",
"enabled": true
}
],
"headerData": [],
"headers": "",
"data": null,
"method": "DELETE",
"dataMode": "params"
},
"owner": "2830994"
}
],
"currentHelper": null,
"helperAttributes": null
},
{
"id": "3f4a8ed3-3976-92c7-c16e-0562858c975f",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/jobs/health",
"folder": "59294d8f-d424-590d-cfaa-e59efb36a843",
"queryParams": [],
"pathVariables": {},
"pathVariableData": [],
"method": "GET",
"data": null,
"dataMode": "params",
"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": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"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": "{\n \"healthyJobCount\": 1,\n \"jobCount\": 2\n}",
"language": "json",
"rawDataType": "text",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"id": "ceaa8bbe-0bb1-feb0-2847-8fdcdfa65ca6",
"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"
},
"owner": "2830994"
}
],
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"auth": null,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "4612699d-8772-4dd8-1b34-36141b8ccfdd",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/measures/:id",
"folder": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17",
"queryParams": [],
"events": [],
"pathVariables": {
"id": "4"
},
"pathVariableData": [
{
"key": "id",
"value": "4"
}
],
"method": "GET",
"data": null,
"dataMode": "params",
"auth": null,
"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": 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": 203,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"name": "Content-Type",
"description": "The mime type of this content"
},
{
"key": "Date",
"value": "Wed, 07 Feb 2018 09:47:06 GMT",
"name": "Date",
"description": "The date and time that the message was sent"
},
{
"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": "{\"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\":\"accuracy\",\"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": 200,
"responseSize": {
"body": 928,
"header": 345,
"total": 1273
},
"mimeType": "text",
"fileName": "response.json",
"dataURI": "data:application/json;base64, eyJtZWFzdXJlLnR5cGUiOiJncmlmZmluIiwiaWQiOjQsIm5hbWUiOiJtZWFzdXJlX25vX3ByZWRpY2F0ZV9kYXkiLCJvd25lciI6InRlc3QiLCJkZXNjcmlwdGlvbiI6bnVsbCwib3JnYW5pemF0aW9uIjpudWxsLCJkZWxldGVkIjpmYWxzZSwiZHEudHlwZSI6ImFjY3VyYWN5IiwicHJvY2Vzcy50eXBlIjoiYmF0Y2giLCJkYXRhLnNvdXJjZXMiOlt7ImlkIjo2LCJuYW1lIjoic291cmNlIiwiY29ubmVjdG9ycyI6W3siaWQiOjYsIm5hbWUiOiJzb3VyY2UxNTE3OTk0MTMzNDA1IiwidHlwZSI6IkhJVkUiLCJ2ZXJzaW9uIjoiMS4yIiwicHJlZGljYXRlcyI6W10sImRhdGEudW5pdCI6IjFkYXkiLCJkYXRhLnRpbWUuem9uZSI6IlVUQyhXRVQsR01UKSIsImNvbmZpZyI6eyJkYXRhYmFzZSI6ImRlZmF1bHQiLCJ0YWJsZS5uYW1lIjoiZGVtb19zcmMiLCJ3aGVyZSI6ImR0PSNZWVlZTU1kZCMgQU5EIGhvdXI9I0hIIyJ9fV19LHsiaWQiOjcsIm5hbWUiOiJ0YXJnZXQiLCJjb25uZWN0b3JzIjpbeyJpZCI6NywibmFtZSI6InRhcmdldDE1MTc5OTQxNDI1NzMiLCJ0eXBlIjoiSElWRSIsInZlcnNpb24iOiIxLjIiLCJwcmVkaWNhdGVzIjpbXSwiZGF0YS51bml0IjoiMWRheSIsImRhdGEudGltZS56b25lIjoiVVRDKFdFVCxHTVQpIiwiY29uZmlnIjp7ImRhdGFiYXNlIjoiZGVmYXVsdCIsInRhYmxlLm5hbWUiOiJkZW1vX3RndCIsIndoZXJlIjoiZHQ9I1lZWVlNTWRkIyBBTkQgaG91cj0jSEgjIn19XX1dLCJldmFsdWF0ZS5ydWxlIjp7ImlkIjo0LCJydWxlcyI6W3siaWQiOjQsInJ1bGUiOiJzb3VyY2UuYWdlPXRhcmdldC5hZ2UgQU5EIHNvdXJjZS5kZXNjPXRhcmdldC5kZXNjIiwibmFtZSI6ImFjY3VyYWN5IiwiZHNsLnR5cGUiOiJncmlmZmluLWRzbCIsImRxLnR5cGUiOiJhY2N1cmFjeSJ9XX0sIm1lYXN1cmUudHlwZSI6ImdyaWZmaW4ifQ==",
"name": "Get measure by id example",
"id": "06c85ba7-3235-95b8-75c9-7d63e947a11a",
"request": {
"url": "{{BASE_PATH}}/api/v1/measures/:id",
"pathVariables": {
"id": "4"
},
"pathVariableData": [
{
"key": "id",
"value": "4"
}
],
"queryParams": [],
"headerData": [],
"headers": "",
"data": null,
"method": "GET",
"dataMode": "params"
}
}
],
"currentHelper": null,
"helperAttributes": null
},
{
"id": "47c5b25b-f85b-ea16-fbde-e4537c0b313d",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/metadata/hive/tables/names?db=default",
"queryParams": [
{
"key": "db",
"value": "default",
"equals": true,
"description": "",
"enabled": true
}
],
"pathVariables": {},
"pathVariableData": [],
"method": "GET",
"data": null,
"dataMode": "params",
"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": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"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": "525e2f07-7104-816d-7ac9-76052caa3370",
"name": "Get table names example",
"isSample": true,
"scrollToResult": false,
"runTests": false,
"request": "2d875b81-1a6e-6b3d-93a2-1cc225879369",
"owner": "2830994",
"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": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"folder": "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0",
"auth": null,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "4e0a68f2-4c2d-ae64-0186-01471ed543d4",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/org/:org",
"queryParams": [],
"pathVariables": {
"org": "test"
},
"pathVariableData": [
{
"key": "org",
"value": "test"
}
],
"method": "GET",
"data": null,
"dataMode": "params",
"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",
"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": "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": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"folder": "b74c083b-f9b7-05d4-f7fd-cb5556b5616b",
"auth": null,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "5388bdf6-51ed-111e-938c-0eb569dde237",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/jobs/:id",
"folder": "59294d8f-d424-590d-cfaa-e59efb36a843",
"queryParams": [],
"events": [],
"pathVariables": {
"id": "2"
},
"pathVariableData": [
{
"key": "id",
"value": "2"
}
],
"method": "DELETE",
"data": null,
"dataMode": "params",
"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.\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": 204,
"name": "No Content",
"detail": "The server successfully processed the request, but is not returning any content."
},
"time": 29,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Date",
"value": "Mon, 29 Jan 2018 06:52:14 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"
}
],
"mime": "",
"text": "",
"language": "plain",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"code": 204,
"responseSize": {
"body": 0,
"header": 279,
"total": 279
},
"mimeType": "text",
"fileName": "response.txt",
"dataURI": "data:text/plain;base64, ",
"name": "Delete job by id example",
"id": "9242e6a6-8241-c851-1945-5a14fe9de33a",
"request": {
"url": "{{BASE_PATH}}/api/v1/jobs/:id",
"pathVariables": {
"id": "2"
},
"pathVariableData": [
{
"key": "id",
"value": "2"
}
],
"queryParams": [],
"headerData": [],
"headers": "",
"data": null,
"method": "DELETE",
"dataMode": "params"
},
"owner": "2830994"
}
],
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"currentHelper": null,
"helperAttributes": null
},
{
"id": "5a64e424-ae7b-55b3-9221-ecde940426bd",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/version",
"queryParams": [],
"pathVariables": {},
"pathVariableData": [],
"method": "GET",
"data": null,
"dataMode": "params",
"version": 2,
"time": 1508997903989,
"name": "Get griffin version",
"description": "`GET /api/v1/version`",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"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": "36025860-5a05-aa93-39d8-554134daf62a",
"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\"}"
}
],
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"isFromCollection": true,
"folder": "f7cebc34-4e5a-72f7-0272-f5c8dece342d",
"auth": null,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "6db2c20d-06b1-7fdc-568c-c3c1768f1d78",
"headers": "Content-Type: application/json\n",
"headerData": [
{
"key": "Content-Type",
"value": "application/json",
"description": "",
"enabled": true
}
],
"url": "{{BASE_PATH}}/api/v1/metrics/values",
"folder": "3b355665-0d22-f6ce-8a65-6ac44d514b71",
"queryParams": [],
"events": [],
"pathVariables": {},
"pathVariableData": [],
"method": "POST",
"data": [],
"dataMode": "raw",
"auth": null,
"time": 1517209637311,
"name": "Add metric values",
"description": "`POST /api/v1/metrics/values`\n\nImport metric values into database of griffin.\n\n#### Request Header\nkey | value\n--- | ---\nContent-Type | application/json\n\n#### Request Body\n\nname | description | type\n--- | --- | --- \nMetric Values | A list of metric values | MetricValue\n\n#### Response\n\nThe response body should have 'errors' field as 'false' if success, for example\n\n```\n{\n \"took\": 32,\n \"errors\": false,\n \"items\": [\n {\n \"index\": {\n \"_index\": \"griffin\",\n \"_type\": \"accuracy\",\n \"_id\": \"AWFAs5pOJwYEbKWP7mhq\",\n \"_version\": 1,\n \"result\": \"created\",\n \"_shards\": {\n \"total\": 2,\n \"successful\": 1,\n \"failed\": 0\n },\n \"created\": true,\n \"status\": 201\n }\n }\n ]\n}\n```\n\nIt may return failed message\n\n```\n{\n \"timestamp\": 1517209428969,\n \"status\": 500,\n \"error\": \"Internal Server Error\",\n \"message\": \"Failed to add 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",
"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": 703,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Content-Length",
"value": "223",
"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 06:56:07 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"
}
],
"mime": "",
"text": "{\"took\":32,\"errors\":false,\"items\":[{\"index\":{\"_index\":\"griffin\",\"_type\":\"accuracy\",\"_id\":\"AWFAs5pOJwYEbKWP7mhq\",\"_version\":1,\"result\":\"created\",\"_shards\":{\"total\":2,\"successful\":1,\"failed\":0},\"created\":true,\"status\":201}}]}",
"language": "json",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"code": 200,
"responseSize": {
"body": 223,
"header": 324,
"total": 547
},
"mimeType": "text",
"fileName": "response.json",
"dataURI": "data:application/json;base64, eyJ0b29rIjozMiwiZXJyb3JzIjpmYWxzZSwiaXRlbXMiOlt7ImluZGV4Ijp7Il9pbmRleCI6ImdyaWZmaW4iLCJfdHlwZSI6ImFjY3VyYWN5IiwiX2lkIjoiQVdGQXM1cE9Kd1lFYktXUDdtaHEiLCJfdmVyc2lvbiI6MSwicmVzdWx0IjoiY3JlYXRlZCIsIl9zaGFyZHMiOnsidG90YWwiOjIsInN1Y2Nlc3NmdWwiOjEsImZhaWxlZCI6MH0sImNyZWF0ZWQiOnRydWUsInN0YXR1cyI6MjAxfX1dfQ==",
"name": "Add metric values example",
"id": "61d3bbd2-f744-5e52-b8af-d9c8583e69b3",
"request": {
"url": "{{BASE_PATH}}/api/v1/metrics/values",
"pathVariables": {},
"pathVariableData": [],
"queryParams": [],
"headerData": [
{
"key": "Content-Type",
"value": "application/json",
"description": "",
"enabled": true
}
],
"headers": "Content-Type: application/json\n",
"data": "[\n\t{\n\t\t\"name\" : \"metricName\",\n\t\t\"tmst\" : 1509599811123,\n\t\t\"value\" : {\n\t\t\t\"__tmst\" : 1509599811123,\n\t\t\t\"miss\" : 11,\n\t\t\t\"total\" : 125000,\n\t\t\t\"matched\" : 124989\n\t\t}\n }\n]",
"method": "POST",
"dataMode": "raw"
},
"owner": "2830994"
}
],
"rawModeData": "[\n\t{\n\t\t\"name\" : \"metricName\",\n\t\t\"tmst\" : 1509599811123,\n\t\t\"value\" : {\n\t\t\t\"__tmst\" : 1509599811123,\n\t\t\t\"miss\" : 11,\n\t\t\t\"total\" : 125000,\n\t\t\t\"matched\" : 124989\n\t\t}\n }\n]",
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"currentHelper": null,
"helperAttributes": null
},
{
"id": "6e764461-fb2b-ad66-b37a-04d831c4dbad",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/jobs/instances?jobId=2&page=0&size=10",
"folder": "59294d8f-d424-590d-cfaa-e59efb36a843",
"queryParams": [
{
"key": "jobId",
"value": "2",
"equals": true,
"description": "",
"enabled": true
},
{
"key": "page",
"value": "0",
"equals": true,
"description": "",
"enabled": true
},
{
"key": "size",
"value": "10",
"equals": true,
"description": "",
"enabled": true
}
],
"pathVariables": {},
"pathVariableData": [],
"method": "GET",
"data": null,
"dataMode": "params",
"time": 1515462422260,
"name": "Get job instances",
"description": "`GET /api/v1/jobs/instances`\n\nname | description | type | example value\n--- | --- | --- | ---\njobId | job id | Long | 1\npage | page you want starting from index 0 | int | 0\nsize | instance number per page | int | 10",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"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": "[\n {\n \"id\": 1,\n \"sessionId\": null,\n \"state\": \"success\",\n \"appId\": null,\n \"appUri\": null,\n \"predicateGroup\": \"PG\",\n \"predicateName\": \"job_name_predicate_1515399840077\",\n \"deleted\": true,\n \"timestamp\": 1515399840092,\n \"expireTimestamp\": 1516004640092\n },\n {\n \"id\": 2,\n \"sessionId\": null,\n \"state\": \"not_found\",\n \"appId\": null,\n \"appUri\": null,\n \"predicateGroup\": \"PG\",\n \"predicateName\": \"job_name_predicate_1515399840066\",\n \"deleted\": true,\n \"timestamp\": 1515399840067,\n \"expireTimestamp\": 1516004640067\n }\n]",
"language": "json",
"rawDataType": "text",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"id": "2eee4a06-0d57-f4ec-d75c-23c3c090c150",
"name": "Get job instances example",
"isSample": true,
"scrollToResult": false,
"runTests": false,
"request": {
"url": "{{BASE_PATH}}/api/v1/jobs/instances?jobId=1&page=0&size=10",
"pathVariables": {},
"pathVariableData": [],
"queryParams": [
{
"key": "jobId",
"value": "1",
"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"
},
"owner": "2830994"
}
],
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"auth": null,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "77ed2f51-37a6-4672-de17-7fe1de169c6d",
"headers": "Content-Type: application/json\n",
"headerData": [
{
"key": "Content-Type",
"value": "application/json",
"description": "",
"enabled": true
}
],
"url": "{{BASE_PATH}}/api/v1/jobs",
"folder": "59294d8f-d424-590d-cfaa-e59efb36a843",
"queryParams": [],
"events": [],
"pathVariables": {},
"pathVariableData": [],
"method": "POST",
"data": [],
"dataMode": "raw",
"auth": null,
"time": 1517994850475,
"name": "Add job",
"description": "`POST /api/v1/jobs`\n\n#### Request Header\nkey | value\n--- | ---\nContent-Type | application/json\n\n\n#### Request Body\nname | description | type \n--- | --- | ---\njobSchedule | custom class composed of job key parameters | JobSchedule \n\n\n#### Response\n\nThe response body should be the job schedule created if success. For example:\n```\n{\n \"id\": 3,\n \"measure.id\": 5,\n \"job.name\": \"job_name\",\n \"cron.expression\": \"0 0/4 * * * ?\",\n \"cron.time.zone\": \"GMT+8:00\",\n \"predicate.config\": {\n \"checkdonefile.schedule\": {\n \"interval\": \"1m\",\n \"repeat\": 2\n }\n },\n \"data.segments\": [\n {\n \"id\": 5,\n \"data.connector.name\": \"connector_name_source\",\n \"as.baseline\": true,\n \"segment.range\": {\n \"id\": 5,\n \"begin\": \"-1h\",\n \"length\": \"1h\"\n }\n },\n {\n \"id\": 6,\n \"data.connector.name\": \"connector_name_target\",\n \"as.baseline\": false,\n \"segment.range\": {\n \"id\": 6,\n \"begin\": \"-1h\",\n \"length\": \"1h\"\n }\n }\n ]\n}\n```\nIt may return failed messages. For example\n\n```\n{\n \"timestamp\": 1517208444322,\n \"status\": 400,\n \"error\": \"Bad Request\",\n \"code\": 40009,\n \"message\": \"Property 'measure.id' is invalid\",\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": 201,
"name": "Created"
},
"time": 433,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"name": "Content-Type",
"description": "The mime type of this content"
},
{
"key": "Date",
"value": "Wed, 07 Feb 2018 09:13:12 GMT",
"name": "Date",
"description": "The date and time that the message was sent"
},
{
"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": "{\"id\":3,\"measure.id\":5,\"job.name\":\"job_name\",\"cron.expression\":\"0 0/4 * * * ?\",\"cron.time.zone\":\"GMT+8:00\",\"predicate.config\":{\"checkdonefile.schedule\":{\"interval\":\"1m\",\"repeat\":2}},\"data.segments\":[{\"id\":5,\"data.connector.name\":\"connector_name_source\",\"as.baseline\":true,\"segment.range\":{\"id\":5,\"begin\":\"-1h\",\"length\":\"1h\"}},{\"id\":6,\"data.connector.name\":\"connector_name_target\",\"as.baseline\":false,\"segment.range\":{\"id\":6,\"begin\":\"-1h\",\"length\":\"1h\"}}]}",
"language": "json",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"code": 201,
"responseSize": {
"body": 455,
"header": 350,
"total": 805
},
"mimeType": "text",
"fileName": "response.json",
"dataURI": "data:application/json;base64, eyJpZCI6MywibWVhc3VyZS5pZCI6NSwiam9iLm5hbWUiOiJqb2JfbmFtZSIsImNyb24uZXhwcmVzc2lvbiI6IjAgMC80ICogKiAqID8iLCJjcm9uLnRpbWUuem9uZSI6IkdNVCs4OjAwIiwicHJlZGljYXRlLmNvbmZpZyI6eyJjaGVja2RvbmVmaWxlLnNjaGVkdWxlIjp7ImludGVydmFsIjoiMW0iLCJyZXBlYXQiOjJ9fSwiZGF0YS5zZWdtZW50cyI6W3siaWQiOjUsImRhdGEuY29ubmVjdG9yLm5hbWUiOiJjb25uZWN0b3JfbmFtZV9zb3VyY2UiLCJhcy5iYXNlbGluZSI6dHJ1ZSwic2VnbWVudC5yYW5nZSI6eyJpZCI6NSwiYmVnaW4iOiItMWgiLCJsZW5ndGgiOiIxaCJ9fSx7ImlkIjo2LCJkYXRhLmNvbm5lY3Rvci5uYW1lIjoiY29ubmVjdG9yX25hbWVfdGFyZ2V0IiwiYXMuYmFzZWxpbmUiOmZhbHNlLCJzZWdtZW50LnJhbmdlIjp7ImlkIjo2LCJiZWdpbiI6Ii0xaCIsImxlbmd0aCI6IjFoIn19XX0=",
"name": "Add job example",
"id": "b55305ff-0c14-1599-6f31-1ef134ec5ff5",
"request": {
"url": "{{BASE_PATH}}/api/v1/jobs",
"pathVariables": {},
"pathVariableData": [],
"queryParams": [],
"headerData": [
{
"key": "Content-Type",
"value": "application/json",
"enabled": true,
"disabled": false,
"description": ""
}
],
"headers": "Content-Type: application/json\n",
"data": "{\r\n \"measure.id\": 5,\r\n\t\"job.name\":\"job_name\",\r\n \"cron.expression\": \"0 0/4 * * * ?\",\r\n \"cron.time.zone\": \"GMT+8:00\",\r\n \"predicate.config\": {\r\n\t\t\"checkdonefile.schedule\":{\r\n\t\t\t\"interval\": \"1m\",\r\n\t\t\t\"repeat\": 2\r\n\t\t}\r\n },\r\n \"data.segments\": [\r\n {\r\n \"data.connector.name\": \"connector_name_source\",\r\n\t\t\t\"as.baseline\":true, \r\n \"segment.range\": {\r\n \"begin\": \"-1h\",\r\n \"length\": \"1h\"\r\n }\r\n },\r\n {\r\n \"data.connector.name\": \"connector_name_target\",\r\n \"segment.range\": {\r\n \"begin\": \"-1h\",\r\n \"length\": \"1h\"\r\n }\r\n }\r\n ]\r\n}",
"method": "POST",
"dataMode": "raw"
}
}
],
"currentHelper": null,
"helperAttributes": null,
"rawModeData": "{\r\n \"measure.id\": 5,\r\n\t\"job.name\":\"job_name\",\r\n \"cron.expression\": \"0 0/4 * * * ?\",\r\n \"cron.time.zone\": \"GMT+8:00\",\r\n \"predicate.config\": {\r\n\t\t\"checkdonefile.schedule\":{\r\n\t\t\t\"interval\": \"1m\",\r\n\t\t\t\"repeat\": 2\r\n\t\t}\r\n },\r\n \"data.segments\": [\r\n {\r\n \"data.connector.name\": \"connector_name_source\",\r\n\t\t\t\"as.baseline\":true, \r\n \"segment.range\": {\r\n \"begin\": \"-1h\",\r\n \"length\": \"1h\"\r\n }\r\n },\r\n {\r\n \"data.connector.name\": \"connector_name_target\",\r\n \"segment.range\": {\r\n \"begin\": \"-1h\",\r\n \"length\": \"1h\"\r\n }\r\n }\r\n ]\r\n}"
},
{
"id": "7e38446b-184c-938f-0686-502d2821cd27",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/metrics",
"queryParams": [],
"pathVariables": {},
"pathVariableData": [],
"events": [],
"auth": null,
"method": "GET",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"data": null,
"dataMode": "params",
"name": "Get metrics",
"description": "`GET /api/v1/metrics`\n\nGet all metrics that are computed by griffin jobs or subscribed by external measure.",
"descriptionFormat": "html",
"time": 1515485493066,
"version": 2,
"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": 578,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"name": "Content-Type",
"description": "The mime type of this content"
},
{
"key": "Date",
"value": "Wed, 07 Feb 2018 09:11:57 GMT",
"name": "Date",
"description": "The date and time that the message was sent"
},
{
"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": "{\"measre_predicate_hour\":[{\"name\":\"job_predicate_hour\",\"type\":\"accuracy\",\"owner\":\"test\",\"metricValues\":[]}],\"measure_no_predicate_day\":[{\"name\":\"job_no_predicate_day\",\"type\":\"accuracy\",\"owner\":\"test\",\"metricValues\":[{\"name\":\"job_no_predicate_day\",\"tmst\":1517994480000,\"value\":{\"total\":125000,\"miss\":0,\"matched\":125000}},{\"name\":\"job_no_predicate_day\",\"tmst\":1517994240000,\"value\":{\"total\":125000,\"miss\":0,\"matched\":125000}}]}]}",
"language": "json",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"code": 200,
"responseSize": {
"body": 427,
"header": 345,
"total": 772
},
"mimeType": "text",
"fileName": "response.json",
"dataURI": "data:application/json;base64, eyJtZWFzcmVfcHJlZGljYXRlX2hvdXIiOlt7Im5hbWUiOiJqb2JfcHJlZGljYXRlX2hvdXIiLCJ0eXBlIjoiYWNjdXJhY3kiLCJvd25lciI6InRlc3QiLCJtZXRyaWNWYWx1ZXMiOltdfV0sIm1lYXN1cmVfbm9fcHJlZGljYXRlX2RheSI6W3sibmFtZSI6ImpvYl9ub19wcmVkaWNhdGVfZGF5IiwidHlwZSI6ImFjY3VyYWN5Iiwib3duZXIiOiJ0ZXN0IiwibWV0cmljVmFsdWVzIjpbeyJuYW1lIjoiam9iX25vX3ByZWRpY2F0ZV9kYXkiLCJ0bXN0IjoxNTE3OTk0NDgwMDAwLCJ2YWx1ZSI6eyJ0b3RhbCI6MTI1MDAwLCJtaXNzIjowLCJtYXRjaGVkIjoxMjUwMDB9fSx7Im5hbWUiOiJqb2Jfbm9fcHJlZGljYXRlX2RheSIsInRtc3QiOjE1MTc5OTQyNDAwMDAsInZhbHVlIjp7InRvdGFsIjoxMjUwMDAsIm1pc3MiOjAsIm1hdGNoZWQiOjEyNTAwMH19XX1dfQ==",
"name": "Get metrics example",
"id": "8b4d80f5-e597-5cf8-6b11-9f82b47a424c",
"request": {
"url": "{{BASE_PATH}}/api/v1/metrics",
"pathVariables": {},
"pathVariableData": [],
"queryParams": [],
"headerData": [],
"headers": "",
"data": null,
"method": "GET",
"dataMode": "params"
}
}
],
"folder": "3b355665-0d22-f6ce-8a65-6ac44d514b71",
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"isFromCollection": true,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "7f20e851-8298-2bf9-dd5b-e7266e72960d",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/metadata/hive/dbs",
"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": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"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": "63c7d244-c9cd-3c3b-9925-837d2086e46f",
"name": "Get db names 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\"}"
}
],
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"folder": "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0",
"auth": null,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "89867ae6-c3f3-175c-5097-15e77e61d8e7",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/jobs/config/:jobName",
"queryParams": [],
"events": [],
"pathVariables": {
"jobName": "job_no_predicate_day"
},
"pathVariableData": [
{
"key": "jobName",
"value": "job_no_predicate_day"
}
],
"method": "GET",
"data": null,
"dataMode": "params",
"auth": null,
"time": 1518067924357,
"name": "Get job schedule by job name",
"description": "`GET /api/v1/jobs/config/{jobName}`\n\n#### Path Variable\n- jobName -`required` `String` job name\n\n#### Request Sample\n\n`/api/v1/jobs/config/job_no_predicate_day`",
"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."
},
"time": 418,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"name": "Content-Type",
"description": "The mime type of this content"
},
{
"key": "Date",
"value": "Thu, 08 Feb 2018 05:32:02 GMT",
"name": "Date",
"description": "The date and time that the message was sent"
},
{
"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": "{\"id\":2,\"measure.id\":4,\"job.name\":\"job_no_predicate_day\",\"cron.expression\":\"0 0/4 * * * ?\",\"cron.time.zone\":\"GMT-8:00\",\"predicate.config\":{\"checkdonefile.schedule\":{\"repeat\":\"12\",\"interval\":\"5m\"}},\"data.segments\":[{\"id\":3,\"data.connector.name\":\"source1517994133405\",\"as.baseline\":true,\"segment.range\":{\"id\":3,\"begin\":\"-2\",\"length\":\"2\"}},{\"id\":4,\"data.connector.name\":\"target1517994142573\",\"as.baseline\":false,\"segment.range\":{\"id\":4,\"begin\":\"-5\",\"length\":\"2\"}}]}",
"language": "json",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"code": 200,
"responseSize": {
"body": 462,
"header": 345,
"total": 807
},
"mimeType": "text",
"fileName": "response.json",
"dataURI": "data:application/json;base64, eyJpZCI6MiwibWVhc3VyZS5pZCI6NCwiam9iLm5hbWUiOiJqb2Jfbm9fcHJlZGljYXRlX2RheSIsImNyb24uZXhwcmVzc2lvbiI6IjAgMC80ICogKiAqID8iLCJjcm9uLnRpbWUuem9uZSI6IkdNVC04OjAwIiwicHJlZGljYXRlLmNvbmZpZyI6eyJjaGVja2RvbmVmaWxlLnNjaGVkdWxlIjp7InJlcGVhdCI6IjEyIiwiaW50ZXJ2YWwiOiI1bSJ9fSwiZGF0YS5zZWdtZW50cyI6W3siaWQiOjMsImRhdGEuY29ubmVjdG9yLm5hbWUiOiJzb3VyY2UxNTE3OTk0MTMzNDA1IiwiYXMuYmFzZWxpbmUiOnRydWUsInNlZ21lbnQucmFuZ2UiOnsiaWQiOjMsImJlZ2luIjoiLTIiLCJsZW5ndGgiOiIyIn19LHsiaWQiOjQsImRhdGEuY29ubmVjdG9yLm5hbWUiOiJ0YXJnZXQxNTE3OTk0MTQyNTczIiwiYXMuYmFzZWxpbmUiOmZhbHNlLCJzZWdtZW50LnJhbmdlIjp7ImlkIjo0LCJiZWdpbiI6Ii01IiwibGVuZ3RoIjoiMiJ9fV19",
"name": "Get job schedule by job name example",
"id": "16caadb2-60c9-3f97-97f6-8447d71f0c27",
"request": {
"url": "{{BASE_PATH}}/api/v1/jobs/config/:jobName",
"pathVariables": {
"jobName": "job_no_predicate_day"
},
"pathVariableData": [
{
"key": "jobName",
"value": "job_no_predicate_day"
}
],
"queryParams": [],
"headerData": [],
"headers": "",
"data": null,
"method": "GET",
"dataMode": "params"
}
}
],
"currentHelper": null,
"helperAttributes": null
},
{
"id": "96a777d9-28c1-331e-48d3-0b9422db7122",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/measures",
"folder": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17",
"queryParams": [],
"pathVariables": {},
"pathVariableData": [],
"method": "GET",
"data": null,
"dataMode": "params",
"version": 2,
"time": 1516340119702,
"name": "Get measures",
"description": "`GET /api/v1/measures`",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"responses": [
{
"status": "",
"responseCode": {
"code": 200,
"name": "OK"
},
"time": 415,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"name": "Content-Type",
"description": "The mime type of this content"
},
{
"key": "Date",
"value": "Wed, 07 Feb 2018 09:39:06 GMT",
"name": "Date",
"description": "The date and time that the message was sent"
},
{
"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": "[{\"measure.type\":\"griffin\",\"id\":1,\"name\":\"profiling_measure\",\"owner\":\"test\",\"description\":\"measure description\",\"organization\":null,\"deleted\":false,\"dq.type\":\"profiling\",\"process.type\":\"batch\",\"rule.description\":{\"details\":[{\"name\":\"age\",\"infos\":\"Total Count,Average\"}]},\"data.sources\":[],\"evaluate.rule\":{\"id\":1,\"rules\":[{\"id\":1,\"rule\":\"source.desc=target.desc\",\"name\":\"rule_name\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"accuracy\",\"details\":{}}]},\"measure.type\":\"griffin\"},{\"measure.type\":\"griffin\",\"id\":2,\"name\":\"measre_predicate_hour\",\"owner\":\"test\",\"description\":null,\"organization\":null,\"deleted\":false,\"dq.type\":\"accuracy\",\"process.type\":\"batch\",\"data.sources\":[{\"id\":3,\"name\":\"target\",\"connectors\":[{\"id\":3,\"name\":\"target1517993710873\",\"type\":\"HIVE\",\"version\":\"1.2\",\"predicates\":[{\"id\":3,\"type\":\"file.exist\",\"config\":{\"root.path\":\"hdfs:///griffin/demo_src\",\"path\":\"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"}}],\"data.unit\":\"1hour\",\"data.time.zone\":\"UTC(WET,GMT)\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_tgt\",\"where\":\"dt=#YYYYMMdd# and hour=#HH#\"}}]}],\"evaluate.rule\":{\"id\":2,\"rules\":[{\"id\":2,\"rule\":\"source.id=target.id AND source.age=target.age AND source.desc=target.desc\",\"name\":\"accuracy\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"accuracy\"}]},\"measure.type\":\"griffin\"},{\"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\":\"accuracy\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"accuracy\"}]},\"measure.type\":\"griffin\"},{\"measure.type\":\"griffin\",\"id\":5,\"name\":\"measureName_edit\",\"owner\":\"test\",\"description\":\"measure description\",\"organization\":\"orgName\",\"deleted\":false,\"dq.type\":\"accuracy\",\"process.type\":\"batch\",\"data.sources\":[{\"id\":1,\"name\":\"source\",\"connectors\":[{\"id\":1,\"name\":\"connector_name_source\",\"type\":\"HIVE\",\"version\":\"1.2\",\"predicates\":[{\"id\":1,\"type\":\"file.exist\",\"config\":{\"root.path\":\"hdfs:///griffin/demo_src\",\"path\":\"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"}}],\"data.unit\":\"1h\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_src\",\"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"}}]},{\"id\":2,\"name\":\"target\",\"connectors\":[{\"id\":2,\"name\":\"connector_name_target\",\"type\":\"HIVE\",\"version\":\"1.2\",\"predicates\":[{\"id\":2,\"type\":\"file.exist\",\"config\":{\"root.path\":\"hdfs:///griffin/demo_src\",\"path\":\"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"}}],\"data.unit\":\"1h\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_src\",\"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"}}]}],\"evaluate.rule\":{\"id\":1,\"rules\":[{\"id\":1,\"rule\":\"source.desc=target.desc\",\"name\":\"rule_name\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"accuracy\",\"details\":{}}]},\"measure.type\":\"griffin\"},{\"measure.type\":\"griffin\",\"id\":6,\"name\":\"demo_accu\",\"owner\":\"test\",\"description\":null,\"organization\":null,\"deleted\":false,\"dq.type\":\"accuracy\",\"process.type\":\"batch\",\"data.sources\":[{\"id\":10,\"name\":\"source\",\"connectors\":[{\"id\":10,\"name\":\"source1517994851468\",\"type\":\"HIVE\",\"version\":\"1.2\",\"predicates\":[],\"data.unit\":\"1day\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_src\"}}]},{\"id\":11,\"name\":\"target\",\"connectors\":[{\"id\":11,\"name\":\"target1517994856089\",\"type\":\"HIVE\",\"version\":\"1.2\",\"predicates\":[],\"data.unit\":\"1day\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_tgt\"}}]}],\"evaluate.rule\":{\"id\":6,\"rules\":[{\"id\":6,\"rule\":\"source.id=target.id\",\"name\":\"accuracy\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"accuracy\"}]},\"measure.type\":\"griffin\"},{\"measure.type\":\"griffin\",\"id\":7,\"name\":\"measure_profiling_test_json\",\"owner\":\"test\",\"description\":null,\"organization\":null,\"deleted\":false,\"dq.type\":\"profiling\",\"process.type\":\"batch\",\"rule.description\":{\"details\":[{\"name\":\"id\",\"infos\":\"Distinct Count,Null Count,Maximum\"},{\"name\":\"age\",\"infos\":\"Null Count,Average,Enum Detection Count\"},{\"name\":\"desc\",\"infos\":\"Total Count,Distinct Count,Enum Detection Count\"}]},\"data.sources\":[{\"id\":12,\"name\":\"source\",\"connectors\":[{\"id\":12,\"name\":\"source1517995221483\",\"type\":\"hive\",\"version\":\"1.2\",\"predicates\":[],\"data.unit\":\"1hour\",\"data.time.zone\":\"UTC(WET,GMT)\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_src\",\"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"}}]}],\"evaluate.rule\":{\"id\":7,\"rules\":[{\"id\":7,\"rule\":\"count(source.`id`) AS `id-nullcount` WHERE source.`id` IS NULL\",\"name\":\"id-nullct\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"profiling\",\"details\":{}},{\"id\":8,\"rule\":\"count(source.`age`) AS `age-nullcount` WHERE source.`age` IS NULL\",\"name\":\"age-nullct\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"profiling\",\"details\":{}},{\"id\":9,\"rule\":\"source.`age`,count(*) AS `age-grp` GROUP BY source.`age`\",\"name\":\"age-grp\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"profiling\",\"details\":{}},{\"id\":10,\"rule\":\"source.`desc`,count(*) AS `desc-grp` GROUP BY source.`desc`\",\"name\":\"desc-grp\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"profiling\",\"details\":{}},{\"id\":11,\"rule\":\"approx_count_distinct(source.`id`) AS `id-distcount`,max(source.`id`) AS `id-max`,avg(source.`age`) AS `age-average`,count(source.`desc`) AS `desc-count`,approx_count_distinct(source.`desc`) AS `desc-distcount`\",\"name\":\"profiling\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"profiling\",\"details\":{}}]},\"measure.type\":\"griffin\"}]",
"language": "json",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"code": 200,
"responseSize": {
"body": 5757,
"header": 345,
"total": 6102
},
"mimeType": "text",
"fileName": "response.json",
"dataURI": "data:application/json;base64, W3sibWVhc3VyZS50eXBlIjoiZ3JpZmZpbiIsImlkIjoxLCJuYW1lIjoicHJvZmlsaW5nX21lYXN1cmUiLCJvd25lciI6InRlc3QiLCJkZXNjcmlwdGlvbiI6Im1lYXN1cmUgZGVzY3JpcHRpb24iLCJvcmdhbml6YXRpb24iOm51bGwsImRlbGV0ZWQiOmZhbHNlLCJkcS50eXBlIjoicHJvZmlsaW5nIiwicHJvY2Vzcy50eXBlIjoiYmF0Y2giLCJydWxlLmRlc2NyaXB0aW9uIjp7ImRldGFpbHMiOlt7Im5hbWUiOiJhZ2UiLCJpbmZvcyI6IlRvdGFsIENvdW50LEF2ZXJhZ2UifV19LCJkYXRhLnNvdXJjZXMiOltdLCJldmFsdWF0ZS5ydWxlIjp7Im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Z2UtZ3JwYCBHUk9VUCBCWSBzb3VyY2UuYGFnZWAiLCJuYW1lIjoiYWdlLWdycCIsImRzbC50eXBlIjoiZ3JpZmZpbi1kc2wiLCJkcS50eXBlIjoicHJvZmlsaW5nIiwiZGV0YWlscyI6e319LHsiaWQiOjEwLCJydWxlIjoic291cmNlLmBkZXNjYCxjb3VudCgqKSBBUyBgZGVzYy1ncnBgIEdST1VQIEJZIHNvdXJjZS5gZGVzY2AiLCJuYW1lIjoiZGVzYy1ncnAiLCJkc2wudHlwZSI6ImdyaWZmaW4tZHNsIiwiZHEudHlwZSI6InByb2ZpbGluZyIsImRldGFpbHMiOnt9fSx7ImlkIjoxMSwicnVsZSI6ImFwcHJveF9jb3VudF9kaXN0aW5jdChzb3VyY2UuYGlkYCkgQVMgYGlkLWRpc3Rjb3VudGAsbWF4KHNvdXJjZS5gaWRgKSBBUyBgaWQtbWF4YCxhdmcoc291cmNlLmBhZ2VgKSBBUyBgYWdlLWF2ZXJhZ2VgLGNvdW50KHNvdXJjZS5gZGVzY2ApIEFTIGBkZXNjLWNvdW50YCxhcHByb3hfY291bnRfZGlzdGluY3Qoc291cmNlLmBkZXNjYCkgQVMgYGRlc2MtZGlzdGNvdW50YCIsIm5hbWUiOiJwcm9maWxpbmciLCJkc2wudHlwZSI6ImdyaWZmaW4tZHNsIiwiZHEudHlwZSI6InByb2ZpbGluZyIsImRldGFpbHMiOnt9fV19LCJtZWFzdXJlLnR5cGUiOiJncmlmZmluIn1d",
"name": "Get measures example",
"id": "44da3f76-924a-1cbc-8dad-df9f814cc540",
"request": {
"url": "{{BASE_PATH}}/api/v1/measures",
"pathVariables": {},
"pathVariableData": [],
"queryParams": [],
"headerData": [],
"headers": "",
"data": null,
"method": "GET",
"dataMode": "params"
}
}
],
"auth": null,
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"currentHelper": null,
"helperAttributes": null
},
{
"id": "9928ac7f-ceb7-0849-a06e-1bef416217a0",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/metadata/hive/table?db=default&table=demo_src",
"queryParams": [
{
"key": "db",
"value": "default",
"equals": true,
"description": "",
"enabled": true
},
{
"key": "table",
"value": "demo_src",
"equals": true,
"description": "",
"enabled": true
}
],
"pathVariables": {},
"pathVariableData": [],
"method": "GET",
"data": null,
"dataMode": "params",
"time": 1508997723742,
"name": "Get table metadata",
"description": "`GET /api/v1/metadata/hive/table`\n#### Request Parameters\n name | description | type | example value \n---- | ---------- | ----- |-----\ndb | hive database name | String | default\ntable | hive table name | String | demo_src",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"responses": [
{
"status": "",
"responseCode": {
"code": 200,
"name": "OK"
},
"time": 214,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"name": "Content-Type",
"description": "The mime type of this content"
},
{
"key": "Date",
"value": "Wed, 07 Feb 2018 09:18:22 GMT",
"name": "Date",
"description": "The date and time that the message was sent"
},
{
"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\":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,\"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",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"code": 200,
"responseSize": {
"body": 2888,
"header": 345,
"total": 3233
},
"mimeType": "text",
"fileName": "response.json",
"dataURI": "data:application/json;base64, eyJ0YWJsZU5hbWUiOiJkZW1vX3NyYyIsImRiTmFtZSI6ImRlZmF1bHQiLCJvd25lciI6InJvb3QiLCJjcmVhdGVUaW1lIjoxNTE3OTkzMTQxLCJsYXN0QWNjZXNzVGltZSI6MCwicmV0ZW50aW9uIjowLCJzZCI6eyJjb2xzIjpbeyJuYW1lIjoiaWQiLCJ0eXBlIjoiYmlnaW50Ii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InNldFBhcnRpdGlvbktleXMiOnRydWUsInBhcmFtZXRlcnNTaXplIjoyLCJzZXRQYXJhbWV0ZXJzIjp0cnVlLCJzZXRWaWV3T3JpZ2luYWxUZXh0IjpmYWxzZSwic2V0Vmlld0V4cGFuZGVkVGV4dCI6ZmFsc2UsInNldFRhYmxlVHlwZSI6dHJ1ZSwic2V0UHJpdmlsZWdlcyI6ZmFsc2UsInNldFRlbXBvcmFyeSI6ZmFsc2UsInNldFRhYmxlTmFtZSI6dHJ1ZSwic2V0RGJOYW1lIjp0cnVlLCJzZXRPd25lciI6dHJ1ZSwic2V0Q3JlYXRlVGltZSI6dHJ1ZSwic2V0TGFzdEFjY2Vzc1RpbWUiOnRydWUsInNldFJldGVudGlvbiI6dHJ1ZX0=",
"name": "Get table metadata example",
"id": "18233a1d-01b1-b61d-2019-ed7347516a00",
"request": {
"url": "{{BASE_PATH}}/api/v1/metadata/hive/table?db=default&table=demo_src",
"pathVariables": {},
"pathVariableData": [],
"queryParams": [
{
"key": "db",
"value": "default",
"equals": true,
"description": "",
"enabled": true
},
{
"key": "table",
"value": "demo_src",
"equals": true,
"description": "",
"enabled": true
}
],
"headerData": [],
"headers": "",
"data": null,
"method": "GET",
"dataMode": "params"
}
}
],
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"folder": "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0",
"auth": null,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "99ea9963-f0cc-8d74-2017-ec678c5dd951",
"headers": "Content-Type: application/json\n",
"headerData": [
{
"key": "Content-Type",
"value": "application/json",
"description": "",
"enabled": true
}
],
"url": "{{BASE_PATH}}/api/v1/measures",
"folder": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17",
"queryParams": [],
"events": [],
"pathVariables": {},
"pathVariableData": [],
"method": "PUT",
"data": [],
"dataMode": "raw",
"auth": null,
"time": 1517998759118,
"name": "Update measure",
"description": "`PUT /api/v1/measures`\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\nThere are two kind of different measures, griffin measure and external measure. And for each type of measure, the 'dq.type' can be 'accuracy' or 'profiling'.\n\nYou can update an external measure by following request body example:\n\n```\n{\n\t\"id\":1,\n\t\"name\": \"external_name\",\n \"measure.type\": \"external\",\n \"dq.type\":\"profiling\",\n \"description\": \" updated measure description\",\n \"organization\": \"orgName\",\n \"owner\": \"test\",\n \"metricName\": \"metricName\"\n}\n```\n\n#### Response\n\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{\n \"timestamp\": 1517206892397,\n \"status\": 404,\n \"error\": \"Not Found\",\n \"code\": 40401,\n \"message\": \"Measure id does not exist\",\n \"path\": \"/api/v1/measures\"\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": 204,
"name": "No Content",
"detail": "The server successfully processed the request, but is not returning any content."
},
"time": 437,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Date",
"value": "Wed, 07 Feb 2018 09:10:38 GMT",
"name": "Date",
"description": "The date and time that the message was sent"
}
],
"cookies": [],
"mime": "",
"text": "",
"language": "plain",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"code": 204,
"responseSize": {
"body": 0,
"header": 279,
"total": 279
},
"mimeType": "text",
"fileName": "response.txt",
"dataURI": "data:text/plain;base64, ",
"name": "Update measure example",
"id": "1f6885eb-15fd-8591-032c-e13b3a29f56c",
"request": {
"url": "{{BASE_PATH}}/api/v1/measures",
"pathVariables": {},
"pathVariableData": [],
"queryParams": [],
"headerData": [
{
"key": "Content-Type",
"value": "application/json",
"enabled": true,
"description": ""
}
],
"headers": "Content-Type: application/json\n",
"data": "{\n \"id\": 5,\n \"name\": \"measureName_edit\",\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 }",
"method": "PUT",
"dataMode": "raw"
}
}
],
"currentHelper": null,
"helperAttributes": null,
"rawModeData": "{\n \"id\": 1,\n \"name\": \"measureName_edit\",\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}"
},
{
"id": "9cbd8fb7-f9c0-f1fa-301c-fe1565f2f423",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/org/measure/names",
"queryParams": [],
"pathVariables": {},
"pathVariableData": [],
"method": "GET",
"data": null,
"dataMode": "params",
"version": 2,
"time": 1509332871323,
"name": "Get measure names group by org",
"description": "`GET /api/v1/orgWithMetricsName`",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"responses": [
{
"status": "",
"responseCode": {
"code": 200,
"name": "OK"
},
"time": 5216,
"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:07:48 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": "{\"orgName\":[\"measureName_test_edit\",\"measureName_test_edit\",\"measureName1\"],\"test\":[\"measure1\"],\"ebay\":[\"new_measure_test_again\",\"third_measure\",\"fourth_measure\",\"fifth_measure\",\"third_measure\",\"measure\"]}",
"language": "json",
"rawDataType": "text",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"name": "Get measure names group by org example",
"id": "e404606d-813f-2bc0-b44d-10b6ab624915",
"request": "8d77e0e0-62fd-242b-ea83-a7fc4829c778",
"owner": "2830994",
"requestObject": "{\"url\":\"{{BASE_PATH}}/api/v1/org/measure/names\",\"pathVariables\":{},\"pathVariableData\":[],\"queryParams\":[],\"headerData\":[],\"headers\":\"\",\"data\":null,\"method\":\"GET\",\"dataMode\":\"params\"}"
}
],
"isFromCollection": true,
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"folder": "b74c083b-f9b7-05d4-f7fd-cb5556b5616b",
"auth": null,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "a6a31a73-4b8c-7ba2-b245-3dc0f64d5f2f",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/measures/1",
"folder": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17",
"queryParams": [],
"events": [],
"pathVariables": {},
"pathVariableData": [],
"method": "DELETE",
"data": null,
"dataMode": "params",
"auth": null,
"time": 1517207861455,
"name": "Delete measure",
"description": "`DELETE /api/v1/measures/{id}`\n\nWhen deleting a measure,api will also delete related jobs.\n#### Path Variable\n- id -`required` `Long` measure id\n\n#### Request Sample\n\n`/api/v1/measures/1`\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{\n \"timestamp\": 1517207823871,\n \"status\": 404,\n \"error\": \"Not Found\",\n \"code\": 40401,\n \"message\": \"Measure id does not exist\",\n \"path\": \"/api/v1/measures/1\"\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": "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."
},
"time": 35,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Date",
"value": "Mon, 29 Jan 2018 06:28:49 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"
}
],
"mime": "",
"text": "",
"language": "plain",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"code": 204,
"responseSize": {
"body": 0,
"header": 279,
"total": 279
},
"mimeType": "text",
"fileName": "response.txt",
"dataURI": "data:text/plain;base64, ",
"name": "Delete measure example",
"id": "51e1e369-fe8d-0133-1501-396d21b8b4a5",
"request": {
"url": "{{BASE_PATH}}/api/v1/measures/1",
"pathVariables": {},
"pathVariableData": [],
"queryParams": [],
"headerData": [],
"headers": "",
"data": null,
"method": "DELETE",
"dataMode": "params"
},
"owner": "2830994"
}
],
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"currentHelper": null,
"helperAttributes": null
},
{
"id": "b0f63207-b27b-fdf0-0001-6498ff7ac2c2",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/metrics/values?metricName=job_no_predicate_day&size=5&offset=0",
"folder": "3b355665-0d22-f6ce-8a65-6ac44d514b71",
"queryParams": [
{
"key": "metricName",
"value": "job_no_predicate_day",
"equals": true,
"description": "",
"enabled": true
},
{
"key": "size",
"value": "5",
"equals": true,
"description": "",
"enabled": true
},
{
"key": "offset",
"value": "0",
"equals": true,
"description": "",
"enabled": true
}
],
"events": [],
"pathVariables": {},
"pathVariableData": [],
"method": "GET",
"data": null,
"dataMode": "params",
"version": 2,
"auth": null,
"time": 1517998148898,
"name": "Get metric values by name",
"description": "`GET /api/v1/metrics/values`\n\n#### Request Parameter\nname | description | type | example value\n--- | --- | --- | ---\nmetricName | name of the metric values | String | job_no_predicate_day\nsize | max amount of return records | int | 5\noffset | the amount of records to skip by timestamp in descending order | int | 0\ntmst | the start timestamp of records you want to get | long | 0\n\nParameter offset and tmst are optional.",
"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."
},
"time": 240,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"name": "Content-Type",
"description": "The mime type of this content"
},
{
"key": "Date",
"value": "Wed, 07 Feb 2018 09:16:51 GMT",
"name": "Date",
"description": "The date and time that the message was sent"
},
{
"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": "[{\"name\":\"job_no_predicate_day\",\"tmst\":1517994720000,\"value\":{\"total\":125000,\"miss\":0,\"matched\":125000}},{\"name\":\"job_no_predicate_day\",\"tmst\":1517994480000,\"value\":{\"total\":125000,\"miss\":0,\"matched\":125000}},{\"name\":\"job_no_predicate_day\",\"tmst\":1517994240000,\"value\":{\"total\":125000,\"miss\":0,\"matched\":125000}}]",
"language": "json",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"code": 200,
"responseSize": {
"body": 313,
"header": 345,
"total": 658
},
"mimeType": "text",
"fileName": "response.json",
"dataURI": "data:application/json;base64, W3sibmFtZSI6ImpvYl9ub19wcmVkaWNhdGVfZGF5IiwidG1zdCI6MTUxNzk5NDcyMDAwMCwidmFsdWUiOnsidG90YWwiOjEyNTAwMCwibWlzcyI6MCwibWF0Y2hlZCI6MTI1MDAwfX0seyJuYW1lIjoiam9iX25vX3ByZWRpY2F0ZV9kYXkiLCJ0bXN0IjoxNTE3OTk0NDgwMDAwLCJ2YWx1ZSI6eyJ0b3RhbCI6MTI1MDAwLCJtaXNzIjowLCJtYXRjaGVkIjoxMjUwMDB9fSx7Im5hbWUiOiJqb2Jfbm9fcHJlZGljYXRlX2RheSIsInRtc3QiOjE1MTc5OTQyNDAwMDAsInZhbHVlIjp7InRvdGFsIjoxMjUwMDAsIm1pc3MiOjAsIm1hdGNoZWQiOjEyNTAwMH19XQ==",
"name": "Get metric values by name example",
"id": "698eb854-0d24-bbda-5a1e-252aa850873e",
"request": {
"url": "{{BASE_PATH}}/api/v1/metrics/values?metricName=job_no_predicate_day&size=5&offset=0",
"pathVariables": {},
"pathVariableData": [],
"queryParams": [
{
"key": "metricName",
"value": "job_no_predicate_day",
"equals": true,
"description": "",
"enabled": true
},
{
"key": "size",
"value": "5",
"equals": true,
"description": "",
"enabled": true
},
{
"key": "offset",
"value": "0",
"equals": true,
"description": "",
"enabled": true
}
],
"headerData": [],
"headers": "",
"data": null,
"method": "GET",
"dataMode": "params"
}
}
],
"currentHelper": null,
"helperAttributes": null
},
{
"id": "b2523dcc-6abd-af6e-8e0c-759ca5c8347d",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/measures/owner/:owner",
"queryParams": [],
"pathVariables": {
"owner": "test"
},
"pathVariableData": [
{
"key": "owner",
"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": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"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": "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": "[\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/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 },\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]",
"language": "json",
"rawDataType": "text",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"id": "a5e56c95-51c6-a989-29e7-367fef1dbf3f",
"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"
}
],
"isFromCollection": true,
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"folder": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17",
"auth": null,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "b9c0a331-da3a-e328-1278-64d043d02841",
"headers": "",
"headerData": [],
"url": "{{BASE_PATH}}/api/v1/metadata/hive/tables?db=default",
"queryParams": [
{
"key": "db",
"value": "default",
"equals": true,
"description": "",
"enabled": true
}
],
"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": "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."
},
"time": 241,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"name": "Content-Type",
"description": "The mime type of this content"
},
{
"key": "Date",
"value": "Wed, 07 Feb 2018 09:18:55 GMT",
"name": "Date",
"description": "The date and time that the message was sent"
},
{
"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\":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,\"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},{\"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,\"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,\"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",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"code": 200,
"responseSize": {
"body": 5779,
"header": 345,
"total": 6124
},
"mimeType": "text",
"fileName": "response.json",
"dataURI": "data:application/json;base64, W3sidGFibGVOYW1lIjoiZGVtb19zcmMiLCJkYk5hbWUiOiJkZWZhdWx0Iiwib3duZXIiOiJyb290IiwiY3JlYXRlVGltZSI6MTUxNzk5MzE0MSwibGFzdEFjY2Vzc1RpbWUiOjAsInJldGVudGlvbiI6MCwic2QiOnsiY29scyI6W3sibmFtZSI6ImlkIiwidHlwZSI6ImJpZ2ludCIsImNvbW1lbnQiOm51bGwsInNldE5hbWUiOnRydWUsInNldFR5cGUiOnRydWUsInNldENvbW1lbnQiOmZhbHNlfSx7Im5hbWUiOiJhZ2UiLCJ0eXBlIjoiaW50IiwiY29tbWVudCI6bnVsbCwic2V0TmFtZSI6dHJ1ZSwic2V0VHlwZSI6dHJ1ZSwic2V0Q29tbWVudCI6ZmFsc2V9LHsibmFtZSI6ImRlc2MiLCJ0eXBlI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mlsZWdlcyI6bnVsbCwidGVtcG9yYXJ5IjpmYWxzZSwicGFydGl0aW9uS2V5c1NpemUiOjIsInNldFNkIjp0cnVlLCJwYXJ0aXRpb25LZXlzSXRlcmF0b3IiOlt7Im5hbWUiOiJkdCIsInR5cGUiOiJzdHJpbmciLCJjb21tZW50IjpudWxsLCJzZXROYW1lIjp0cnVlLCJzZXRUeXBlIjp0cnVlLCJzZXRDb21tZW50IjpmYWxzZX0seyJuYW1lIjoiaG91ciIsInR5cGUiOiJzdHJpbmciLCJjb21tZW50IjpudWxsLCJzZXROYW1lIjp0cnVlLCJzZXRUeXBlIjp0cnVlLCJzZXRDb21tZW50IjpmYWxzZX1dLCJzZXRQYXJ0aXRpb25LZXlzIjp0cnVlLCJwYXJhbWV0ZXJzU2l6ZSI6Miwic2V0UGFyYW1ldGVycyI6dHJ1ZSwic2V0Vmlld09yaWdpbmFsVGV4dCI6ZmFsc2UsInNldFZpZXdFeHBhbmRlZFRleHQiOmZhbHNlLCJzZXRUYWJsZVR5cGUiOnRydWUsInNldFByaXZpbGVnZXMiOmZhbHNlLCJzZXRUZW1wb3JhcnkiOmZhbHNlLCJzZXRUYWJsZU5hbWUiOnRydWUsInNldERiTmFtZSI6dHJ1ZSwic2V0T3duZXIiOnRydWUsInNldENyZWF0ZVRpbWUiOnRydWUsInNldExhc3RBY2Nlc3NUaW1lIjp0cnVlLCJzZXRSZXRlbnRpb24iOnRydWV9XQ==",
"name": "Get tables metadata example",
"id": "79c42eb9-039f-a2e3-a0b6-4c073f929519",
"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"
}
}
],
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"folder": "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0",
"auth": null,
"currentHelper": null,
"helperAttributes": null
},
{
"id": "c51c4335-5be3-c19b-85f9-01ce8dc94225",
"headers": "Content-Type: application/json\n",
"headerData": [
{
"key": "Content-Type",
"value": "application/json",
"description": "",
"enabled": true
}
],
"url": "{{BASE_PATH}}/api/v1/measures",
"folder": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17",
"queryParams": [],
"events": [],
"pathVariables": {},
"pathVariableData": [],
"method": "POST",
"data": [],
"dataMode": "raw",
"auth": null,
"time": 1517993950866,
"name": "Add measure",
"description": "`POST /api/v1/measures`\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\nThere are two kind of different measures, griffin measure and external measure. And for each type of measure, the 'dq.type' can be 'accuracy' or 'profiling'.\n\nYou can use the example in request body to create a griffin measure of accuracy.\n\nHere is a request body example of profiling:\n\n```\n{\n \"name\":\"profiling_measure\",\n \"measure.type\":\"griffin\",\n \"dq.type\":\"profiling\",\n \"rule.description\":{\n \"details\":[\n {\n \"name\":\"age\",\n \"infos\":\"Total Count,Average\"\n }\n ]\n },\n \"process.type\":\"batch\",\n \"owner\":\"test\",\n \"description\":\"measure description\",\n \"data.sources\":[\n {\n \"name\":\"source\",\n \"connectors\":[\n {\n \"name\":\"connector_name\",\n \"type\":\"hive\",\n \"version\":\"1.2\",\n \"data.unit\":\"1hour\",\n \"data.time.zone\":\"UTC(WET,GMT)\",\n \"config\":{\n \"database\":\"default\",\n \"table.name\":\"demo_src\",\n \"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"\n },\n \"predicates\":[\n {\n \"type\":\"file.exist\",\n \"config\":{\n \"root.path\":\"hdfs:///griffin/demo_src\",\n \"path\":\"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"evaluate.rule\":{\n \"rules\":[\n {\n \"dsl.type\":\"griffin-dsl\",\n \"dq.type\":\"profiling\",\n \"rule\":\"count(source.`age`) AS `age-count`,avg(source.`age`) AS `age-average`\",\n \"name\":\"profiling\",\n \"details\":{\n\n }\n }\n ]\n }\n}\n```\n\nExample of request body to create external measure:\n\n```\n{\n \"name\": \"external_name\",\n \"measure.type\": \"external\",\n \"dq.type\": \"accuracy\",\n \"description\": \"measure description\",\n \"organization\": \"orgName\",\n \"owner\": \"test\",\n \"metricName\": \"metricName\"\n}\n```\n \n#### Response\n\nThe response body should be the created measure if success. For example:\n```\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/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}\n```\n\nIt may return failed messages. For example:\n\n```\n{\n \"timestamp\": 1517205933656,\n \"status\": 409,\n \"error\": \"Conflict\",\n \"code\": 40901,\n \"message\": \"Measure name already exists\",\n \"path\": \"/api/v1/measures\"\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": 201,
"name": "Created"
},
"time": 471,
"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."
},
{
"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."
},
{
"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."
},
{
"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."
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8",
"name": "Content-Type",
"description": "The mime type of this content"
},
{
"key": "Date",
"value": "Wed, 07 Feb 2018 09:06:14 GMT",
"name": "Date",
"description": "The date and time that the message was sent"
},
{
"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": "{\"measure.type\":\"griffin\",\"id\":5,\"name\":\"accuracy_measure\",\"owner\":\"test\",\"description\":\"measure description\",\"organization\":null,\"deleted\":false,\"dq.type\":\"accuracy\",\"process.type\":\"batch\",\"data.sources\":[{\"id\":8,\"name\":\"source\",\"connectors\":[{\"id\":8,\"name\":\"connector_name_source\",\"type\":\"HIVE\",\"version\":\"1.2\",\"predicates\":[{\"id\":4,\"type\":\"file.exist\",\"config\":{\"root.path\":\"hdfs:///griffin/demo_src\",\"path\":\"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"}}],\"data.unit\":\"1hour\",\"data.time.zone\":\"UTC(WET,GMT)\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_src\",\"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"}}]},{\"id\":9,\"name\":\"target\",\"connectors\":[{\"id\":9,\"name\":\"connector_name_target\",\"type\":\"HIVE\",\"version\":\"1.2\",\"predicates\":[{\"id\":5,\"type\":\"file.exist\",\"config\":{\"root.path\":\"hdfs:///griffin/demo_src\",\"path\":\"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"}}],\"data.unit\":\"1hour\",\"data.time.zone\":\"UTC(WET,GMT)\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_tgt\",\"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"}}]}],\"evaluate.rule\":{\"id\":5,\"rules\":[{\"id\":5,\"rule\":\"source.desc=target.desc\",\"name\":\"accuracy\",\"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": 201,
"responseSize": {
"body": 1153,
"header": 350,
"total": 1503
},
"mimeType": "text",
"fileName": "response.json",
"dataURI": "data:application/json;base64, eyJ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1NZGQjL2hvdXI9I0hIIy9fRE9ORSJ9fV0sImRhdGEudW5pdCI6IjFob3VyIiwiZGF0YS50aW1lLnpvbmUiOiJVVEMoV0VULEdNVCkiLCJjb25maWciOnsiZGF0YWJhc2UiOiJkZWZhdWx0IiwidGFibGUubmFtZSI6ImRlbW9fdGd0Iiwid2hlcmUiOiJkdD0jWVlZWU1NZGQjIEFORCBob3VyPSNISCMifX1dfV0sImV2YWx1YXRlLnJ1bGUiOnsiaWQiOjUsInJ1bGVzIjpbeyJpZCI6NSwicnVsZSI6InNvdXJjZS5kZXNjPXRhcmdldC5kZXNjIiwibmFtZSI6ImFjY3VyYWN5IiwiZHNsLnR5cGUiOiJncmlmZmluLWRzbCIsImRxLnR5cGUiOiJhY2N1cmFjeSJ9XX0sIm1lYXN1cmUudHlwZSI6ImdyaWZmaW4ifQ==",
"name": "Add measure example",
"id": "6bd5f6ef-ca5b-d645-9d9f-dcb70caabce3",
"request": {
"url": "{{BASE_PATH}}/api/v1/measures",
"pathVariables": {},
"pathVariableData": [],
"queryParams": [],
"headerData": [
{
"key": "Content-Type",
"value": "application/json",
"enabled": true,
"disabled": false,
"description": ""
}
],
"headers": "Content-Type: application/json\n",
"data": "{\n \"name\":\"accuracy_measure\",\n \"measure.type\":\"griffin\",\n \"dq.type\":\"accuracy\",\n \"process.type\":\"batch\",\n \"owner\":\"test\",\n \"description\":\"measure description\",\n \"data.sources\":[\n {\n \"name\":\"source\",\n \"connectors\":[\n {\n \"name\":\"connector_name_source\",\n \"type\":\"HIVE\",\n \"version\":\"1.2\",\n \"data.unit\":\"1hour\",\n \"data.time.zone\":\"UTC(WET,GMT)\",\n \"config\":{\n \"database\":\"default\",\n \"table.name\":\"demo_src\",\n \"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"\n },\n \"predicates\":[\n {\n \"type\":\"file.exist\",\n \"config\":{\n \"root.path\":\"hdfs:///griffin/demo_src\",\n \"path\":\"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"\n }\n }\n ]\n }\n ]\n },\n {\n \"name\":\"target\",\n \"connectors\":[\n {\n \"name\":\"connector_name_target\",\n \"type\":\"HIVE\",\n \"version\":\"1.2\",\n \"data.unit\":\"1hour\",\n \"data.time.zone\":\"UTC(WET,GMT)\",\n \"config\":{\n \"database\":\"default\",\n \"table.name\":\"demo_tgt\",\n \"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"\n },\n \"predicates\":[\n {\n \"type\":\"file.exist\",\n \"config\":{\n \"root.path\":\"hdfs:///griffin/demo_src\",\n \"path\":\"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"evaluate.rule\":{\n \"rules\":[\n {\n \"dsl.type\":\"griffin-dsl\",\n \"dq.type\":\"accuracy\",\n \"name\":\"accuracy\",\n \"rule\":\"source.desc=target.desc\"\n }\n ]\n }\n}",
"method": "POST",
"dataMode": "raw"
}
}
],
"currentHelper": null,
"helperAttributes": null,
"rawModeData": "{\n \"name\":\"accuracy_measure\",\n \"measure.type\":\"griffin\",\n \"dq.type\":\"accuracy\",\n \"process.type\":\"batch\",\n \"owner\":\"test\",\n \"description\":\"measure description\",\n \"data.sources\":[\n {\n \"name\":\"source\",\n \"connectors\":[\n {\n \"name\":\"connector_name_source\",\n \"type\":\"HIVE\",\n \"version\":\"1.2\",\n \"data.unit\":\"1hour\",\n \"data.time.zone\":\"UTC(WET,GMT)\",\n \"config\":{\n \"database\":\"default\",\n \"table.name\":\"demo_src\",\n \"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"\n },\n \"predicates\":[\n {\n \"type\":\"file.exist\",\n \"config\":{\n \"root.path\":\"hdfs:///griffin/demo_src\",\n \"path\":\"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"\n }\n }\n ]\n }\n ]\n },\n {\n \"name\":\"target\",\n \"connectors\":[\n {\n \"name\":\"connector_name_target\",\n \"type\":\"HIVE\",\n \"version\":\"1.2\",\n \"data.unit\":\"1hour\",\n \"data.time.zone\":\"UTC(WET,GMT)\",\n \"config\":{\n \"database\":\"default\",\n \"table.name\":\"demo_tgt\",\n \"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"\n },\n \"predicates\":[\n {\n \"type\":\"file.exist\",\n \"config\":{\n \"root.path\":\"hdfs:///griffin/demo_src\",\n \"path\":\"/dt=#YYYYMMdd#/hour=#HH#/_DONE\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"evaluate.rule\":{\n \"rules\":[\n {\n \"dsl.type\":\"griffin-dsl\",\n \"dq.type\":\"accuracy\",\n \"name\":\"accuracy\",\n \"rule\":\"source.desc=target.desc\"\n }\n ]\n }\n}"
},
{
"id": "eb227a73-9249-fc16-5922-6e80cc0bea95",
"headers": "Content-Type: application/json\n",
"headerData": [
{
"key": "Content-Type",
"value": "application/json",
"description": "",
"enabled": true
}
],
"url": "{{BASE_PATH}}/api/v1/login/authenticate",
"folder": "2d181fe4-1f72-5252-8e9f-79c715266962",
"queryParams": [],
"pathVariables": {},
"pathVariableData": [],
"method": "POST",
"data": [],
"dataMode": "raw",
"time": 1515462380592,
"name": "User authentication",
"description": "`POST /api/v1/login/authenticate`\n\n#### Request Parameter\nname | description | type |example value\n--- | --- | --- | ---\nmap | a map contains user name and password | Map | `{\"username\":\"user\",\"password\":\"test\"}`",
"collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"responses": [
{
"status": "",
"responseCode": {
"code": 200,
"name": "OK"
},
"time": 70,
"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:18:38 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": "{\"fullName\":\"Default\",\"ntAccount\":\"user\",\"status\":0}",
"language": "json",
"rawDataType": "text",
"previewType": "text",
"searchResultScrolledTo": -1,
"forceNoPretty": false,
"write": true,
"empty": false,
"failed": false,
"id": "200d8741-2f58-8a4a-4f84-89499af3fe76",
"name": "User authentication example",
"isSample": true,
"scrollToResult": false,
"runTests": false,
"request": "e474649d-3054-de7d-612e-6f75a1838b98",
"owner": "2830994",
"requestObject": "{\"url\":\"{{BASE_PATH}}/api/v1/login/authenticate\",\"pathVariables\":{},\"pathVariableData\":[],\"queryParams\":[],\"headerData\":[{\"key\":\"Content-Type\",\"value\":\"application/json\",\"enabled\":true,\"description\":\"\"}],\"headers\":\"Content-Type: application/json\\n\",\"data\":\"{\\\"username\\\":\\\"user\\\",\\\"password\\\":\\\"test\\\"}\",\"method\":\"POST\",\"dataMode\":\"raw\"}"
}
],
"rawModeData": "{\"username\":\"user\",\"password\":\"test\"}",
"collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5",
"auth": null,
"currentHelper": null,
"helperAttributes": null
}
]
}