Skip to content

Commit 97ec88e

Browse files
authored
Merge pull request #3 from azure-javaee/workshop
On branch workshop Copyediting.
2 parents d74d64d + ed164d1 commit 97ec88e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

asset-manager/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ To clean up, run `scripts\cleanup-azure-resources.cmd -ResourceGroupName <your r
216216

217217
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:
218218

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.
220220
1. The codespace will automatically open in the browser. Wait until it is ready.
221221
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.
222222
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.

asset-manager/WORKSHOP.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To successfully complete this workshop, you need the following:
1919
- [Maven 3.9.9](https://maven.apache.org/install.html): Required for the code remediation feature.
2020
- [Azure subscription](https://azure.microsoft.com/free/): Required to deploy the migrated application to Azure.
2121
- [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.
2323

2424
## Install Java Migration Copilot Tool
2525

@@ -40,19 +40,19 @@ The first step is to assess the sample Java application `asset-manager`. The ass
4040

4141
> **NOTE**: If you are asked to allow the tool access the language models provided by GitHub Copilot Chat, slect **Allow** to proceed.
4242
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**.
4444
1. For this workshop, deselect all solutions and select **Use Azure Database for PostgreSQL**, then select **Confirm the Solution**.
4545
1. Review the solution details and select **Migrate** to initiate the migration process. **Migrate** is located in the middle pane.
4646

4747
### Migrate to Azure Database for PostgreSQL Flexible Server using Predefined Prompt
4848

4949
You should see the matched predefined prompts for the selected solution are listed. Follow instructions to start the migration process.
5050

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:
5353
- Select the file. It starts to generate the code changes. Wait until the code changes are generated.
5454
- 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.
5656

5757
Once you complete this step, suggest opening **Source Control** view to revisit the changes, and stage changes if you are satisfied with them.
5858

@@ -62,7 +62,7 @@ Recall that the sample Java application `asset-manager` uses AWS S3 for image st
6262

6363
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**.
6464

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:
6666
* migrate web rabbitmq to azure service bus
6767
* migrate web s3 to azure blob storage
6868
1. Select these two commits to create a custom prompt, with all defaults populated including the name and description.

0 commit comments

Comments
 (0)