|
Fabric 0.2.0
|
Fabric relies on XML plans to define workflows. A plan is submitted either from a file or through the /fabric/set_plan service as raw XML text.
The current XML parser accepts only these element types:
<Plan> as the document root.<Control> with a required type attribute.<Runner> with required interface and provider attributes.Supported control types are:
sequentialparallel_anyparallel_allrecoveryAny additional attributes on a <Runner> are forwarded into the runner's EventParameters and are auto-typed as bool, int, double, or string.
Below is a valid example plan shape:
Notes:
fabric_capabilities/FabricCompletionRunner automatically and injects the generated plan_id./fabric/set_plan only gets a lightweight XML compatibility check up front. Full syntax validation happens during parsing.