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
@@ -51,13 +51,13 @@ Alternatively, you can use IntelliJ IDEA. Open **File** > **Settings** (or **Int
51
51
The first step is to assess the sample Java application `asset-manager`. The assessment provides insights into the application's readiness for migration to Azure.
52
52
53
53
1. Open VS Code with all the prerequisites installed for the asset manager by changing the directory to the `asset-manager` directory and running `code .` in that directory.
54
-
1.Open the `GitHub Copilot app modernization` extension.
55
-
1. In the **QUICKSTART**view, click the **Migrate to Azure**button to trigger app assessment.
54
+
1.In the Activity sidebar, open the **GitHub Copilot app modernization** extension pane.
55
+
1. In the **QUICKSTART**section, click **Start Assessment** to trigger the app assessment.
1. Wait for the assessment to be completed and the report to be generated.
60
-
1.Review the **Assessment Report**. Select the **Issues** tab to view the proposed solutions for the issues identified in the report.
59
+
1. Wait for the assessment to be completed. This step could take several minutes.
60
+
1.Upon completion, an **Assessment Report** tab opens. This report provides a categorized view of cloud readiness issues and recommended solutions. Select the **Issues** tab to view proposed solutions and proceed with migration steps.
61
61
62
62
## Upgrade Runtime & Frameworks
63
63
@@ -68,31 +68,33 @@ The first step is to assess the sample Java application `asset-manager`. The ass
68
68
69
69
> Note: The upgrading tool also supports upgrading to JDK 25 (the latest LTS version). To do this, click on the generated chat message, edit the target Java version to 25, and then click **Send** to apply the change.
70
70
71
-
## Expose health endpoints using Custom Tasks
71
+
## Expose health endpoints using Custom Skills
72
72
73
-
In this section, you will use custom tasks to expose health endpoints for your applications instead of writing code yourself. The following steps demonstrate how to generate custom tasks based on external web links and proper prompts.
73
+
In this section, you will use custom skills to expose health endpoints for your applications instead of writing code yourself. The following steps demonstrate how to create a custom skill with references and proper prompts.
74
74
75
-
> Note: Custom tasks are not supported for the IntelliJ IDEA plugin. If you are using IntelliJ IDEA, you can skip this section.
75
+
> Note: Custom skills (My Skills) are not supported for the IntelliJ IDEA plugin. If you are using IntelliJ IDEA, you can skip this section.
76
76
77
-
1.Open the sidebar of `GITHUB COPILOT APP MODERNIZATION`. Click the `+` button in the **Tasks**view to create a custom task.
77
+
1.In the Activity sidebar, open the **GitHub Copilot app modernization** extension pane. Hover over the **TASKS**section, and then select **Create a Custom Skill**.
78
78
79
-

80
-
1.In the opened tab, enter the **Task Name** and **Task Prompt** as shown below:
81
-
-**Task Name**: Expose healthendpoint via Spring Boot Actuator
82
-
-**Task Prompt**: You are a Spring Boot developer assistant, follow the Spring Boot Actuator documentation to add basic health endpoints for Azure Container Apps deployment.
83
-
1. Click the **Add References** button to add the Spring Boot Actuator official documentation as references.
1.A **Create a Skill** form opens with the following fields. Fill them in as shown below:
81
+
-**Skill Name**: `expose-health-endpoint`
82
+
-**Skill Description**: `This skill helps add Spring Boot Actuator health endpoints for Azure Container Apps deployment readiness.`
83
+
-**Skill Content**: `You are a Spring Boot developer assistant, follow the Spring Boot Actuator documentation to add basic health endpoints for Azure Container Apps deployment.`
1. In the popped-up quick-pick window, select **External links**. Then paste the following link: `https://docs.spring.io/spring-boot/reference/actuator/endpoints.html`. Click **Save** to create the task.
87
-
1. Click the **Run** button to trigger the custom task.
88
-
1. Follow the same steps as the predefined task to review and apply the changes.
85
+
1. Click **Add Resources** to add the Spring Boot Actuator official documentation as a resource. Paste the following link: `https://docs.spring.io/spring-boot/reference/actuator/endpoints.html`.
86
+
87
+

88
+
1. Click **Save** to create the skill. Your custom skill now appears in the **TASKS** > **My Skills** section.
89
+
1. Click **Run** to execute it.
90
+
1. The Copilot chat window opens in Agent Mode and automatically generates the migration plan, checks out a new branch, performs code changes, and runs the validation and fix iteration loop. Click **Allow** for any tool call requests from the agent.
89
91
1. Review the proposed code changes and click **Keep** to apply them.
90
92
91
93
## Containerize Applications
92
94
93
95
Now that you have completed the upgrade and health endpoint steps, the next step is to prepare your application for cloud deployment by containerizing both the web and worker modules. In this section, you will use **Containerization Tasks** to containerize your applications.
94
96
95
-
1.Open the sidebar of `GITHUB COPILOT APP MODERNIZATION`. In **Tasks** view, click the **Run Task**button of**Java**-> **Containerization Tasks**->**Containerize Application**.
97
+
1.In the Activity sidebar, open the **GitHub Copilot app modernization** extension pane. In the **TASKS**section, expand**Common Tasks** > **Containerize Tasks**and click the run button for**Containerize Application**.
Copy file name to clipboardExpand all lines: workshop/02-assess.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,13 @@ Run the GitHub Copilot app modernization assessment on the `asset-manager` appli
7
7
## Run the Assessment
8
8
9
9
1. Open VS Code with all the prerequisites installed for the asset manager by changing the directory to the `asset-manager` directory and running `code .` in that directory.
10
-
1.Open the `GitHub Copilot app modernization` extension.
11
-
1. In the **QUICKSTART**view, click the **Migrate to Azure**button to trigger app assessment.
10
+
1.In the Activity sidebar, open the **GitHub Copilot app modernization** extension pane.
11
+
1. In the **QUICKSTART**section, click **Start Assessment** to trigger the app assessment.
1. Wait for the assessment to be completed and the report to be generated.
16
-
1.Review the **Assessment Report**. Select the **Issues** tab to view the proposed solutions for the issues identified in the report.
15
+
1. Wait for the assessment to be completed. This step could take several minutes.
16
+
1.Upon completion, an **Assessment Report** tab opens. This report provides a categorized view of cloud readiness issues and recommended solutions. Select the **Issues** tab to view proposed solutions and proceed with migration steps.
17
17
18
18
## Understanding the Assessment Report
19
19
@@ -28,6 +28,6 @@ The assessment report provides:
28
28
29
29
## ✅ Checkpoint
30
30
31
-
-[ ] Assessment triggered from the QUICKSTART view
31
+
-[ ] Assessment triggered from the QUICKSTART section
# Step 4: Expose Health Endpoints using Custom Tasks
1
+
# Step 4: Expose Health Endpoints using Custom Skills
2
2
3
3
## 🎯 Goal
4
4
5
-
Use custom tasks to expose health endpoints for your applications using Spring Boot Actuator, without writing code yourself.
5
+
Use custom skills to expose health endpoints for your applications using Spring Boot Actuator, without writing code yourself.
6
6
7
7
> [!NOTE]
8
-
> Custom tasks are not supported for the IntelliJ IDEA plugin. If you are using IntelliJ IDEA, you can skip this section.
8
+
> Custom skills (My Skills) are not supported for the IntelliJ IDEA plugin. If you are using IntelliJ IDEA, you can skip this section.
9
9
10
-
## Create a Custom Task
10
+
## Create a Custom Skill
11
11
12
-
1.Open the sidebar of `GITHUB COPILOT APP MODERNIZATION`. Click the `+` button in the **Tasks**view to create a custom task.
12
+
1.In the Activity sidebar, open the **GitHub Copilot app modernization** extension pane. Hover over the **TASKS**section, and then select **Create a Custom Skill**.
13
13
14
-

1. In the opened tab, enter the **Task Name** and **Task Prompt** as shown below:
17
-
-**Task Name**: Expose health endpoint via Spring Boot Actuator
18
-
-**Task Prompt**: You are a Spring Boot developer assistant, follow the Spring Boot Actuator documentation to add basic health endpoints for Azure Container Apps deployment.
16
+
1. A **Create a Skill** form opens with the following fields. Fill them in as shown below:
17
+
-**Skill Name**: `expose-health-endpoint`
18
+
-**Skill Description**: `This skill helps add Spring Boot Actuator health endpoints for Azure Container Apps deployment readiness.`
19
+
-**Skill Content**: `You are a Spring Boot developer assistant, follow the Spring Boot Actuator documentation to add basic health endpoints for Azure Container Apps deployment.`
19
20
20
-
1. Click the **Add References**button to add the Spring Boot Actuator official documentation as references.
21
+
1. Click **Add Resources** to add the Spring Boot Actuator official documentation as a resource. Paste the following link: `https://docs.spring.io/spring-boot/reference/actuator/endpoints.html`.

23
24
24
-
1.In the popped-up quick-pick window, select **External links**. Then paste the following link: `https://docs.spring.io/spring-boot/reference/actuator/endpoints.html`. Click **Save**to create the task.
25
+
1.Click **Save** to create the skill. Your custom skill now appears in the **TASKS**> **My Skills** section.
25
26
26
-
## Run the Custom Task
27
+
## Run the Custom Skill
27
28
28
-
1. Click the **Run**button to trigger the custom task.
29
-
1.Follow the same steps as the predefined task to review and apply the changes.
29
+
1. Click **Run** to execute it.
30
+
1.The Copilot chat window opens in Agent Mode and automatically generates the migration plan, checks out a new branch, performs code changes, and runs the validation and fix iteration loop. Click **Allow** for any tool call requests from the agent.
30
31
1. Review the proposed code changes and click **Keep** to apply them.
31
32
32
33
## What This Does
33
34
34
-
The custom task will:
35
+
The custom skill will:
35
36
- Add the Spring Boot Actuator dependency to `pom.xml`
36
37
- Configure health endpoints in `application.properties` or `application.yml`
37
38
- Expose `/actuator/health` endpoint for Azure Container Apps health probes
38
39
- This is essential for cloud deployment where the platform needs to check if your app is healthy
39
40
40
41
> [!TIP]
41
-
> Custom tasks are a powerful feature of GitHub Copilot app modernization. You can create tasks for any modernization need by providing a descriptive prompt and relevant documentation references.
42
+
> Custom skills are a powerful feature of GitHub Copilot app modernization. You can create skills for any modernization need by providing a descriptive prompt and relevant documentation references.
42
43
43
44
## ✅ Checkpoint
44
45
45
-
-[ ] Custom task created with the correct name and prompt
46
-
-[ ] Spring Boot Actuator documentation added as reference
47
-
-[ ]Task executed successfully
46
+
-[ ] Custom skill created with the correct name and prompt
47
+
-[ ] Spring Boot Actuator documentation added as resource
48
+
-[ ]Skill executed successfully
48
49
-[ ] Health endpoint code changes reviewed and applied
49
50
-[ ]`/actuator/health` endpoint will be available when the app runs
0 commit comments