atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suma Shivaprasad (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-136) Add trait API to org.apache.atlas.AtlasClient
Date Fri, 18 Dec 2015 10:57:46 GMT

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

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

Some observations:

1. public JSONObject createTrait(String traitName,String superTrait) throws AtlasServiceException
 - Needs to be changed to support list of super traits
2. Let addTrait accept a Struct instead of Map<String, Object> like createEntity accepts
Referenceable

> 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-v3.patch, 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)

Mime
View raw message