Class SubmitAnalysisTask
java.lang.Object
com.redhat.parodos.workflow.task.BaseWorkFlowTask
com.redhat.parodos.workflow.task.infrastructure.BaseInfrastructureWorkFlowTask
com.redhat.parodos.tasks.migrationtoolkit.SubmitAnalysisTask
- All Implemented Interfaces:
WorkFlowTask,com.redhat.parodos.workflows.work.Work,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
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 Summary
FieldsModifier and TypeFieldDescriptionprotected com.redhat.parodos.tasks.migrationtoolkit.MTATaskGroupClient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.redhat.parodos.workflows.work.WorkReportexecute(com.redhat.parodos.workflows.work.WorkContext workContext) @NonNull List<WorkParameter>Methods 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, 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, getWorkFlowTaskOutputs
-
Field Details
-
mtaClient
protected com.redhat.parodos.tasks.migrationtoolkit.MTATaskGroupClient mtaClient
-
-
Constructor Details
-
SubmitAnalysisTask
public SubmitAnalysisTask() -
SubmitAnalysisTask
-
-
Method Details
-
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.
-