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

Erik Bergenholtz commented on ATLAS-222:
----------------------------------------

The following API provides the details of associated traits, their attributes 
and values:

GET 
http://c6401.ambari.apache.org:21000/api/atlas/entity/e6aaa040-0b73-4578-90f9-7a4376b8edcf/
{code}
{
requestId: "qtp1096283470-80 - 843cb4d9-e428-4879-bc0e-f13b20326f5c"
GUID: "e6aaa040-0b73-4578-90f9-7a4376b8edcf"
definition: "{ 
"jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
 "id":{ 
"jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Id", 
"id":"e6aaa040-0b73-4578-90f9-7a4376b8edcf", "version":0, "typeName":"hive_db" 
}, "typeName":"hive_db", "values":{ "name":"Test1", "description":"Test 
Database", "ownerType":null, 
"locationUri":"hdfs://host:8000/apps/warehouse/sales", "ownerName":null, 
"clusterName":"c1", "parameters":null }, "traitNames":[ "EXPIRES_ON" ], 
"traits":{ "EXPIRES_ON":{ 
"jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct", 
"typeName":"EXPIRES_ON", "values":{ "expiry_date":"2015-08-31T00:00:00.000Z" } 
} } }"
}
{code}
Above EXPIRES_ON is a trait that has an expiry_date attribute (and value). 
Please note that the  jsonclass is currently an internal detail exposed in the 
response that should *not* be rendered in the UI.


> UI: Tag drill down from details screen
> --------------------------------------
>
>                 Key: ATLAS-222
>                 URL: https://issues.apache.org/jira/browse/ATLAS-222
>             Project: Atlas
>          Issue Type: Improvement
>    Affects Versions: 0.6-incubating
>            Reporter: Erik Bergenholtz
>            Assignee: Rohit
>             Fix For: 0.6-incubating
>
>
> There should be a way of drilling down on a Tag for the ones that have values 
> and display those values. I would appreciate it if someone could come up with 
> a proposal for how this could work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to