[
  {
    "testDescription": "hdfs_path tagged with fooTag",
    "searchParameters": {
      "typeName": "hdfs_path",
      "excludeDeletedEntities": true,
      "classification" : "fooTag",
      "query": "",
      "limit": 25,
      "offset": 0,
      "entityFilters": null,
      "tagFilters": null,
      "attributes": [""]
    },
    "expectedCount": 1
  },
  {
    "testDescription": "hive_table tagged with fooTag",
    "searchParameters": {
      "typeName": "hive_table",
      "excludeDeletedEntities": true,
      "classification" : "fooTag",
      "query": "",
      "limit": 25,
      "offset": 0,
      "entityFilters": null,
      "tagFilters": null,
      "attributes": [""]
    },
    "expectedCount": 0
  },
  {
    "testDescription": "Check entity attributes containing special characters",
    "searchParameters": {
      "typeName": "hdfs_path",
      "excludeDeletedEntities": true,
      "classification" : "",
      "query": "",
      "limit": 25,
      "offset": 0,
      "entityFilters": {
        "condition" : "OR",
        "criterion" : [
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "!"
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "["
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "{"
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "#"
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "$"
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "|"
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "&"
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "`"
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "\""
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "^"
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "%"
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "~"
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "*"
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": ":"
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": ","
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "< >"
          },
          {
            "attributeName": "name",
            "operator": "contains",
            "attributeValue": "( )"
          }
        ]
      },
      "tagFilters": null,
      "attributes": [""]
    },
    "expectedCount": 1
  },
  {
    "testDescription": "Search using fulltext, entity type and tag",
    "searchParameters": {
      "typeName": "hdfs_path",
      "excludeDeletedEntities": true,
      "classification" : "fooTag",
      "query": "test ; \\{ \\} \\[ \\]",
      "limit": 25,
      "offset": 0,
      "entityFilters": null,
      "tagFilters": null,
      "attributes": [""]
    },
    "expectedCount": 1
  },
  {
    "testDescription": "hive_column with fulltext query",
    "searchParameters": {
      "typeName": "hive_column",
      "excludeDeletedEntities": true,
      "classification" : "",
      "query": "*col104*",
      "limit": 25,
      "offset": 0,
      "entityFilters": null,
      "tagFilters": null,
      "attributes": [""]
    },
    "expectedCount": 3
  },
  {
    "testDescription": "hdfs_path tagged with fooTag",
    "searchParameters": {
      "typeName": "hdfs_path",
      "excludeDeletedEntities": true,
      "classification" : "fooTag",
      "query": "test ; \\{ \\} \\[ \\]",
      "limit": 25,
      "offset": 0,
      "entityFilters": {
        "attributeName": "qualifiedName",
        "operator": "contains",
        "attributeValue" : "+"
      },
      "tagFilters": null,
      "attributes": [""]
    },
    "expectedCount": 1
  }
]