Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-1509 Sqoop2: Sqoop2 Rest API refactoring
  3. SQOOP-1688

Sqoop2: Fix the Validation Response JSON for configs

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.99.4
    • None
    • None

    Description

      Why ROOT? can we call this validation result?

      and remove the caps? and call the text as message

      Today, the results of creating a LINK/ JOB via a rest apis looks like this

      A good one looks like this

       {
          "ID": 3,
          "ROOT": [
              {}
          ]
       }
      
      

      A BAD response might look like:
      ::

         {
           "ROOT": [
             {
              "linkConfig": [
                {
                  "TEXT": "Invalid URI. URI must either be null or a valid URI. Here are a few valid example URIs: hdfs://example.com:8020/, hdfs://example.com/, file:///, file:///tmp, file://localhost/tmp",
                  "STATUS": "ERROR"
                }
              ]
            }
           ]
         }
      
      

      Attachments

        1. SQOOP-1688.patch
          4 kB
          Veena Basavaraj
        2. SQOOP-1688.patch
          4 kB
          Veena Basavaraj
        3. SQOOP-1688.patch
          4 kB
          Veena Basavaraj

        Issue Links

          Activity

            People

              vybs Veena Basavaraj
              vybs Veena Basavaraj
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: