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

Exporting a non-existing entity results in success. Ideally, this should result in error.

    XMLWordPrintableJSON

Details

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

    Description

      Exporting a non-existing entity results in success. Ideally, this should result in error.

      apathan@Ayub-sys-101:~/Documents/ExportAPI/outputs > pj atlas-export-info.json
      {
          "clientIpAddress": "172.27.23.198",
          "hostName": "10.42.80.143",
          "metrics": {
              "duration": 368
          },
          "operationStatus": "SUCCESS",
          "request": {
              "itemsToExport": [
                  {
                      "typeName": "hive_db",
                      "uniqueAttributes": {
                          "qualifiedName": "db121@cl1"
                      }
                  }
              ]
          },
          "timeStamp": 1491635440500,
          "userName": "admin"
      }
      apathan@Ayub-sys-101:~/Documents/ExportAPI/outputs > pj atlas-typesdef.json
      {
          "classificationDefs": [],
          "entityDefs": [],
          "enumDefs": [],
          "structDefs": []
      }
      apathan@Ayub-sys-101:~/Documents/ExportAPI/outputs > pj atlas-export-order.json
      []
      apathan@Ayub-sys-101:~/Documents/ExportAPI/outputs >
      

      Attachments

        1. ATLAS-1724.patch
          17 kB
          Ashutosh Mestry

        Activity

          People

            amestry Ashutosh Mestry
            ayubpathan Ayub Pathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: