sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2162) Sqoop2: InputEditable should be optional in JSON API
Date Tue, 03 Mar 2015 22:07:05 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345848#comment-14345848
] 

Hudson commented on SQOOP-2162:
-------------------------------

SUCCESS: Integrated in Sqoop2-hadoop200 #770 (See [https://builds.apache.org/job/Sqoop2-hadoop200/770/])
SQOOP-2162: Sqoop2: InputEditable should be optional in JSON API (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=36663eb399e54dd978987fb8fc0bd422269f3c12)
* common/src/main/java/org/apache/sqoop/json/util/ConfigInputSerialization.java
* common/src/test/java/org/apache/sqoop/json/util/TestConfigSerialization.java


> Sqoop2: InputEditable should be optional in JSON API
> ----------------------------------------------------
>
>                 Key: SQOOP-2162
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2162
>             Project: Sqoop
>          Issue Type: Bug
>          Components: sqoop2-api
>    Affects Versions: 1.99.5
>            Reporter: Abraham Elmahrek
>            Assignee: Abraham Elmahrek
>             Fix For: 1.99.6
>
>         Attachments: SQOOP-2162.0.patch
>
>
> Currently, it is not optional. The following JSON request will throw an exception:
> {code:type=json}
> {
>     "id": -1,
>     "inputs": [
>         {
>             "id": -1,
>             "name": "Enum",
>             "overrides": "",
>             "sensitive": false,
>             "type": "ENUM",
>             "value": "YES",
>             "values": "YES,NO"
>         }
>     ],
>     "name": "c",
>     "type": "JOB"
> }
> {code}
> This breaks backwards compatibiltiy of our APIs. This Jira should fix that by providing
a default value.



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

Mime
View raw message