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] [Created] (ATLAS-1664) Able to add already added tag to an entity through REST API
Date Fri, 17 Mar 2017 16:31:41 GMT
Sarath Subramanian created ATLAS-1664:
-----------------------------------------

             Summary: 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


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