You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Suma Shivaprasad (JIRA)" <ji...@apache.org> on 2015/11/03 13:31:27 UTC
[jira] [Commented] (ATLAS-136) Add trait API to
org.apache.atlas.AtlasClient
[ https://issues.apache.org/jira/browse/ATLAS-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987188#comment-14987188 ]
Suma Shivaprasad commented on ATLAS-136:
----------------------------------------
[~rishabhbhardwaj] Please refer EntityJerseyResourceIt.testAddTrait for sample code to create trait type definition and correct the patch. You would need to accept Traits with attributes as well and TypeSerilaization.toJson can be changed to what is in EntityJerseyResourceIt.testAddTrait.
> 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.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)