Veena Basavaraj created SQOOP-1688:
--------------------------------------

             Summary: Fix the Validation Response JSON for configs
                 Key: SQOOP-1688
                 URL: https://issues.apache.org/jira/browse/SQOOP-1688
             Project: Sqoop
          Issue Type: Sub-task
            Reporter: Veena Basavaraj


Why ROOT?

why is linkConfig an array?


A good one looks like this

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

{code}
A BAD response might look like:
::

{code}
   {
     "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"
          }
        ]
      }
     ]
   }

{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to