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

PDI is using REST API header -H "Transfer-Encoding: chunked" which is not compatible with HDCA REST API POST CALL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Severity: High
    • Resolution: Unresolved
    • Affects Version/s: 8.0.0.2 GA, 8.0.0.6 GA
    • Fix Version/s: Backlog
    • Component/s: Step
    • Labels:
      None
    • 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.
    • Operating System/s:
      Windows 7 (64-bit)
    • Steps to Reproduce:
      Hide

      any Post command to HDCA, working one : curl -k --request POST --basic --user admin:password -H "Content-Type: application/json" --data '

      {"query":"*raidStorage[=name rx .*]/raidClpr[@utilization rx b .+][@writePendingRate rx b .+]","startTime":"20180531_000000","endTime":"20180531_235900"}

      ' "https://hiaa-01:8443/dbapi.do?action=query&dataset=defaultDs&processSync=true

      PDI output not working :
      curl -k --request POST --basic --user admin:password -H "Transfer-Encoding: chunked" -H "Content-Type: application/json" --data '

      {"query":"*raidStorage[=name rx .*]/raidClpr[@utilization rx b .+][@writePendingRate rx b .+]","startTime":"20180531_000000","endTime":"20180531_235900"}

      ' "https://hiaa-01:8443/dbapi.do?action=query&dataset=defaultDs&processSync=true"

      Show
      any Post command to HDCA, working one : curl -k --request POST --basic --user admin:password -H "Content-Type: application/json" --data ' {"query":"*raidStorage[=name rx .*]/raidClpr[@utilization rx b .+][@writePendingRate rx b .+]","startTime":"20180531_000000","endTime":"20180531_235900"} ' "https://hiaa-01:8443/dbapi.do?action=query&dataset=defaultDs&processSync=true PDI output not working : curl -k --request POST --basic --user admin:password -H "Transfer-Encoding: chunked" -H "Content-Type: application/json" --data ' {"query":"*raidStorage[=name rx .*]/raidClpr[@utilization rx b .+][@writePendingRate rx b .+]","startTime":"20180531_000000","endTime":"20180531_235900"} ' "https://hiaa-01:8443/dbapi.do?action=query&dataset=defaultDs&processSync=true"

      Description

      need to remove the option -H "Transfer-Encoding: chunked" from the header

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              abeauregard Beauregard
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: