This topic tells you about the Application Accelerator Exclude transform in Tanzu Application Platform (commonly known as TAP).
The Exclude transform retains files based on their path, allowing all files except ones with a path that matches at least one of the configured patterns. The contents of files, and any of their other characteristics are unaffected.
Exclude is a basic building block seldom used as is, which makes sense if composed inside a Chain or a Merge. It is often more convenient to leverage the shorthand notation offered by Combo.
type: Exclude
patterns: [<ant pattern>]
condition: <SpEL expression>
type: Chain
transformations:
- type: Exclude
patterns: ["**/secret/**"]
- type: # At this point, no file matching **/secret/** is affected.