Skip to content
Snippets Groups Projects
Commit f307815c authored by Karel van Klink's avatar Karel van Klink :smiley_cat: Committed by Neda Moeini
Browse files

Updated the headless LSO interaction

parent 2f863981
No related branches found
No related tags found
1 merge request!139Feature/add validation workflows
......@@ -192,16 +192,16 @@ def indifferent_lso_interaction(provisioning_step: Step) -> StepList:
)
def anonymous_lso_interaction(provisioning_step: Step, validation_step: Step = _ignore_results) -> StepList:
def anonymous_lso_interaction(provisioning_step: Step, validation_step: Step = _evaluate_results) -> StepList:
"""Interact with the provisioning proxy :term:`LSO` without any user input.
Going one step further than the indifferent :term:`LSO` interaction, is the anonymous interaction. Output is ignored
and no input step is created to display the results.
Similar to the indifferent :term:`LSO` interaction, there also is the anonymous interaction. Output is not ignored
but no input step is created to display the results.
A custom validation step may be given as input. This validation step should look inside the ``callback_result`` key
in the current state.
in the current state. By default, only the return code of the playbook execution is evaluated.
:param Step provisioning_step: A workflow step to remotely provision a subscription.
:param Step validation_step: An optional validation step which defaults to a step that ignores the results.
:param Step validation_step: An optional validation step which defaults to a step that evaluates the return code.
"""
return (
begin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment