Legacy Delegation Migration ​
Older TPF examples often describe delegation as annotation-driven Java wiring. Current authoring should make the pipeline contract YAML-first.
Migration Steps ​
- Keep
@PipelineSteponly for internal execution services that still need that marker. - Move step order, operator references, cardinality, and boundary declarations into YAML.
- Replace hidden adapter glue with explicit operators or mappers.
- Run build-time validation before changing deployment topology.
Before ​
java
@PipelineStep
public Output run(Input input) {
return legacyLibrary.call(input);
}After ​
yaml
steps:
- name: call-legacy-library
operator: com.example.LegacyLibrary::call
input: Input
output: OutputFor the full legacy reference, see Operator Delegation Reference.