Skip to content

Commit f1fc098

Browse files
committed
MTA- : Removing discrete headers
Signed-off-by: A.Arnold <[email protected]>
1 parent f3a8d5e commit f1fc098

9 files changed

+26
-31
lines changed

docs/topics/configuring-web-console-authentication-for-linux-windows-macos.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99
You can configure the {WebName} to require authentication for access. To enable authentication, you have to install Red Hat Single Sign-On (SSO).
1010

11-
[discrete]
12-
[id="enabling-authentication_{context}"]
11+
[id="mta-enabling-authentication_{context}"]
1312
== Enabling authentication
1413

1514
.Procedure
@@ -86,7 +85,6 @@ C:\<MTR_HOME>\run_windup.bat
8685
----
8786
. Open the browser at `\http://localhost:8080/windup-ui`.
8887

89-
[discrete]
9088
[id="disabling-authentication_{context}"]
9189
== Disabling authentication
9290

docs/topics/csv-export.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ The CSV files are exported to the directory specified by the `outputDirectory` a
2929
endif::maven-guide[]
3030

3131
ifdef::cli-guide[]
32-
[discrete]
32+
33+
[id="access-report-from-app-report_{context}"]
3334
=== Accessing the report from the application report
3435

3536
If you have exported the CSV report, you can download all of the CSV issues in the Issues Report. To download these issues, click *Download All Issues CSV* in the Issues Report.
@@ -38,13 +39,15 @@ If you have exported the CSV report, you can download all of the CSV issues in t
3839
image::4-1-issues-report-with-csv-download.png[Issues report with CSV download]
3940
endif::cli-guide[]
4041

42+
[id="import-csv-file-spreadsheet_{context}"]
4143
== Importing the CSV file into a spreadsheet program
4244

4345
. Launch the spreadsheet software, for example, Microsoft Excel.
4446
. Choose *File* -> *Open*.
4547
. Browse to the CSV exported file and select it.
4648
. The data is now ready to analyze in the spreadsheet software.
4749

50+
[id="about-csv-data-strcture_{context}"]
4851
== About the CSV data structure
4952

5053
The CSV formatted output file contains the following data fields:

docs/topics/execute.adoc

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ $ ./{LC_PSN}-cli --input /path/to/jee-example-app-1.0.0.ear --output /path/to/ou
2525

2626
. Access the report.
2727

28-
[discrete]
2928
[id="command-examples_{context}"]
3029
== {ProductShortName} Command examples
3130

32-
[discrete]
31+
[id="running-mta-application-archive_{context}"]
3332
=== Running {ProductShortName} on an application archive
3433

3534
The following command analyzes the `com.acme` and `org.apache` packages of the link:https://github.com/windup/windup/blob/master/test-files/jee-example-app-1.0.0.ear[jee-example-app-1.0.0.ear] example EAR archive for migrating from JBoss EAP 5 to JBoss EAP 7:
@@ -39,7 +38,7 @@ The following command analyzes the `com.acme` and `org.apache` packages of the l
3938
$ <{ProductShortName}_HOME>/bin/{LC_PSN}-cli --input /path/to/jee-example-app-1.0.0.ear --output /path/to/report-output/ --source eap:5 --target eap:7 --packages com.acme org.apache
4039
----
4140

42-
[discrete]
41+
[id="running-mta-on-source-code_{context}"]
4342
=== Running {ProductShortName} on source code
4443

4544
The following command analyzes the `org.jboss.seam` packages of the link:https://github.com/windup/windup/tree/master/test-files/seam-booking-5.2[seam-booking-5.2] example source code for migrating to JBoss EAP 6.
@@ -49,7 +48,7 @@ The following command analyzes the `org.jboss.seam` packages of the link:https:/
4948
$ <{ProductShortName}_HOME>/bin/{LC_PSN}-cli --sourceMode --input /path/to/seam-booking-5.2/ --output /path/to/report-output/ --target eap:6 --packages org.jboss.seam
5049
----
5150

