Package com.redhat.parodos.tasks.ansible
Class AnsibleCompletionWorkFlowCheckerTask
java.lang.Object
com.redhat.parodos.workflow.task.BaseWorkFlowTask
com.redhat.parodos.workflow.task.checker.BaseWorkFlowCheckerTask
com.redhat.parodos.tasks.ansible.AnsibleCompletionWorkFlowCheckerTask
- All Implemented Interfaces:
WorkFlowTask,com.redhat.parodos.workflows.work.Work,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
An example of a task that check for ansible completion
- Author:
- Annel Ketcha (Github: anludke)
-
Field Summary
FieldsFields inherited from class com.redhat.parodos.workflow.task.BaseWorkFlowTask
taskLogger -
Constructor Summary
ConstructorsConstructorDescriptionAnsibleCompletionWorkFlowCheckerTask(String aapUrl, String username, String password) -
Method Summary
Modifier and TypeMethodDescriptioncom.redhat.parodos.workflows.work.WorkReportcheckWorkFlowStatus(com.redhat.parodos.workflows.work.WorkContext workContext) Executed by the InfrastructureTask engine as part of the Workflowprotected voidresponseAction(AapGetJobResponseDTO responseDTO) Methods inherited from class com.redhat.parodos.workflow.task.checker.BaseWorkFlowCheckerTask
execute, getTypeMethods inherited from class com.redhat.parodos.workflow.task.BaseWorkFlowTask
addAdditionInfo, addParameter, getAllParameters, getMainExecutionId, getName, getOptionalParameterValue, getOptionalParameterValue, getProjectId, getRequiredParameterValue, getWorkFlowCheckers, preExecute, setBeanName, setWorkFlowCheckers, validateWorkflowParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.redhat.parodos.workflow.task.WorkFlowTask
getAsJsonSchema, getWorkFlowTaskOutputs, getWorkFlowTaskParameters
-
Field Details
-
jobId
-
-
Constructor Details
-
AnsibleCompletionWorkFlowCheckerTask
-
-
Method Details
-
checkWorkFlowStatus
public com.redhat.parodos.workflows.work.WorkReport checkWorkFlowStatus(com.redhat.parodos.workflows.work.WorkContext workContext) Executed by the InfrastructureTask engine as part of the Workflow- Specified by:
checkWorkFlowStatusin classBaseWorkFlowCheckerTask
-
responseAction
-