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

Sqoop2: InputEditable should be optional in JSON API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.99.5
    • 1.99.6
    • sqoop2-api
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: