atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sarath Subramanian (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-1664) Able to add already added tag to an entity through REST API
Date Fri, 17 Mar 2017 19:53:42 GMT

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

Sarath Subramanian updated ATLAS-1664:
--------------------------------------
    Attachment:     (was: ATLAS-1664.1.patch)

> Able to add already added tag to an entity through REST API
> -----------------------------------------------------------
>
>                 Key: ATLAS-1664
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1664
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 0.9-incubating
>            Reporter: Sarath Subramanian
>            Assignee: Sarath Subramanian
>         Attachments: ATLAS-1664.2.patch
>
>
> Created a tag and POSTed using V1 APIs :
> {code}
> /api/atlas/entities/guid/traits
> {code}
> POST json :
> {code}
> {
>   "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
>   "typeName":"tag2",
>   "values":{
> "name":"abc"
>   }
> }
> {code}
> The tag is associated. POSTed the same JSON again . Request succeeded with 201 Created.
Audits tab also has a Tag Added Event for tag being added for the second time.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message