| [ |
| { |
| "testDescription": "Asset.name contains testtable", |
| "searchParameters": { |
| "typeName": "hive_table", |
| "excludeDeletedEntities": true, |
| "classification": "", |
| "query": "", |
| "limit": 25, |
| "offset": 0, |
| "entityFilters": { |
| "attributeName": "name", |
| "operator": "contains", |
| "attributeValue": "testtable" |
| }, |
| "tagFilters": null, |
| "attributes": [ |
| "" |
| ] |
| }, |
| "expectedCount": 3 |
| }, |
| { |
| "testDescription": "hive_column.name contains 30", |
| "searchParameters": { |
| "typeName": "hive_column", |
| "excludeDeletedEntities": true, |
| "classification": "", |
| "query": "", |
| "limit": 25, |
| "offset": 25, |
| "entityFilters": { |
| "attributeName": "name", |
| "operator": "contains", |
| "attributeValue": "30" |
| }, |
| "tagFilters": null, |
| "attributes": [ |
| "" |
| ] |
| }, |
| "expectedCount": 2 |
| }, |
| { |
| |
| "testDescription": "hive_table matches name testtable_0", |
| "searchParameters": { |
| "typeName": "hive_table", |
| "excludeDeletedEntities": true, |
| "classification": "", |
| "query": "", |
| "limit": 25, |
| "offset": 0, |
| "entityFilters": { |
| "attributeName": "name", |
| "operator": "eq", |
| "attributeValue": "testtable_0" |
| }, |
| "tagFilters": null, |
| "attributes": [ |
| "" |
| ] |
| }, |
| "expectedCount": 1 |
| }, |
| { |
| |
| "testDescription": "", |
| "searchParameters": { |
| "typeName": "hive_table", |
| "excludeDeletedEntities": true, |
| "classification": "", |
| "query": "", |
| "limit": 50, |
| "offset": 0, |
| "entityFilters": { |
| "attributeName": "name", |
| "operator": "neq", |
| "attributeValue": "dummy /Table_1@0" |
| }, |
| "tagFilters": null, |
| "attributes": [ |
| "" |
| ] |
| }, |
| "expectedCount": 3 |
| }, |
| { |
| |
| "testDescription": "", |
| "searchParameters": { |
| "typeName": "hive_table", |
| "excludeDeletedEntities": true, |
| "classification": "", |
| "query": "", |
| "limit": 25, |
| "offset": 0, |
| "entityFilters": { |
| "attributeName": "temporary", |
| "operator": "eq", |
| "attributeValue": "false" |
| }, |
| "tagFilters": null, |
| "attributes": [ |
| "" |
| ] |
| }, |
| "expectedCount": 3 |
| }, |
| { |
| |
| "testDescription": "", |
| "searchParameters": { |
| "typeName": "hive_table", |
| "excludeDeletedEntities": true, |
| "classification": "", |
| "query": "", |
| "limit": 50, |
| "offset": 0, |
| "entityFilters": { |
| "attributeName": "temporary", |
| "operator": "neq", |
| "attributeValue": "true" |
| }, |
| "tagFilters": null, |
| "attributes": [ |
| "" |
| ] |
| }, |
| "expectedCount": 3 |
| }, |
| { |
| |
| "testDescription": "", |
| "searchParameters": { |
| "typeName": "hive_table", |
| "excludeDeletedEntities": true, |
| "classification": "", |
| "query": "", |
| "limit": 25, |
| "offset": 0, |
| "entityFilters": { |
| "attributeName": "name", |
| "operator": "startsWith", |
| "attributeValue": "test" |
| }, |
| "tagFilters": null, |
| "attributes": [ |
| "" |
| ] |
| }, |
| "expectedCount": 3 |
| }, |
| { |
| |
| "testDescription": "", |
| "searchParameters": { |
| "typeName": "hive_table", |
| "excludeDeletedEntities": true, |
| "classification": "", |
| "query": "", |
| "limit": 25, |
| "offset": 0, |
| "entityFilters": { |
| "attributeName": "name", |
| "operator": "endsWith", |
| "attributeValue": "0" |
| }, |
| "tagFilters": null, |
| "attributes": [ |
| "" |
| ] |
| }, |
| "expectedCount": 1 |
| }, |
| { |
| |
| "testDescription": "", |
| "searchParameters": { |
| "typeName": "hive_column", |
| "excludeDeletedEntities": true, |
| "classification": "", |
| "query": "", |
| "limit": 25, |
| "offset": 0, |
| "entityFilters": { |
| "attributeName": "name", |
| "operator": "endsWith", |
| "attributeValue": "8" |
| }, |
| "tagFilters": null, |
| "attributes": [ |
| "" |
| ] |
| }, |
| "expectedCount": 18 |
| }, |
| { |
| |
| "testDescription": "", |
| "searchParameters": { |
| "typeName": "hive_table", |
| "excludeDeletedEntities": true, |
| "classification": "", |
| "query": "", |
| "limit": 25, |
| "offset": 0, |
| "entityFilters": { |
| "attributeName": "createTime", |
| "operator": "lte", |
| "attributeValue": "1491250084794" |
| }, |
| "tagFilters": null, |
| "attributes": [ |
| "" |
| ] |
| }, |
| "expectedCount": 3 |
| }, |
| { |
| |
| "testDescription": "", |
| "searchParameters": { |
| "typeName": "hive_table", |
| "excludeDeletedEntities": true, |
| "classification": "", |
| "query": "", |
| "limit": 25, |
| "offset": 0, |
| "entityFilters": { |
| "attributeName": "lastAccessTime", |
| "operator": "gte", |
| "attributeValue": "1491248907000" |
| }, |
| "tagFilters": null, |
| "attributes": [ |
| "" |
| ] |
| }, |
| "expectedCount": 3 |
| } |
| ] |