Class SecureAPIGetTestTask
java.lang.Object
com.redhat.parodos.workflow.task.BaseWorkFlowTask
com.redhat.parodos.workflow.task.infrastructure.BaseInfrastructureWorkFlowTask
com.redhat.parodos.examples.simple.task.SecureAPIGetTestTask
- All Implemented Interfaces:
WorkFlowTask,Work,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
An example of a task that calls a Rest Endpoint with a BasicAuth Header
- Author:
- Luke Shannon (Github: lshannon), Annel Ketcha (Github: anludke)
-
Field Summary
FieldsFields inherited from class com.redhat.parodos.workflow.task.BaseWorkFlowTask
taskLogger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(WorkContext workContext) Executed by the InfrastructureTask engine as part of the WorkflowMethods inherited from class com.redhat.parodos.workflow.task.infrastructure.BaseInfrastructureWorkFlowTask
getTypeMethods inherited from class com.redhat.parodos.workflow.task.BaseWorkFlowTask
addParameter, getAllParameters, getMainExecutionId, getName, getOptionalParameterValue, getProjectId, getRequiredParameterValue, getWorkFlowCheckers, preExecute, setBeanName, setWorkFlowCheckersMethods 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
-
Field Details
-
SECURED_URL
- See Also:
-
USERNAME
- See Also:
-
PASSWORD
- See Also:
-
-
Constructor Details
-
SecureAPIGetTestTask
public SecureAPIGetTestTask()
-
-
Method Details
-
execute
Executed by the InfrastructureTask engine as part of the Workflow -
getWorkFlowTaskParameters
-
getWorkFlowTaskOutputs
-