Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.01 KB

File metadata and controls

37 lines (27 loc) · 1.01 KB

Include transform

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

The Include transform retains files based on their path, letting in only those files whose path matches at least one of the configured patterns. The contents of files, and any of their other characteristics, are unaffected.

Include 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.

Syntax reference

type: Include
patterns: [<ant pattern>]
condition: <SpEL expression>

Examples

type: Chain
transformations:
  - type: Include
    patterns: ["**/*.yaml"]
  - type: # At this point, only yaml files are affected

Diagram showing an include transform.

See also