Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1018 Bytes

File metadata and controls

31 lines (23 loc) · 1018 Bytes

Chain transform

This topic tells you about the Application Accelerator Chain transform in Tanzu Application Platform (commonly known as TAP).

The Chain transform uses function composition to produce its final output.

Syntax reference

type: Chain
transformations:
  - <transform>
  - <transform>
  - <transform>
  - ...
applyTo: [<ant pattern>]
condition: <SpEL expression>

Behavior

A chain of T1 then T2 then T3 first applies transform T1. It then applies T2 to the output of T1, and finally applies T3 to the output of that. In other words, T3 to T2 to T1.

An empty chain acts as function identity.

If the optional applyTo property is set, then the chained transformations are only applied to files with paths that match the applyTo patterns. Files with paths that don't match are left untouched and merged back with the other results to form the final result of the Chain transform.