Class SubmitAnalysisTask

All Implemented Interfaces:
WorkFlowTask, com.redhat.parodos.workflows.work.Work, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

public class SubmitAnalysisTask extends BaseInfrastructureWorkFlowTask
SubmitAnalysisTask submits a analysis task to MTA on a specific application. Prerequisite is that the application is already in the inventory of the MTA ("Application Inventory"). This task would return back the id of the submitted request for analysis, and with the combination of AnalysisGetTask is would fetch the result of the task. Analysis target type is currently "cloud-readiness" only and might be expanded later.
  • Field Details

    • mtaClient

      protected com.redhat.parodos.tasks.migrationtoolkit.MTATaskGroupClient mtaClient
  • Constructor Details

    • SubmitAnalysisTask

      public SubmitAnalysisTask()
    • SubmitAnalysisTask

      public SubmitAnalysisTask(URI serverURL, String bearerToken)
  • 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)
      Parameters:
      workContext - optional context values: serverURL, and bearerToken for the mtaClient.