Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-18108

DELETE method in REST Client does not allow Body

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Urgent
    • Resolution: Not a Bug
    • Affects Version/s: 8.2.0 GA
    • Fix Version/s: Backlog
    • Component/s: Step
    • Labels:
    • Environment:
    • Story Points:
      0
    • PDI Sub-component:
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Sprint Team:
      Tatooine (Maint)
    • Steps to Reproduce:
      Hide
      1. Schedule a job from PDI
      2. Retrieve the JobID using the /scheduler/getJobs API
      3. Build a transformation that has a REST Client step and the /scheduler/removeJob API to delete that job using its ID as the body (consistent with our documentation that specifies a body is required for that API):  Scheduler Resource: /scheduler/removeJob
      4. Note that the body field is disabled when the DELETE method is selected.  It is enabled for the methods POST, PUT, and PATCH.
      Show
      Schedule a job from PDI Retrieve the JobID using the /scheduler/getJobs API Build a transformation that has a REST Client step and the /scheduler/removeJob API to delete that job using its ID as the body (consistent with our documentation that specifies a body is required for that API):  Scheduler Resource: /scheduler/removeJob Note that the body field is disabled when the DELETE method is selected.  It is enabled for the methods POST, PUT, and PATCH.

      Description

      The DELETE method in the REST Client step should allow for a body to be defined, as a body is permitted by [RFC2616|https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html].

      The REST Client step should also fully support our APIs, and the documentation for Scheduler Resource: /scheduler/removeJob states that the DELETE method and a body are required.

        PractiTest Integration




          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                criccardi Christopher Riccardi
                Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: