Skip to content

Commit 9593167

Browse files
Fenqin ZhouFenqin Zhou
authored andcommitted
Add AppCAT 7.6.0.4 release update
1 parent f697f5c commit 9593167

File tree

6 files changed

+64
-41
lines changed

6 files changed

+64
-41
lines changed

articles/migrate/appcat/java-preview.md

Lines changed: 64 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -75,30 +75,29 @@ For the JDK requirement, we recommend you use the [Microsoft Build of OpenJDK](/
7575
| macOS | Apple Silicon | [Download][10] | [sha256][11] / [sig][12] |
7676
| Linux | AArch64 / ARM64 | [Download][4] | [sha256][5] / [sig][6] |
7777

78-
[1]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-linux-amd64-7.6.0.3-preview.tar.gz
79-
[2]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-linux-amd64-7.6.0.3-preview.tar.gz.sha256sum.txt
80-
[3]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-linux-amd64-7.6.0.3-preview.tar.gz.sig
81-
[4]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-linux-arm64-7.6.0.3-preview.tar.gz
82-
[5]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-linux-arm64-7.6.0.3-preview.tar.gz.sha256sum.txt
83-
[6]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-linux-arm64-7.6.0.3-preview.tar.gz.sig
84-
[7]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-macos-amd64-7.6.0.3-preview.tar.gz
85-
[8]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-macos-amd64-7.6.0.3-preview.tar.gz.sha256sum.txt
86-
[9]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-macos-amd64-7.6.0.3-preview.tar.gz.sig
87-
[10]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-macos-arm64-7.6.0.3-preview.tar.gz
88-
[11]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-macos-arm64-7.6.0.3-preview.tar.gz.sha256sum.txt
89-
[12]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-macos-arm64-7.6.0.3-preview.tar.gz.sig
90-
[13]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-windows-amd64-7.6.0.3-preview.zip
91-
[14]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-windows-amd64-7.6.0.3-preview.zip.sha256sum.txt
92-
[15]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-windows-amd64-7.6.0.3-preview.zip.sig
93-
[16]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-windows-arm64-7.6.0.3-preview.zip
94-
[17]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-windows-arm64-7.6.0.3-preview.zip.sha256sum.txt
95-
[18]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-windows-arm64-7.6.0.3-preview.zip.sig
78+
[1]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-linux-amd64-7.6.0.4-preview.tar.gz
79+
[2]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-linux-amd64-7.6.0.4-preview.tar.gz.sha256sum.txt
80+
[3]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-linux-amd64-7.6.0.4-preview.tar.gz.sig
81+
[4]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-linux-arm64-7.6.0.4-preview.tar.gz
82+
[5]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-linux-arm64-7.6.0.4-preview.tar.gz.sha256sum.txt
83+
[6]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-linux-arm64-7.6.0.4-preview.tar.gz.sig
84+
[7]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-macos-amd64-7.6.0.4-preview.tar.gz
85+
[8]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-macos-amd64-7.6.0.4-preview.tar.gz.sha256sum.txt
86+
[9]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-macos-amd64-7.6.0.4-preview.tar.gz.sig
87+
[10]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-macos-arm64-7.6.0.4-preview.tar.gz
88+
[11]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-macos-arm64-7.6.0.4-preview.tar.gz.sha256sum.txt
89+
[12]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-macos-arm64-7.6.0.4-preview.tar.gz.sig
90+
[13]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-windows-amd64-7.6.0.4-preview.zip
91+
[14]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-windows-amd64-7.6.0.4-preview.zip.sha256sum.txt
92+
[15]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-windows-amd64-7.6.0.4-preview.zip.sig
93+
[16]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-windows-arm64-7.6.0.4-preview.zip
94+
[17]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-windows-arm64-7.6.0.4-preview.zip.sha256sum.txt
95+
[18]: https://aka.ms/appcat/azure-migrate-appcat-for-java-cli-windows-arm64-7.6.0.4-preview.zip.sig
9696

9797
### Prerequisites
9898

9999
- [Download](/java/openjdk/download#openjdk-17) and [install Microsoft Build of OpenJDK 17](/java/openjdk/install). Ensure that the **JAVA_HOME** environment variable is set.
100100
- [Download Apache Maven](https://maven.apache.org/download.cgi) and [install locally](https://maven.apache.org/install.html). Ensure that the Maven binary (`mvn`) is reachable through `PATH` environment variable.
101-
- [Download and install Python 3](https://www.python.org/downloads/).
102101

103102
### Installation
104103

@@ -123,19 +122,7 @@ Extract the binary from the downloaded file. You should see the following folder
123122

124123
### Running the tool
125124

126-
#### Option 1: Run appcat from the downloaded folder
127-
128-
Change the directory to the extracted folder:
129-
130-
```bash
131-
cd /azure-migrate-appcat-for-java-cli-<OS>-<architecture>-<release-version>-preview/
132-
./appcat --help
133-
```
134-
135-
> [!NOTE]
136-
> The `appcat` binary first looks for its dependencies in the current directory, where it's running from, and falls back to the following scenario if they aren't found.
137-
138-
#### Option 2: Add the appcat binary path to your $PATH
125+
#### Option 1: Add the appcat binary path to your $PATH
139126

140127
Move the contents of the folder to the **.appcat** folder in the user's home directory - **$HOME/.appcat** on Linux/Mac and **%USERPROFILE%/.appcat** on Windows.
141128

@@ -156,7 +143,19 @@ move <path-to-extracted>\azure-migrate-appcat-for-java-cli-<OS>-<architecture>-<
156143
---
157144

158145
> [!NOTE]
159-
> In this context, when the `appcat` binary is called from a different folder than where it's installed, it looks for its dependencies in the **.appcat** folder in the user's home directory.
146+
> When the `appcat` binary is called from a different folder than where it's installed, it looks for its dependencies in the **.appcat** folder in the user's home directory.
147+
148+
#### Option 2: Run appcat from the downloaded folder
149+
150+
Change the directory to the extracted folder:
151+
152+
```bash
153+
cd /azure-migrate-appcat-for-java-cli-<OS>-<architecture>-<release-version>-preview/
154+
./appcat --help
155+
```
156+
157+
> [!NOTE]
158+
> The `appcat` binary first looks for its dependencies in the current directory, and falls back to #Option 1 configration if the dependencies not found.
160159
161160
## Usage
162161

@@ -189,13 +188,13 @@ To analyze application source code, run the following command:
189188
# [Linux / macOS](#tab/linux)
190189
191190
```bash
192-
./appcat analyze --input=<path-to-source-code> --output=<path-to-output-directory> --target=azure-appservice --overwrite
191+
./appcat analyze --input=<path-to-source-code> --output=<path-to-output-directory> --target=azure-appservice,cloud-readiness --overwrite
193192
```
194193
195194
# [Windows](#tab/windows)
196195

197196
```cmd
198-
.\appcat.exe analyze --input=<path-to-source-code> --output=<path-to-output-directory> --target=azure-appservice --overwrite
197+
.\appcat.exe analyze --input=<path-to-source-code> --output=<path-to-output-directory> --target=azure-appservice,cloud-readiness --overwrite
199198
```
200199

201200
---
@@ -241,7 +240,6 @@ available target technologies:
241240
azure-aks
242241
azure-appservice
243242
azure-container-apps
244-
azure-spring-apps
245243
cloud-readiness
246244
linux
247245
openjdk11
@@ -332,34 +330,52 @@ The reports are automatically generated and launched. You can find the reports u
332330

333331
The landing page of the report lists all the technologies that are used in the application. The dashboard provides a summary of the analysis, including the number of transformation incidents, the incidents categories, or the story points.
334332

335-
:::image type="content" source="media/java/report-summary.png" alt-text="Screenshot of the appcat summary report." lightbox="media/java/report-summary.png":::
333+
:::image type="content" source="media/java/AppCAT7-report-summary.png" alt-text="Screenshot of the appcat summary report." lightbox="media/java/AppCAT7-report-summary.png":::
336334

337335
When you zoom in on the **Incidents by Category** pie chart, you can see the number of incidents by category: **Mandatory**, **Optional**, and **Potential**.
338336

339337
The dashboard also shows the *story points*. The story points are an abstract metric commonly used in Agile software development to estimate the level of effort needed to implement a feature or change. `appcat` uses story points to express the level of effort needed to migrate a particular application. Story points don't necessarily translate to work hours, but the value should be consistent across tasks.
340338

341-
:::image type="content" source="media/java/report-summary-incident.png" alt-text="Screenshot of the AppCAT summary incident report." lightbox="media/java/report-summary-incident.png":::
339+
:::image type="content" source="media/java/AppCAT7-report-summary-incident.png" alt-text="Screenshot of the AppCAT summary incident report." lightbox="media/java/AppCAT7-report-summary-incident.png":::
342340

343341
### Assessment report
344342

345343
The assessment report gives an overview of the transformation issues that would need to be solved to migrate the application to Azure.
346344

347345
These *Issues*, also called *Incidents*, have a severity (*Mandatory*, *Optional*, or *Potential*), a level of effort, and a number indicating the story points. The story points are determined by calculating the number of incidents times the effort required to address the issue.
348346

349-
:::image type="content" source="media/java/report-assessment.png" alt-text="Screenshot of the AppCAT assessment report." lightbox="media/java/report-assessment.png":::
347+
:::image type="content" source="media/java/AppCAT7-report-assessment.png" alt-text="Screenshot of the AppCAT assessment report." lightbox="media/java/AppCAT7-report-assessment.png":::
350348

351349
### Detailed information for a specific issue
352350

353351
For each incident, you can get more information (the issue detail, the content of the rule, and so on) just by selecting it. You also get the list of all the files affected by this incident.
354352

355-
:::image type="content" source="media/java/report-assessment-detail.png" alt-text="Screenshot of the AppCAT issue detail report." lightbox="media/java/report-assessment-detail.png":::
353+
:::image type="content" source="media/java/AppCAT7-report-assessment-detail.png" alt-text="Screenshot of the AppCAT issue detail report." lightbox="media/java/AppCAT7-report-assessment-detail.png":::
356354

357355
Then, for each file or class affected by the incident, you can jump into the source code to highlight the line of code that created the issue.
358356

359-
:::image type="content" source="media/java/report-assessment-code.png" alt-text="Screenshot of the AppCAT issue code report." lightbox="media/java/report-assessment-code.png":::
357+
:::image type="content" source="media/java/AppCAT7-report-assessment-code.png" alt-text="Screenshot of the AppCAT issue code report." lightbox="media/java/AppCAT7-report-assessment-code.png":::
360358

361359
## Release notes
362360

361+
### 7.6.0.4
362+
363+
This release contains the following fixes and enhancements.
364+
365+
- Support telemetry collection. `--disable-telemetry` flag to disable telemetry.
366+
- Refactor CLI command format, make it more clear.
367+
- Update `--source` flag, change `--source <source1> --source <source2> ...` to `--source <source1>,<source2>,...`
368+
- Update `--target` flag, change `--target <target1> --target <target2> ...` to ` --target <target1>,<target2>,...`
369+
- Update `--rules` flag, change `--rules <rule1> --rules <rule2> ...` to `--rules <rule1>,<rule2>,...`
370+
- Update `--maven-settings` flag to `--custom-maven-settings`
371+
- Update `--limit-code-snips` flag to `--code-snips-number`
372+
- Remove `--json-output` flag, use `--output-format` flag, choose output format: 'yaml' or 'json'. (default yaml)
373+
- Remove `--provider`, `--override-provider-settings`, `--list-providers`, `--dependency-folders` flags
374+
- New `--exclude-paths` flag: Specify paths that should be ignored analysis. Use a comma-separated list for multiple values: `--exclude-paths <path1>,<path2>,...` (default []).
375+
- New `--packages` flag: Specify application class packages to be evaluated. Use a comma-separated list for multiple values: `--packages <package1>,<package2>,...` (default []).
376+
- New `--dry-run` flag: Only check if the flags are valid, not running the analysis actually. (default false).
377+
- Remove `azure-spring-apps` from appcat `--list-targets`.
378+
363379
### 7.6.0.3
364380

365381
This release contains the following fixes and enhancements.
@@ -438,6 +454,13 @@ GA (Generally Available) release of Azure Migrate application and code assessmen
438454

439455
## Known Issues
440456

457+
### 7.6.0.4
458+
459+
- Rules issues:
460+
- `azure-system-config-01000` rules aren't being triggered.
461+
- `azure-password-01000` rule detects only one violation, even when multiple violations exist in the same file.
462+
- Error in Watcher Error channel on Windows: `Windows system assumed buffer larger than it is, events have likely been missed`. This error message appears on the command line during long-running jobs on Windows.
463+
441464
### 7.6.0.3
442465

443466
- The flag `--overrideProviderSettings` isn't supported.
220 KB
Loading
121 KB
Loading
229 KB
Loading
23.9 KB
Loading
88.7 KB
Loading

0 commit comments

Comments
 (0)