52-
[discrete]
51+
[id="running-mta-cloud-readiness-rules_{context}"]
5352
=== Running cloud-readiness rules
5453

5554
The following command analyzes the `com.acme` and `org.apache` packages of the link:https://github.com/windup/windup/blob/master/test-files/jee-example-app-1.0.0.ear[jee-example-app-1.0.0.ear] example EAR archive for migrating to JBoss EAP 7. It also evaluates for cloud readiness:
@@ -59,7 +58,7 @@ The following command analyzes the `com.acme` and `org.apache` packages of the l
5958
$ <{ProductShortName}_HOME>/bin/{LC_PSN}-cli --input /path/to/jee-example-app-1.0.0.ear --output /path/to/report-output/ --target eap:7 --target cloud-readiness --packages com.acme org.apache
6059
----
6160

62-
[discrete]
61+
[id="overriding-mta-product-properties_{context}"]
6362
=== Overriding {ProductShortName} properties
6463

6564
To override the default _Fernflower_ decompiler, pass the `-Dwindup.decompiler` argument on the command line. For example, to use the _Procyon_ decompiler, use the following syntax:
@@ -69,7 +68,6 @@ To override the default _Fernflower_ decompiler, pass the `-Dwindup.decompiler`
6968
$ <{ProductShortName}_HOME>/bin/{LC_PSN}-cli -Dwindup.decompiler=procyon --input <INPUT_ARCHIVE_OR_DIRECTORY> --output <OUTPUT_REPORT_DIRECTORY> --target <TARGET_TECHNOLOGY> --packages <PACKAGE_1> <PACKAGE_2>
7069
----
7170

72-
[discrete]
7371
[id="cli-bash-completion_{context}"]
7472
== About {ProductShortName} {CLINameTitle} Bash completion
7573

@@ -80,7 +78,6 @@ The {ProductShortName} {CLIName} provides an option to enable Bash completion fo
8078
$ <{ProductShortName}_HOME>/bin/{LC_PSN}-cli [TAB]
8179
----
8280

83-
[discrete]
8481
[id="bash-completion-temporary_{context}"]
8582
=== Enabling Bash completion
8683

@@ -91,7 +88,6 @@ To enable Bash completion for the current shell, execute the following command:
9188
$ source <{ProductShortName}_HOME>/bash-completion/{LC_PSN}-cli
9289
----
9390

94-
[discrete]
9591
[id="bash-completion-persistent_{context}"]
9692
=== Enabling persistent Bash completion
9793

@@ -111,7 +107,6 @@ source <{ProductShortName}_HOME>/bash-completion/{LC_PSN}-cli
111107
# cp <{ProductShortName}_HOME>/bash-completion/{LC_PSN}-cli /etc/bash_completion.d/
112108
----
113109

114-
[discrete]
115110
[id="accessing-help_{context}"]
116111
== Accessing {ProductShortName} help
117112

docs/topics/mavenize.adoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ The example `jee-example-app-1.0.0.ear` application is an EAR archive that conta
5151
Review each of the generated files and customize as appropriate for your project. To learn more about Maven POM files, see the link:https://maven.apache.org/guides/introduction/introduction-to-the-pom.html[Introduction to the POM] section of the Apache Maven documentation.
5252

5353
[id="root-pom-file_{context}"]
54-
[discrete]
5554
=== Root POM file
5655

5756
The root POM file for the `jee-example-app-1.0.0.ear` application can be found at `/path/to/output/mavenized/jee-example-app/pom.xml`. This file identifies the directories for all of the project modules.
@@ -76,7 +75,6 @@ The root POM is also configured to use the link:https://maven.repository.redhat.
7675

7776

7877
[id="bom-file_{context}"]
79-
[discrete]
8078
=== BOM file
8179

