Skip to content
Snippets Groups Projects

Make use of new callback step for external provisioning

Merged Karel van Klink requested to merge feature/use-async-steps into develop
All threads resolved!
8 files
+ 116
127
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -284,9 +284,17 @@ def _show_pp_results(state: State) -> FormGenerator:
return state
def pp_interaction(provisioning_step: Step, interaction_name: str) -> StepList:
def pp_interaction(provisioning_step: Step) -> StepList:
"""
An interaction with the provisioning proxy :term:`LSO` as a callback step.
:param provisioning_step: A workflow step that performs an operation remotely using the provisioning proxy.
:type provisioning_step: :class:`Step`
:return: A list of steps that is executed as part of the workflow.
:rtype: :class:`StepList`
"""
return (
begin
>> callback_step(name=interaction_name, action_step=provisioning_step, validate_step=_evaluate_pp_results)
>> callback_step(name=provisioning_step.name, action_step=provisioning_step, validate_step=_evaluate_pp_results)
>> _show_pp_results
)
Loading