Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-2162

Sqoop2: InputEditable should be optional in JSON API

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.99.5
    • Fix Version/s: 1.99.6
    • Component/s: sqoop2-api
    • Labels:
      None

      Description

      Currently, it is not optional. The following JSON request will throw an exception:

      {
          "id": -1,
          "inputs": [
              {
                  "id": -1,
                  "name": "Enum",
                  "overrides": "",
                  "sensitive": false,
                  "type": "ENUM",
                  "value": "YES",
                  "values": "YES,NO"
              }
          ],
          "name": "c",
          "type": "JOB"
      }
      

      This breaks backwards compatibiltiy of our APIs. This Jira should fix that by providing a default value.

        Attachments

        1. SQOOP-2162.0.patch
          4 kB
          Abraham Elmahrek

          Issue Links

            Activity

              People

              • Assignee:
                abec Abraham Elmahrek
                Reporter:
                abec Abraham Elmahrek
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: