[ 
https://issues.apache.org/jira/browse/SQOOP-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Veena Basavaraj updated SQOOP-1688:
-----------------------------------
    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

{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}

  was:
Why ROOT? can we call this validation result?

and remove the caps? and call the text as message

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}


> 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
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.4
>
>         Attachments: SQOOP-1688.patch
>
>
> 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
> {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