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

Suma Shivaprasad commented on ATLAS-136:
----------------------------------------

[~rishabhbhardwaj] 

1. Traits can have any number of super traits. So the API should be able to 
accept any no of super traits.
2. Pls remove the API to create trait and add to entity 
3. Also , pls change all trait related tests  in EntityJerseyResourceIt to go 
through AtlasClient 




> Add trait API to org.apache.atlas.AtlasClient
> ---------------------------------------------
>
>                 Key: ATLAS-136
>                 URL: https://issues.apache.org/jira/browse/ATLAS-136
>             Project: Atlas
>          Issue Type: Improvement
>    Affects Versions: 0.6-incubating
>            Reporter: Vladimir Antonevich`
>            Assignee: Rishabh Bhardwaj
>             Fix For: 0.6-incubating
>
>         Attachments: ATLAS-136.patch, ATLAS-136.v2.patch, atlas.client.patch
>
>
> API to manipulate entity traits must be added to 
> org.apache.atlas.AtlasClient. These should include methods to add/remove a 
> trait POST/DELETE to /api/atlas/entities/{guid}/traits[/traitName], as 
> supported by exposed entities resource



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

Reply via email to