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

Rishabh Bhardwaj updated ATLAS-136:
-----------------------------------
    Attachment: ATLAS-136.v2.patch

I have made the changes as suggested by [~suma.shivaprasad].
Kindly Review the changes.
Also,the getEntity method was breaking because the API call which should be 
made to /entity was going to /entites.
I have made that change also with this patch.
If it is required to create a separate JIRA for that issue,we can do that.
Kindly review that change also.
I have tested all the new trait methods added to AtlasClient and they were 
working fine for me.
Thanks.

> 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