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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment