Class DeployApplicationTask

java.lang.Object
com.redhat.parodos.workflow.task.BaseWorkFlowTask
com.redhat.parodos.tasks.deploy.DeployApplicationTask
All Implemented Interfaces:
WorkFlowTask, com.redhat.parodos.workflows.work.Work, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

public class DeployApplicationTask extends BaseWorkFlowTask
  • Constructor Details

    • DeployApplicationTask

      public DeployApplicationTask()
    • DeployApplicationTask

      public DeployApplicationTask(com.redhat.parodos.tasks.deploy.DeployApplicationTask.OpenShiftClientCreator clientCreator)
  • Method Details

    • getWorkFlowTaskParameters

      @NonNull public @NonNull List<WorkParameter> getWorkFlowTaskParameters()
    • execute

      public com.redhat.parodos.workflows.work.WorkReport execute(com.redhat.parodos.workflows.work.WorkContext workContext)
      Executes the task logic, based on the following steps:
        Verify parameters are present
        Load the manifests
        Deploy the manifests
        Update the context with the installed application routes
      Parameters:
      workContext - context in which this unit of work is being executed
      Returns:
      a WorkReport with the result of the execution