You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: asset-manager/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -216,7 +216,7 @@ To clean up, run `scripts\cleanup-azure-resources.cmd -ResourceGroupName <your r
216
216
217
217
The deployment scripts can also be executed in GitHub Codespaces, which pre-installs the necessary dependencies. Follow the steps below to deploy the apps to Azure using GitHub Codespaces:
218
218
219
-
1. Open the repository in GitHub Codespaces by selecting on the **Code** button, selecting **Codespaces** tab, openining the existing codespace or selecting **Create codespace** for the target branch.
219
+
1. Open the repository in GitHub Codespaces. Select the **Code** tab. Select the **Code** button, selecting **Codespaces** tab, openining the existing codespace or selecting **Create codespace** for the target branch.
220
220
1. The codespace will automatically open in the browser. Wait until it is ready.
221
221
1. Navigate to the terminal in the codespace and run `az login` to sign in to Azure. Follow the instructions to complete the sign-in process.
222
222
1. At the last step of the sign-in process, you will be asked to select a subscription and tenant. Select the appropriate subscription and tenant.
Copy file name to clipboardExpand all lines: asset-manager/WORKSHOP.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ To successfully complete this workshop, you need the following:
19
19
-[Maven 3.9.9](https://maven.apache.org/install.html): Required for the code remediation feature.
20
20
-[Azure subscription](https://azure.microsoft.com/free/): Required to deploy the migrated application to Azure.
21
21
-[Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli): Required if you deploy the migrated application to Azure locally. The latest version is recommended.
22
-
- Fork the [GitHub repository](https://github.com/Azure-Samples/java-migration-copilot-samples) that contains the sample Java application, and clone it to your local machine. Open the `asset-manager` folder in VSCode and checkout the `workshop` branch.
22
+
- Fork the [GitHub repository](https://github.com/Azure-Samples/java-migration-copilot-samples) that contains the sample Java application. **MAKE SURE TO UNCHECK THE BOX "Copy the `main` branch only.** Clone it to your local machine. Open the `asset-manager` folder in VSCode and checkout the `workshop` branch.
23
23
24
24
## Install Java Migration Copilot Tool
25
25
@@ -40,19 +40,19 @@ The first step is to assess the sample Java application `asset-manager`. The ass
40
40
41
41
> **NOTE**: If you are asked to allow the tool access the language models provided by GitHub Copilot Chat, slect **Allow** to proceed.
42
42
43
-
1. Select **Propose Solution** to view the proposed solutions for the issues identified in the assessment report, for example, **Migrate from AWS S3 to Azure Blob Storage**, **Migrate from Spring AMQP RabbitMQ to Azure Service Bus** and **Use Azure Database for PostgreSQL**.
43
+
1.On the **Summary** pane, scroll to the bottom. Select **Propose Solution** to view the proposed solutions for the issues identified in the assessment report, for example, **Migrate from AWS S3 to Azure Blob Storage**, **Migrate from Spring AMQP RabbitMQ to Azure Service Bus** and **Use Azure Database for PostgreSQL**.
44
44
1. For this workshop, deselect all solutions and select **Use Azure Database for PostgreSQL**, then select **Confirm the Solution**.
45
45
1. Review the solution details and select **Migrate** to initiate the migration process. **Migrate** is located in the middle pane.
46
46
47
47
### Migrate to Azure Database for PostgreSQL Flexible Server using Predefined Prompt
48
48
49
49
You should see the matched predefined prompts for the selected solution are listed. Follow instructions to start the migration process.
50
50
51
-
1. Select the predefined prompt that best matches the solution, and confirm the prompt to run.
52
-
1.Review the migration plan with files proposed to be modified. Disregard files you believe are not necessary to modify. For files you want to modify, do the following for each file:
51
+
1. Select the predefined prompt that best matches the solution. In the search area, select **OK**.
52
+
1.In the **Formulas** pane, on the left, review the migration plan with files proposed to be modified. Disregard files you believe are not necessary to modify. For files you want to modify, do the following for each file:
53
53
- Select the file. It starts to generate the code changes. Wait until the code changes are generated.
54
54
- Review the proposed changes carefully.
55
-
-Select **Accept** to apply the changes if you agree with them.
55
+
-In the **Apply Formulas** pane, select the checkmark (the tooltip is **Accept**) to apply the changes if you agree with them.
56
56
57
57
Once you complete this step, suggest opening **Source Control** view to revisit the changes, and stage changes if you are satisfied with them.
58
58
@@ -62,7 +62,7 @@ Recall that the sample Java application `asset-manager` uses AWS S3 for image st
62
62
63
63
Now, you migrate the **Worker Service** to use Azure Blob Storage and Azure Service Bus as well, by using custom prompt created from existing commits that migrated the **Web Application**.
64
64
65
-
1.Select **Create prompt from source control**, type**migrate web** to search for the commits that migrated the **Web Application**, and you should see two commits listed:
65
+
1.In the **Formulas** section, select **Create formula from source control**. This icon looks like two circles with arrows pointing to the other circle. Type**migrate web** to search for the commits that migrated the **Web Application**, and you should see two commits listed:
66
66
* migrate web rabbitmq to azure service bus
67
67
* migrate web s3 to azure blob storage
68
68
1. Select these two commits to create a custom prompt, with all defaults populated including the name and description.
0 commit comments