8280
The Bill of Materials (BOM) file is generated in the directory ending in `-bom`. For the example `jee-example-app-1.0.0.ear` application, the BOM file can be found at `/path/to/output/mavenized/jee-example-app/jee-example-app-bom/pom.xml`. The purpose of this BOM is to have the versions of third-party dependencies used by the project defined in one place. For more information on using a BOM, see the link:https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html[Introduction to the dependency mechanism] section of the Apache Maven documentation.
@@ -102,7 +100,6 @@ The following dependencies are listed in the BOM for the example `jee-example-ap
102100
----
103101

104102
[id="app-pom-files_{context}"]
105-
[discrete]
106103
=== Application POM files
107104

108105
Each application module that can be mavenized has a separate directory containing its POM file. The directory name contains the name of the archive and ends in a `-jar`, `-war`, or `-ear` suffix, depending on the archive type.

docs/topics/mta-cli-run-single-app.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $ ./{mta-cli} analyze --input <path_to_input> \
3131
[id="command-examples_{context}"]
3232
== {ProductShortName} command examples
3333

34-
[discrete]
34+
[id="running-mta-cli-single-app-archive_{context}"]
3535
=== Running {ProductShortName} on an application archive
3636

3737
The following command analyzes the example EAR archive named `jee-example-app-1.0.0.ear` for migrating from JBoss EAP 5 to JBoss EAP 7:
@@ -44,7 +44,7 @@ $ <{ProductShortName}_HOME>/{mta-cli} analyze \
4444
----
4545
[]
4646

47-
[discrete]
47+
[id="running-mta-cli-single-source-code_{context}"]
4848
=== Running {ProductShortName} on source code
4949

5050
The following command analyzes the source code of an example application called `customer-management` for migrating to JBoss EAP 8.
@@ -56,7 +56,8 @@ $ <{ProductShortName}_HOME>/{mta-cli} analyze --mode source-only --input <path_t
5656
--output <path_to_report_output> --target eap8
5757
----
5858
[]
59-
[discrete]
59+
60+
[id="running-mta-cli-single-cloud-readiness_{context}"]
6061
=== Running cloud-readiness rules
6162

6263
The following command analyzes the example EAR archive named `jee-example-app-1.0.0.ear` for migrating to JBoss EAP 7. It also evaluates the archive for cloud readiness:

docs/topics/mta-what-is-the-toolkit.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
[id="mta-what-is-the-toolkit_{context}"]
1313
= About the {ProductName}
1414

15-
[discrete]
15+
[id="what-is-mta_{context}"]
1616
== What is the {ProductName}?
1717

1818
{ProductName} ({ProductShortName}) accelerates large-scale application modernization efforts across hybrid cloud environments on Red Hat OpenShift. This solution provides insight throughout the adoption process, at both the portfolio and application levels: inventory, assess, analyze, and manage applications for faster migration to OpenShift via the user interface.
@@ -26,7 +26,7 @@ In {ProductShortName} 7.1 and later, when you add an application to the *Applica
2626
{ProductShortName} examines application artifacts, including project source directories and application archives, and then produces an HTML report highlighting areas needing changes.
2727

2828

29-
[discrete]
29+
[id="how-mta-app-simplify-migration_{context}"]
3030
== How does the {ProductName} simplify migration?
3131

3232
The {ProductName} looks for common resources and known trouble spots when migrating applications. It provides a high-level view of the technologies used by the application.

docs/topics/testing-rules.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ In addition to the tags in the standard `perform action` syntax, the following `
4848
[id="not-syntax_{context}"]
4949
==== <not> syntax
5050

51-
[discrete]
51+
[id="not-syntax-summary_{context}"]
5252
===== Summary
5353

5454
The `<not>` element is the standard logical _not_ operator, and is commonly used to perform a `<fail>` if the condition is not met.
@@ -96,7 +96,7 @@ The `<not>` element has no unique attributes or child elements.
9696
[id="iterable-filter-syntax_{context}"]
9797
==== <iterable-filter> syntax
9898

