Running Java Migration Analysis
Follow these steps to initiate Migration analysis for an application:
- From the fleet details page, go to Managed instances tab. In the Managed instances table, locate the specific managed instance where the applications you want to analyze are running.
- In the managed instance details page, go to Applications or Deployed applications. Select the boxes for the desired applications in the table. Select Actions and then Start Java migration analysis.
- For Applications, select Actions and then Start Java migration analysis.
- For Deployed applications, select Start Java migration analysis.
- The Java Migration Analysis page displays the application details along with the existing JDK version. In the Target for JDK migration analysis drop-down, select the target JDK version to migrate. If you have selected multiple applications or deployed applications and want to analyze all of them against the same target JDK version, enable the Apply the selected target JDK to all applications option. Otherwise, specify the target JDK version for each application individually.
- Select the package prefixes filter options to either
Include or Exclude from the
Java migration analysis. For instance, if you select Exclude and provide
com.google.guava
,lombok
, ororg.apache
, these packages will not be analyzed and will be missing from the Java Migration Analysis report. If you provide packages and select Include, then only those packages will be analyzed.If you have selected multiple applications or deployed applications and want to apply the same package prefix to all of them, enable the Apply the selected package prefix to all applications option.
- Create a work request for this operation. You can use either of the following options to submit the work request:
- Submit request: the work request will be submitted for processing immediately.
- Schedule for later: the work request can be scheduled for processing at a specified date and time. In addition, you can configure a recurrence frequency, along with either an end date or a defined number of occurrences.
- Select Submit to run the analysis. If the request is successful, you'll see a confirmation message.
A work request is created for this operation. If you have scheduled the analysis for a later date and time, you can view the task in the Scheduled Tasks tab.
- In the fleet details page, select Java Migration Analysis Reports tab to view the analysis reports.