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)

Reply via email to