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
-[Azure Toolkit for IntelliJ](/azure/developer/java/toolkit-for-intellij/install-toolkit).
134
138
135
-
###Generate a Spring project
139
+
## Generate a Spring project
136
140
137
141
Use the following steps to create the project:
138
142
@@ -168,7 +172,7 @@ This example uses Java version 11. To use a different Java version, change the
168
172
}
169
173
```
170
174
171
-
### <a name="provision-instance">Provision an instance of AzureSpringApps</a>
175
+
##Provision an instance of AzureSpringApps
172
176
173
177
Use the following steps to create an instance of AzureSpringApps using the Azure portal.
174
178
@@ -195,7 +199,7 @@ Use the following steps to create an instance of Azure Spring Apps using the Azu
195
199
196
200
1. Select **Review and create**.
197
201
198
-
### Import project
202
+
## Import project
199
203
200
204
Use the following steps to import the project.
201
205
@@ -204,11 +208,13 @@ Use the following steps to import the project.
204
208
205
209
:::image type="content" source="media/quickstart/intellij-new-project.png" alt-text="Screenshot of IntelliJ IDEA showing Open File or Project dialog box." lightbox="media/quickstart/intellij-new-project.png":::
206
210
207
-
### Build and deploy your app
211
+
## Build and deploy your app
208
212
209
213
> [!NOTE]
210
214
>To run the project locally, add `spring.config.import=optional:configserver:` to the project's *application.properties* file.
211
215
216
+
Use the following steps to build and deploy your app.
217
+
212
218
1. If you haven't already installed the AzureToolkitforIntelliJ, follow the steps in [Install the AzureToolkitforIntelliJ](/azure/developer/java/toolkit-for-intellij/install-toolkit).
213
219
214
220
1.Right-click your project in the IntelliJProject window, and then select **Azure**->**Deploy to AzureSpringApps**.
@@ -218,7 +224,7 @@ Use the following steps to import the project.
218
224
1.Accept the name for the app in the **Name** field. **Name** refers to the configuration, not the app name. You don't usually need to change it.
219
225
1. In the **Artifact** textbox, select **Maven:com.example:hellospring-0.0.1-SNAPSHOT**.
220
226
1. In the **Subscription** textbox, verify that your subscription is correct.
221
-
1. In the **Service** textbox, select the instance of Azure Spring Apps that you created in [Provision an instance of Azure Spring Apps](#provision-instance).
227
+
1. In the **Service** textbox, select the instance of Azure Spring Apps that you created in [Provision an instance of Azure Spring Apps](#provision-an-instance-of-azure-spring-apps-1).
222
228
1. In the **App** textbox, select the plus sign (**+**) to create a new app.
223
229
224
230
:::image type="content" source="media/quickstart/intellij-create-new-app.png" alt-text="Screenshot of IntelliJ IDEA showing Deploy Azure Spring Apps dialog box.":::
@@ -242,16 +248,14 @@ Use the following steps to import the project.
242
248
243
249
## [VisualStudioCode](#tab/VS-Code)
244
250
245
-
###Deploy a SpringBoot web app to AzureSpringApps with VisualStudioCode
251
+
## Deploy a SpringBoot web app to AzureSpringApps with VisualStudioCode
246
252
247
253
To deploy a SpringBoot web app to AzureSpringApps, follow the steps in [Java on AzureSpringApps](https://code.visualstudio.com/docs/java/java-spring-apps).
248
254
249
255
---
250
256
251
257
Once deployment has completed, you can access the app at `https://<service instance name>-hellospring.azuremicroservices.io/`.
252
258
253
-
You also have access to powerful logs, metrics, and distributed tracing capability from the Azure portal. For more information, see [Quickstart:MonitoringAzureSpringApps apps with logs, metrics, and tracing](./quickstart-logs-metrics-tracing.md).
254
-
255
259
## Clean up resources
256
260
257
261
If you plan to continue working with subsequent quickstarts and tutorials, you might want to leave these resources in place. When you no longer need the resources, delete them by deleting the resource group. Use the following commands to delete the resource group:
@@ -265,13 +269,9 @@ echo "Press [ENTER] to continue ..."
265
269
266
270
## Next steps
267
271
268
-
Inthis quickstart, you learned how to:
272
+
Inthis quickstart, you learned how to generate a basic Spring project, provision a service instance, build and deploy an app with a public endpoint, and clean up the resources.
269
273
270
-
> [!div class="checklist"]
271
-
>-Generate a basic Spring project.
272
-
>-Provision a service instance.
273
-
>-Build and deploy an app with a public endpoint.
274
-
>-Clean up the resources.
274
+
You also have access to powerful logs, metrics, and distributed tracing capability from the Azure portal. For more information, see [Quickstart:MonitoringAzureSpringApps apps with logs, metrics, and tracing](./quickstart-logs-metrics-tracing.md).
275
275
276
276
To learn how to use more AzureSpring capabilities, advance to the quickstart series that deploys a sample application to AzureSpringApps:
0 commit comments