[jira] [Commented] (ATLAS-3949) Relationship search API, add parameter to get classification attributes in search results

2020-09-24 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201473#comment-17201473
 ] 

ASF subversion and git services commented on ATLAS-3949:


Commit 9c1145e4d73a16f682c03fa85d29e2d758cefc5a in atlas's branch 
refs/heads/branch-2.0 from Pinal
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=9c1145e ]

ATLAS-3949 : Relationship search API, add parameter to get classification 
attributes in search results

Signed-off-by: nixonrodrigues 
(cherry picked from commit ec39c1e6207d2f875b3dc9d5a8a9818c3c9c46a5)


> Relationship search API, add parameter to get classification attributes in 
> search results
> -
>
> Key: ATLAS-3949
> URL: https://issues.apache.org/jira/browse/ATLAS-3949
> Project: Atlas
>  Issue Type: Improvement
>  Components: atlas-intg
>Reporter: Pinal
>Assignee: Pinal
>Priority: Major
>
> *Improvement:* Adding boolean parameter 'includeClassificationAttributes' in 
> Relationship search Api to get all attributes of the classification 
> associated to the entity.
> *Example Request api:* 
> /api/atlas/v2/search/relationship?guid=\{guid}&relation=tables&limit=10&includeClassificationAttributes=true
> *Example Response api:* 
> {code:java}
> {
>"queryType":"RELATIONSHIP",
>"entities":[
>   {
>  "typeName":"hive_table",
>  "attributes":{
> "createTime":160062660,
> "qualifiedName":"table@db1",
> "name":"table1"
>  },
>  "guid":"9893504f-095d-47e3-abf8-fd79069252f7",
>  "status":"ACTIVE",
>  "displayText":"table1",
>  "classificationNames":[
> "Dimension"
>  ],
>  "classifications":[
> {
>"typeName":"Dimension",
>"entityGuid":"9893504f-095d-47e3-abf8-fd79069252f7",
>"entityStatus":"ACTIVE",
>"propagate":true,
>"validityPeriods":[
>   
>],
>"removePropagationsOnEntityDelete":false
> }
>  ],
>  "meaningNames":[
> 
>  ],
>  "meanings":[
> 
>  ],
>  "isIncomplete":false,
>  "labels":[
> 
>  ]
>   }
>],
>"approximateCount":-1
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3949) Relationship search API, add parameter to get classification attributes in search results

2020-09-24 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201465#comment-17201465
 ] 

ASF subversion and git services commented on ATLAS-3949:


Commit ec39c1e6207d2f875b3dc9d5a8a9818c3c9c46a5 in atlas's branch 
refs/heads/master from Pinal
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=ec39c1e ]

ATLAS-3949 : Relationship search API, add parameter to get classification 
attributes in search results

Signed-off-by: nixonrodrigues 


> Relationship search API, add parameter to get classification attributes in 
> search results
> -
>
> Key: ATLAS-3949
> URL: https://issues.apache.org/jira/browse/ATLAS-3949
> Project: Atlas
>  Issue Type: Improvement
>  Components: atlas-intg
>Reporter: Pinal
>Assignee: Pinal
>Priority: Major
>
> *Improvement:* Adding boolean parameter 'includeClassificationAttributes' in 
> Relationship search Api to get all attributes of the classification 
> associated to the entity.
> *Example Request api:* 
> /api/atlas/v2/search/relationship?guid=\{guid}&relation=tables&limit=10&includeClassificationAttributes=true
> *Example Response api:* 
> {code:java}
> {
>"queryType":"RELATIONSHIP",
>"entities":[
>   {
>  "typeName":"hive_table",
>  "attributes":{
> "createTime":160062660,
> "qualifiedName":"table@db1",
> "name":"table1"
>  },
>  "guid":"9893504f-095d-47e3-abf8-fd79069252f7",
>  "status":"ACTIVE",
>  "displayText":"table1",
>  "classificationNames":[
> "Dimension"
>  ],
>  "classifications":[
> {
>"typeName":"Dimension",
>"entityGuid":"9893504f-095d-47e3-abf8-fd79069252f7",
>"entityStatus":"ACTIVE",
>"propagate":true,
>"validityPeriods":[
>   
>],
>"removePropagationsOnEntityDelete":false
> }
>  ],
>  "meaningNames":[
> 
>  ],
>  "meanings":[
> 
>  ],
>  "isIncomplete":false,
>  "labels":[
> 
>  ]
>   }
>],
>"approximateCount":-1
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)