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

REST Client step hangs if response has no trailing new line

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Unknown
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8.1.0 GA
    • Fix Version/s: None
    • Component/s: Transformation
    • Labels:
      None
    • Environment:
      Fedora 28
    • 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.

      Description

      Our API returns compacted JSON all on one line without a trailing new line character. As PDI expects rows to be returned, the REST Client step just sits there when it receives such a response. It doesn't even stop when I manually request it, it just stays in the Halting state and I have the close PDI down entirely. It seems quite unreasonable to have to change our API to fit PDI's behaviour. PDI should be able to tell that the request is done just like any regular HTTP client and subsequently treat the data as a single row. This also seems to affect the HTTP Client step.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Chewi James Le Cuirot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: