Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-21059

Enhance custom request transform targeting

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.6
    • Component/s: DESDL
    • Labels:
      None

      Description

      HPCC-20583 introduced custom targets to custom request transforms. The adopted approach works for initial scenarios, but poses problems for broader use.

      1. Multiple transforms can be defined. Each transform can specify its own target, with its rules written to be relative to that target. All transforms are merged into one, and the last transform (or last to explicitly specify a target) determines the target that will be applied to all rules. The results will be unexpected when multiple targets are used.
      2. A transform that targets soap:Body/{$query} cannot also reference relative targets within the method request type structure using a variable (e.g., {$request}). That this variable doesn't exist is easily addressed. The problem is that the transform rule targets are compiled when the binding is loaded, without the benefit of request context. Explicitly naming the request type in the target path works, but reduces transform reuse and impacts the usefulness of service level transforms (which are supported).

        Attachments

          Activity

            People

            • Assignee:
              afishbeck Anthony Fishbeck
              Reporter:
              klemti01 Tim Klemm
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: