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

Unable to execute the saved search query using its GUID

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Invalid
    • 1.0.0
    • None
    • atlas-core
    • None

    Description

      1.Created and saved 2 searches - one basic , one Advanced.
      Following is the response of /api/atlas/v2/search/saved :

      [  
         {  
            "guid":"153e89bb-eabb-4cc6-9cda-07c7ed084bac",
            "ownerName":"admin",
            "name":"basic_search1",
            "searchType":"BASIC",
            "searchParameters":{  
               "query":"default",
               "typeName":"Asset",
               "classification":"tag3",
               "excludeDeletedEntities":true,
               "limit":0,
               "offset":0
            }
         },
         {  
            "guid":"19be50af-bba1-424f-80e1-c49681b2bdeb",
            "ownerName":"admin",
            "name":"dsl_search_1",
            "searchType":"ADVANCED",
            "searchParameters":{  
               "query":"where name=\"h1\"",
               "typeName":"hdfs_path",
               "excludeDeletedEntities":true,
               "limit":0,
               "offset":0
            }
         }
      ]
      
      

      2.Fired the following to execute basic saved query using its GUID:

      http://localhost:21000/api/atlas/v2/search/saved/execute/153e89bb-eabb-4cc6-9cda-07c7ed084bac
      

      Response :

      {
      errorCode: "ATLAS-404-00-009",
      errorMessage: "Instance __AtlasUserSavedSearch with unique attribute {uniqueName=admin:153e89bb-eabb-4cc6-9cda-07c7ed084bac:BASIC} does not exist"
      }
      

      Note : Logged in as admin while executing the "execute" query.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sharmadhas Sharmadha S
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: