Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1664

Able to add already added tag to an entity through REST API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 0.8.1, 1.0.0
    • atlas-core
    • None

    Description

      Created a tag and POSTed using V1 APIs :

      /api/atlas/entities/guid/traits
      

      POST json :

      {
        "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
        "typeName":"tag2",
        "values":{
      "name":"abc"
        }
      }
      

      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.

      Attachments

        1. ATLAS-1664.2.patch
          4 kB
          Sarath Subramanian

        Activity

          People

            sarath Sarath Subramanian
            sarath Sarath Subramanian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: