Skip to content

Commit f85060d

Browse files
authored
Merge pull request migtools#19 from vsodhi/MTA-3102-app-insights
MTA-3102-app insights section added
2 parents 564411f + 559179c commit f85060d

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed
65.6 KB
Loading

docs/topics/mta-review-reports.adoc

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ The top navigation bar lists the various reports that contain additional details
7777
| Issues
7878
| Provides a concise summary of all issues that require attention.
7979

80+
| Insights
81+
| Provides information about the technologies used in the application and their usage in the code. However, these Insights do not impact the migration.
82+
8083
| Application details
8184
| Provides a detailed overview of all resources found within the application that may need attention during the migration.
8285

@@ -152,6 +155,62 @@ image::3-5-expanded-issue.png[Expanded rule in the issues report]
152155

153156
Issues are sorted into four categories by default. Information on these categories is available at ask Category.
154157

158+
159+
=== Insights
160+
161+
:FeatureName: Insights
162+
include::snippets/technology-preview-admonition.adoc[]
163+
164+
Previously, a violation generated by a rule with zero effort was listed as an issue in the static report. This is now listed as an insight instead. Issues are generated by general rules, whereas string tags are generated by tagging rules. String tags indicate the presence of a technology but do not show the code location. With the introduction of Insights, you can see the technology used in the application along with its usage in the code.
165+
166+
For example, a rule searching for deprecated API usage in the code that does not impact the current migration but can be tracked and fixed when needed in the future.
167+
168+
Unlike issues, insights do not need to be fixed for a successful migration. They are generated by any rule that doesn't have a positive effort value and category assigned. They might have a message and tag.
169+
170+
[NOTE]
171+
=====
172+
Insights are generated automatically if applicable or present. Currently, {ProductShortName} supports generating Insights when application anaylsis is done using CLI.
173+
=====
174+
175+
You can view Insights under the *Insights* tab in the static report.
176+
177+
image::mta-cli-guide-app-insights.png[Insights tab in the Static report]
178+
179+
.Example: Insights generated by a tagging rule with undefined effort
180+
181+
[source,terminal]
182+
----
183+
- customVariables: []
184+
description: Embedded library - Apache Wicket
185+
labels:
186+
- konveyor.io/include=always
187+
links: []
188+
ruleID: mvc-01000
189+
tag:
190+
- Apache Wicket
191+
- Embedded library - Apache Wicket
192+
when:
193+
builtin.file:
194+
pattern: .*wicket.*\.jar
195+
----
196+
197+
.Example: Insights generated by a non-tagging rule with zero effort
198+
199+
[source,terminal]
200+
----
201+
- category: potential
202+
customVariables: []
203+
description: RESTful Web Services @Context annotation has been deprecated
204+
effort: 0
205+
message: Future versions of this API will no longer support `@Context` and related
206+
types such as `ContextResolver`.
207+
ruleID: jakarta-ws-rs-00001
208+
when:
209+
java.referenced:
210+
location: ANNOTATION
211+
pattern: jakarta.ws.rs.core.Context
212+
----
213+
155214
=== Application details report
156215

157216
Access this report from the dashboard by clicking the *Application Details* link.

docs/topics/snippets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../snippets

0 commit comments

Comments
 (0)