Skip to content

Commit 451f5f2

Browse files
committed
edits
1 parent 70b3ef6 commit 451f5f2

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

articles/spring-apps/includes/quickstart-deploy-restful-api-app/deploy-restful-api-app-with-consumption-plan.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author: KarlErickson
33
ms.author: v-shilichen
44
ms.service: spring-apps
55
ms.topic: include
6-
ms.date: 09/26/2023
6+
ms.date: 09/28/2023
77
---
88

99
<!--
@@ -53,7 +53,7 @@ Use the following steps to initialize the web application from Azure Developer C
5353

5454
The console outputs messages similar to the following example:
5555

56-
```text
56+
```output
5757
Initializing a new project (azd init)
5858
5959
Downloading template code to: <your-local-path>
@@ -144,11 +144,11 @@ Use the following steps to connect your service instances:
144144

145145
1. Add the following environment variables for the PostgreSQL connection, and then select **Save** to finish the app configuration update. Be sure to replace the placeholders with your own values you created previously.
146146

147-
```bash
148-
SPRING_DATASOURCE_URL=jdbc:postgresql://<your-PostgreSQL-server-name>:5432/<your-PostgreSQL-database-name>
149-
SPRING_DATASOURCE_USERNAME=<your-PostgreSQL-admin-user>
150-
SPRING_DATASOURCE_PASSWORD=<your-PostgreSQL-admin-password>
151-
```
147+
| Environment variable | Value |
148+
|------------------------------|----------------------------------------------------------------------------------------|
149+
| `SPRING_DATASOURCE_URL` | `jdbc:postgresql://<your-PostgreSQL-server-name>:5432/<your-PostgreSQL-database-name>` |
150+
| `SPRING_DATASOURCE_USERNAME` | `<your-PostgreSQL-admin-user>` |
151+
| `SPRING_DATASOURCE_PASSWORD` | `<your-PostgreSQL-admin-password>` |
152152

153153
:::image type="content" source="../../media/quickstart-deploy-restful-api-app/consumption-app-env-variables.png" alt-text="Screenshot of the Azure portal that shows the Basics tab of the Create connection page for connecting to PostgreSQL." lightbox="../../media/quickstart-deploy-restful-api-app/consumption-app-env-variables.png":::
154154

@@ -179,7 +179,7 @@ Use the following steps to connect your service instances:
179179

180180
The console outputs messages similar to the following example:
181181

182-
```text
182+
```output
183183
SUCCESS: Your application was provisioned in Azure in xx minutes xx seconds.
184184
You can view the resources created under the resource group rg-<your-environment-name>> in Azure Portal:
185185
https://portal.azure.com/#@/resource/subscriptions/<your-subscription-id>/resourceGroups/<your-resource-group>/overview
@@ -289,7 +289,7 @@ Use the [Maven plugin for Azure Spring Apps](https://github.com/microsoft/azure-
289289

290290
After the command is executed, you can see the following log signs that the deployment was successful.
291291

292-
```text
292+
```output
293293
[INFO] App(simple-todo-api) is successfully updated.
294294
[INFO] Deployment Status: Running
295295
[INFO] InstanceName:simple-todo-api--default-xxxxxxx-xxxxxxxxxx-xxxxx Status:Running Reason:null DiscoverStatus:NONE
@@ -317,7 +317,7 @@ Use Azure Developer CLI to package the app, provision the Azure resources requir
317317

318318
The console outputs messages similar to the following example:
319319

320-
```text
320+
```output
321321
Deploying services (azd deploy)
322322
323323
WARNING: Feature 'springapp' is in alpha stage.

articles/spring-apps/includes/quickstart-deploy-restful-api-app/provision-postgresql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author: KarlErickson
33
ms.author: xiada
44
ms.service: spring-apps
55
ms.topic: include
6-
ms.date: 09/15/2023
6+
ms.date: 09/28/2023
77
---
88

99
<!--

0 commit comments

Comments
 (0)