99-
[discrete]
99+
[id="iterable-filter-syntax-summary_{context}"]
100100
===== Summary
101101

102102
The `<iterable-filter>` element counts the number of times a condition is verified. For additional information, see the link:{LinkAPI}rules-base/api/src/main/java/org/jboss/windup/rules/general/IterableFilter.java[IterableFilter] class.
@@ -141,7 +141,7 @@ The following is an example that looks for four instances of the specified messa
141141

142142
The `<iterable-filter>` element has no unique child elements.
143143

144-
[discrete]
144+
[id="iterable-filter-element_{context}"]
145145
===== <iterable-filter> element attributes
146146

147147
[cols="1,1,3", options="header"]
@@ -204,7 +204,7 @@ The following is an example that searches for a specific classification title.
204204

205205
The `<classification-exists>` has no unique child elements.
206206

207-
[discrete]
207+
[id="classification_exists_element_{context}"]
208208
===== <classification-exists> element attributes
209209

210210
[cols="1,1,3", options="header"]
@@ -273,7 +273,7 @@ The following is an example that searches for a specific hint.
273273

274274
The `<hint-exists>` element has no unique child elements.
275275

276-
[discrete]
276+
[id="hint-exists-element-attributes_{context}"]
277277
===== <hint-exists> element attributes
278278

279279
[cols="1,1,3", options="header"]
@@ -298,7 +298,7 @@ The `<fail>` element reports the execution as a failure and displays the associa
298298

299299
The `<fail>` element has no unique child elements.
300300

301-
[discrete]
301+
[id="fail-syntax-element-attributes_{context}"]
302302
===== <fail> element attributes
303303

304304
[cols="1,1,3", options="header"]

docs/topics/web-openshift-environment.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ image::webconsole-architecture-empty-dir.png[web-template-empty-dir-executor.jso
2626
.`web-template-empty-dir-executor-shared-storage.json`
2727
image::webconsole-architecture-shared-storage.png[web-template-empty-dir-executor-shared-storage.json]
2828
29-
[discrete]
29+
[id="openshift-template-env-variables_{context}"]
3030
== OpenShift template environment variables
3131

3232
The OpenShift image environment variables are configured as a baseline for application analysis, and work well in a variety of environments. No additional configuration is required to perform an analysis.

docs/topics/what-is-the-toolkit.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[id="what-is-the-toolkit_{context}"]
1414
= About the {ProductName}
1515

16-
[discrete]
16+
[id="what-is-the-mta_{context}"]
1717
== What is the {ProductName}?
1818

1919
The {ProductName} ({ProductShortName}) is an extensible and customizable rule-based tool that simplifies the migration and modernization of Java applications.
@@ -33,15 +33,16 @@ The {ProductName} ({ProductShortName}) is an extensible and customizable rule-ba
3333

3434
For more information about use cases and migration paths, see the link:https://developers.redhat.com/products/{LC_PSN}/use-cases[{ProductShortName} for developers] web page.
3535

36-
[discrete]
36+
[id="mta-simplify-migration_{context}"]
3737
== How does the {ProductName} simplify migration?
3838

3939
The {ProductName} looks for common resources and known trouble spots when migrating applications. It provides a high-level view of the technologies used by the application.
4040

4141
{ProductShortName} generates a detailed report evaluating a migration or modernization path. This report can help you to estimate the effort required for large-scale projects and to reduce the work involved.
4242

4343
ifndef::getting-started-guide[]
44-
[discrete]
44+
45+
[id="how-to-learn-more_{context}"]
4546
== How do I learn more?
4647

4748
See the link:{ProductDocIntroToMTAGuideURL}[Introduction to the {DocInfoProductName}] to learn more about the features, supported configurations, system requirements, and available tools in the {ProductName}.

0 commit comments

Comments
 (0)