[jira] [Assigned] (ATLAS-2567) Classification list missing in DSL search result.

2018-04-17 Thread Ashutosh Mestry (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Mestry reassigned ATLAS-2567:
--

Assignee: Ashutosh Mestry

> Classification list missing in DSL search result.
> -
>
> Key: ATLAS-2567
> URL: https://issues.apache.org/jira/browse/ATLAS-2567
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 1.0.0
>Reporter: pratik pandey
>Assignee: Ashutosh Mestry
>Priority: Major
>
> DSL search result doesn't have classifications list which is needed for UI to 
> differentiate between the propagated tag and self-associated tag.
> Please find API response for DSL & BASIC search.
> DSL:
>  
> {code:java}
> {
>  "queryType": "DSL",
>  "queryText": "`Table` ",
>  "entities": [
>  {
>  "typeName": "Table",
>  "attributes":
>  {
>  "owner": "John Doe",
>  "createTime": 1522060403813,
>  "qualifiedName": "product_dim",
>  "name": "product_dim",
>  "description": "product dimension table"
>  },
>  "guid": "a31fe16a-3592-4b82-aeec-71db0f1fa85c",
>  "status": "ACTIVE",
>  "displayText": "product_dim",
>  "classificationNames": ["Dimension"]
>  }]
> }
> {code}
> BASIC
> {code:java}
> {
> "queryType": "BASIC",
> "searchParameters":
> {
> "typeName": "Table",
> "excludeDeletedEntities": true,
> "includeClassificationAttributes": true,
> "includeSubTypes": true,
> "includeSubClassifications": true,
> "limit": 25,
> "offset": 0,
> "attributes": []
> },
> "entities": [
> {
> "typeName": "Table",
> "attributes":
> {
> "owner": "John Doe",
> "createTime": 1522060403813,
> "qualifiedName": "product_dim",
> "name": "product_dim",
> "description": "product dimension table"
> },
> "guid": "a31fe16a-3592-4b82-aeec-71db0f1fa85c",
> "status": "ACTIVE",
> "displayText": "product_dim",
> "classificationNames": ["Dimension"],
> "classifications": [
> {
> "typeName": "Dimension",
> "entityGuid": "a31fe16a-3592-4b82-aeec-71db0f1fa85c",
> "propagate": true
> }]
> }]
> }
> {code}
>  
> As we can see basic search result have classifications list with *entityGuid* 
> whereas DSL search doesn't have it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (ATLAS-2567) Classification list missing in DSL search result.

2018-04-17 Thread pratik pandey (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

pratik pandey reassigned ATLAS-2567:


Assignee: (was: Madhan Neethiraj)

> Classification list missing in DSL search result.
> -
>
> Key: ATLAS-2567
> URL: https://issues.apache.org/jira/browse/ATLAS-2567
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 1.0.0
>Reporter: pratik pandey
>Priority: Major
>
> DSL search result doesn't have classifications list which is needed for UI to 
> differentiate between the propagated tag and self-associated tag.
> Please find API response for DSL & BASIC search.
> DSL:
>  
> {code:java}
> {
>  "queryType": "DSL",
>  "queryText": "`Table` ",
>  "entities": [
>  {
>  "typeName": "Table",
>  "attributes":
>  {
>  "owner": "John Doe",
>  "createTime": 1522060403813,
>  "qualifiedName": "product_dim",
>  "name": "product_dim",
>  "description": "product dimension table"
>  },
>  "guid": "a31fe16a-3592-4b82-aeec-71db0f1fa85c",
>  "status": "ACTIVE",
>  "displayText": "product_dim",
>  "classificationNames": ["Dimension"]
>  }]
> }
> {code}
> BASIC
> {code:java}
> {
> "queryType": "BASIC",
> "searchParameters":
> {
> "typeName": "Table",
> "excludeDeletedEntities": true,
> "includeClassificationAttributes": true,
> "includeSubTypes": true,
> "includeSubClassifications": true,
> "limit": 25,
> "offset": 0,
> "attributes": []
> },
> "entities": [
> {
> "typeName": "Table",
> "attributes":
> {
> "owner": "John Doe",
> "createTime": 1522060403813,
> "qualifiedName": "product_dim",
> "name": "product_dim",
> "description": "product dimension table"
> },
> "guid": "a31fe16a-3592-4b82-aeec-71db0f1fa85c",
> "status": "ACTIVE",
> "displayText": "product_dim",
> "classificationNames": ["Dimension"],
> "classifications": [
> {
> "typeName": "Dimension",
> "entityGuid": "a31fe16a-3592-4b82-aeec-71db0f1fa85c",
> "propagate": true
> }]
> }]
> }
> {code}
>  
> As we can see basic search result have classifications list with *entityGuid* 
> whereas DSL search doesn't have it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)