This topic tells you about the Application Accelerator Provenance
transform in Tanzu Application Platform (commonly known as TAP).
The Provenance
transform is a special transform used to generate a file that provides details of the accelerator engine transform.
type: Provenance
condition: <SpEL expression>
The Provenance
transform is added as a child to the top-most transform, which is usually a Merge
or a Chain
, using a Combo
.
The Provenance
transform ignores its input and outputs a single resource named accelerator-info.yaml
. For example:
id: <unique GUID of invocation>
timestamp: <timestamp in RFC3339 format>
username: <captured username of user triggering the run>
source: <client environment from which accelerator was run>
accelerator:
name: <name of registered accelerator>
git:
url: <git repository location>
ref:
branch: <branch name> or
tag: <tag name> or
commit: <specific requested commit>
subPath: <optional subpath inside the repo>
commit: <actual SHA the branch or tag pointed to>
fragments:
- name: <name of registered fragment 1>
git:
url: <git repository location>
ref:
branch: <branch name> or
tag: <tag name> or
commit: <specific requested commit>
subPath: <optional subpath inside the repo>
commit: <actual SHA the branch or tag pointed to>
- name: <name of registered fragment 2>
git:
url: <git repository location>
ref:
branch: <branch name> or
tag: <tag name> or
commit: <specific requested commit>
subPath: <optional subpath inside the repo>
commit: <actual SHA the branch or tag pointed to>
- ...
options:
- name: <option name>
value: <option value>
- name: <option name>
value: <option value>
NoteDepending on the invocation scenario, some pieces of data might not be present.