Skip to content

Commit 12e1190

Browse files
authored
Merge pull request migtools#13 from migtools/MTA-3110_task-manager-UI
[WIP] Adding the Task Manager info to the UI doc
2 parents 18d5dd7 + b4a4325 commit 12e1190

7 files changed

+79
-14
lines changed

docs/topics/mta-web-configuring-and-running-an-application-analysis.adoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ Analysis takes minutes to hours to run depending on the size of the application
9292
====
9393
{ProductShortName} relies on Kubernetes scheduling capabilities to determine how many analyzer instances are created based on cluster capacity. If several applications are selected for analysis, by default, only one analyzer can be provisioned at a time. With more cluster capacity, more analysis processes can be executed in parallel.
9494
====
95-
. When analysis is complete, click the *Report* link to see the results of the analysis.
96-
. Optional: Display the details of the analysis:
97-
.. Click the Options menu ({kebab}).
98-
.. Select *Analysis details*. You can choose either the YAML or JSON format.
95+
96+
. Optional: To track the status of your active analysis task, open the *Task Manager* drawer by clicking the notifications button.
97+
+
98+
Alternatively, hover over the application name to display the pop-over window.
99+
. When analysis is complete, to see its results, open the application drawer by clicking on the application name.
100+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
:_newdoc-version: 2.18.3
2+
:_template-generated: 2024-08-07
3+
:_mod-docs-content-type: PROCEDURE
4+
5+
[id="mta-web-controlling-task-order-with-task-manager_{context}"]
6+
= Controlling the order of task execution
7+
8+
You can use *Task Manager* to preempt a {ProductFullName} task you have scheduled for execution.
9+
10+
[NOTE]
11+
====
12+
You can enable *Preemption* on any scheduled task (not in the status of *Running*, *Succeeded*, or *Failed*). However, only lower-priority tasks are candidates to be preempted. When a higher-priority task is blocked by lower-priority tasks and has *Preemption* enabled, the low-priority tasks might be rescheduled so that the blocked higher-priority task might run. Therefore, it is only useful to enable *Preemption* on higher-priority tasks, for example, application analysis.
13+
====
14+
15+
.Procedure
16+
17+
. In the *Migration* view, click *Task Manager*.
18+
. Click the *Options* menu ({kebab}) for the selected task.
19+
. Depending on your scenario, complete one of the following steps:
20+
21+
** To enable *Preemption* for the task, select *Enable preemption*.
22+
** To disable *Preemption* for the task with enabled *Preemption*, select *Disable preemption*.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
:_newdoc-version: 2.18.3
2+
:_template-generated: 2024-08-07
3+
:_mod-docs-content-type: PROCEDURE
4+
5+
[id="mta-web-controlling-tasks-with-task-manager_{context}"]
6+
= Controlling {ProductShortName} tasks by using Task Manager
7+
8+
*Task Manager* provides precise information about the {ProductFullName} tasks queued for execution. *Task Manager* handles the following types of tasks:
9+
10+
* Application analysis
11+
* Language discovery
12+
* Technology discovery
13+
14+
You can display task-related information either of the following ways:
15+
16+
* To display active tasks, open the *Task Manager* drawer by clicking the notifications button.
17+
* To display all tasks, open the *Task Manager* page in the *Migration* view.

docs/topics/mta-web-downloading-an-analysis-report.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,19 @@
66
[id="mta-web-downloading-an-analysis-report_{context}"]
77
= Downloading an analysis report
88

9+
An {ProductShortName} analysis report contains a number of sections, including a listing of the technologies used by the application, the dependencies of the application, and the lines of code that must be changed to successfully migrate or modernize the application.
10+
11+
For more information about the contents of an {ProductShortName} analysis report, see link:{ProductDocUserGuideURL}#review-reports_cli-guide[Reviewing the reports].
12+
913
For your convenience, you can download analysis reports. Note that by default this option is disabled.
1014

1115
.Procedure
1216

1317
. In *Administration* view, click *General*.
1418
. Toggle the *Allow reports to be downloaded after running an analysis.* switch.
1519
. Go to the *Migration* view and click *Application inventory*.
16-
. Open the page of the application for which you ran an analysis.
17-
. Click *Reports*.
20+
. Click on the application row to open the application drawer.
21+
. Click the *Reports* tab.
1822
. Click either the *HTML* or *YAML* link:
1923
* By clicking the *HTML* link, you download the compressed `analysis-report-app-<application_name>.tar` file. Extracting this file creates a folder with the same name as the application.
2024
* By clicking the *YAML* link, you download the uncompressed `analysis-report-app-<application_name>.yaml` file.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
:_newdoc-version: 2.18.3
2+
:_template-generated: 2024-08-01
3+
:_mod-docs-content-type: PROCEDURE
4+
5+
[id="mta-web-reviewing-a-task-log_{context}"]
6+
= Reviewing a task log
7+
8+
To find details and logs of a particular {ProductFullName} task, you can use the *Task Manager* page.
9+
10+
.Procedure
11+
12+
. In the *Migration* view, click *Task Manager*.
13+
. Click the *Options* menu ({kebab}) for the selected task.
14+
. Click *Task details*.
15+
+
16+
Alternatively, click on the task status in the *Status* column.

docs/topics/mta-web-reviewing-an-analysis-report.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44

55
:_content-type: PROCEDURE
66
[id="mta-web-reviewing-an-analysis-report_{context}"]
7-
= Reviewing an analysis report
7+
= Reviewing analysis details
88

9-
An {ProductShortName} analysis report contains a number of sections, including a listing of the technologies used by the application, the dependencies of the application, and the lines of code that must be changed to successfully migrate or modernize the application.
10-
11-
For more information about the contents of an {ProductShortName} analysis report, see link:{ProductDocUserGuideURL}#review-reports_cli-guide[Reviewing the reports].
9+
You can display the activity log of the analysis. The activity log contains such analysis details as, for example, analysis steps.
1210

1311
.Procedure
1412

1513
. In the *Migration* view, click *Application inventory*.
16-
. Expand the application with a completed analysis.
17-
. Click *Reports*.
18-
. Click the dependencies or source links.
19-
. Click the tabs to review the report.
14+
. Click on the application row to open the application drawer.
15+
. Click the *Reports* tab.
16+
. Click *View analysis details* for the activity log of the analysis.
17+
. Optional: For issues and dependencies found during the analysis, click the *Details* tab in the application drawer and click *Issues* or *Dependencies*.
18+
+
19+
Alternatively, open the *Issues* or *Dependencies* page in the *Migration* view.

docs/web-console-guide/master.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,13 @@ include::topics/proc_deleting-an-archetype.adoc[leveloffset=+3]
213213

214214
include::topics/proc_analyzing-an-application.adoc[leveloffset=+2]
215215
include::topics/mta-web-configuring-and-running-an-application-analysis.adoc[leveloffset=+3]
216+
216217
//include::topics/proc_displaying-the-analysis-details.adoc[leveloffset=+3]
217218
include::topics/mta-web-reviewing-an-analysis-report.adoc[leveloffset=+3]
218219
include::topics/mta-web-downloading-an-analysis-report.adoc[leveloffset=+3]
220+
include::topics/mta-web-controlling-tasks-with-task-manager.adoc[leveloffset=+2]
221+
include::topics/mta-web-reviewing-a-task-log.adoc[leveloffset=+3]
222+
include::topics/mta-web-controlling-task-order-with-task-manager.adoc[leveloffset=+3]
219223

220224
// include::topics/mta-web-creating-custom-migration-targets.adoc[leveloffset=+2]
221225

0 commit comments

Comments
 (0)