[
https://issues.apache.org/jira/browse/SQOOP-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200674#comment-14200674
]
ASF subversion and git services commented on SQOOP-1688:
--------------------------------------------------------
Commit 8aa4648130cf26a619458ec1c5d1fe9918c49149 in sqoop's branch
refs/heads/branch-1.99.4 from [~abec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=8aa4648 ]
SQOOP-1688: Sqoop2: Fix the Validation Response JSON for configs
(Veena Basavaraj via Abraham Elmahrek)
> Sqoop2: 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, SQOOP-1688.patch, 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)