Skip to content

Commit e9a847b

Browse files
First commit of italics-to-bold-3.
1 parent e75f86a commit e9a847b

10 files changed

+63
-63
lines changed

articles/spring-apps/basic-standard/how-to-write-log-to-custom-persistent-storage.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ This article shows you how to load Logback and write logs to custom persistent s
2121

2222
> [!NOTE]
2323
> When a file in the application's classpath has one of the following names, Spring Boot will automatically load it over the default configuration for Logback:
24-
> - *logback-spring.xml*
25-
> - *logback.xml*
26-
> - *logback-spring.groovy*
27-
> - *logback.groovy*
24+
> - **logback-spring.xml**
25+
> - **logback.xml**
26+
> - **logback-spring.groovy**
27+
> - **logback.groovy**
2828
2929
## Prerequisites
3030

@@ -140,7 +140,7 @@ In the preceding example, there are two placeholders named `{LOGS}` in the path
140140
--service <spring-instance-name>
141141
```
142142

143-
Go to the Azure Storage Account resource you bound and find the Azure file share that was attached as persistent storage. In this example, the logs will be written to the *spring-boot-logger.log* file at the root of your Azure file share. All of the rotated log files will be stored in the */archived* folder in your Azure file share.
143+
Go to the Azure Storage Account resource you bound and find the Azure file share that was attached as persistent storage. In this example, the logs will be written to the **spring-boot-logger.log** file at the root of your Azure file share. All of the rotated log files will be stored in the **/archived** folder in your Azure file share.
144144

145145
1. Optionally, use the following command to update the path or persistent storage of an existing app:
146146

articles/spring-apps/basic-standard/quickstart-deploy-apps.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Use the following steps to deploy the PlanetWeatherProvider project.
6060
az spring app create --name planet-weather-provider --runtime-version NetCore_31
6161
```
6262

63-
To enable automatic service registration, you've given the app the same name as the value of `spring.application.name` in the project's *appsettings.json* file:
63+
To enable automatic service registration, you've given the app the same name as the value of `spring.application.name` in the project's **appsettings.json** file:
6464

6565
```json
6666
"spring": {
@@ -78,14 +78,14 @@ Use the following steps to deploy the PlanetWeatherProvider project.
7878
cd steeltoe-sample/src/planet-weather-provider
7979
```
8080

81-
1. Create the binaries and the *.zip* file to be deployed.
81+
1. Create the binaries and the **.zip** file to be deployed.
8282

8383
```console
8484
dotnet publish -c release -o ./publish
8585
```
8686

8787
> [!TIP]
88-
> The project file contains the following XML to package the binaries in a *.zip* file after writing them to the *./publish* folder:
88+
> The project file contains the following XML to package the binaries in a **.zip** file after writing them to the **./publish** folder:
8989
>
9090
> ```xml
9191
> <Target Name="Publish-Zip" AfterTargets="Publish">
@@ -105,7 +105,7 @@ Use the following steps to deploy the PlanetWeatherProvider project.
105105
--artifact-path ./publish-deploy-planet.zip
106106
```
107107
108-
The `--main-entry` option specifies the relative path from the *.zip* file's root folder to the *.dll* file that contains the application's entry point. After the service uploads the *.zip* file, it extracts all the files and folders, and then tries to execute the entry point in the specified *.dll* file.
108+
The `--main-entry` option specifies the relative path from the **.zip** file's root folder to the **.dll** file that contains the application's entry point. After the service uploads the **.zip** file, it extracts all the files and folders, and then tries to execute the entry point in the specified **.dll** file.
109109

110110
This command may take several minutes to run.
111111

@@ -119,7 +119,7 @@ Use the following steps to deploy the SolarSystemWeather project.
119119
az spring app create --name solar-system-weather --runtime-version NetCore_31
120120
```
121121

122-
`solar-system-weather` is the name that is specified in the `SolarSystemWeather` project's *appsettings.json* file.
122+
`solar-system-weather` is the name that is specified in the `SolarSystemWeather` project's **appsettings.json** file.
123123

124124
This command may take several minutes to run.
125125

@@ -129,7 +129,7 @@ Use the following steps to deploy the SolarSystemWeather project.
129129
cd ../solar-system-weather
130130
```
131131

132-
1. Create the binaries and *.zip* file to be deployed.
132+
1. Create the binaries and **.zip** file to be deployed.
133133

134134
```console
135135
dotnet publish -c release -o ./publish
@@ -333,7 +333,7 @@ Compiling the project takes 5-10 minutes. When the project is compiled, you shou
333333

334334
The following steps show you how to generate configurations and deploy to Azure Spring Apps:
335335

336-
1. Go to the *spring-petclinic-customers-service* folder. Generate configurations by running the following command. If you've already signed-in with Azure CLI, the command automatically picks up the credentials. Otherwise, it signs you in using a prompt with instructions. For more information, see [Authentication](https://github.com/microsoft/azure-maven-plugins/wiki/Authentication) on the [azure-maven-plugins](https://github.com/microsoft/azure-maven-plugins) wiki.
336+
1. Go to the **spring-petclinic-customers-service** folder. Generate configurations by running the following command. If you've already signed-in with Azure CLI, the command automatically picks up the credentials. Otherwise, it signs you in using a prompt with instructions. For more information, see [Authentication](https://github.com/microsoft/azure-maven-plugins/wiki/Authentication) on the [azure-maven-plugins](https://github.com/microsoft/azure-maven-plugins) wiki.
337337

338338
```bash
339339
mvn com.microsoft.azure:azure-spring-apps-maven-plugin:1.19.0:config -DappName=customers-service
@@ -368,7 +368,7 @@ The following steps show you how to generate configurations and deploy to Azure
368368
mvn azure-spring-apps:deploy
369369
```
370370

371-
1. Go to the *spring-petclinic-api-gateway* folder. Run the following commands to generate the configuration and deploy `api-gateway`. Select **yes** for **Public endpoint**.
371+
1. Go to the **spring-petclinic-api-gateway** folder. Run the following commands to generate the configuration and deploy `api-gateway`. Select **yes** for **Public endpoint**.
372372

373373
```bash
374374
mvn com.microsoft.azure:azure-spring-apps-maven-plugin:1.19.0:config -DappName=api-gateway
@@ -396,7 +396,7 @@ To get the PetClinic app functioning with all sections like Admin Server, Visits
396396
- vets-service
397397
- visits-service
398398

399-
Correct the app names in each *pom.xml* file for these modules, and then run the `deploy` command again.
399+
Correct the app names in each **pom.xml** file for these modules, and then run the `deploy` command again.
400400

401401
#### [IntelliJ](#tab/IntelliJ)
402402

@@ -408,7 +408,7 @@ Use the following steps to import the sample project in IntelliJ.
408408

409409
1. Open the IntelliJ **Welcome** dialog and select **Import Project** to open the import wizard.
410410

411-
1. Select the *spring-petclinic-microservices* folder.
411+
1. Select the **spring-petclinic-microservices** folder.
412412

413413
:::image type="content" source="media/quickstart-deploy-apps/import-project-1-pet-clinic.png" alt-text="Screenshot of the IntelliJ import wizard that shows the PetClinic sample project." lightbox="media/quickstart-deploy-apps/import-project-1-pet-clinic.png":::
414414

@@ -420,19 +420,19 @@ To deploy to Azure, you must sign in with your Azure account with Azure Toolkit
420420

421421
:::image type="content" source="media/quickstart-deploy-apps/deploy-to-azure-1-pet-clinic.png" alt-text="Screenshot of the IntelliJ project explorer that shows the Deploy to Azure Spring Apps menu option." lightbox="media/quickstart-deploy-apps/deploy-to-azure-1-pet-clinic.png":::
422422

423-
1. In the **Name** field, append *:api-gateway* to the existing **Name**.
424-
1. In the **Artifact** textbox, select *spring-petclinic-api-gateway-3.0.1*.
423+
1. In the **Name** field, append **:api-gateway** to the existing **Name**.
424+
1. In the **Artifact** textbox, select **spring-petclinic-api-gateway-3.0.1**.
425425
1. In the **Subscription** textbox, verify your subscription.
426426
1. In the **Spring Apps** textbox, select the instance of Azure Spring Apps that you created in [Provision Azure Spring Apps instance](./quickstart-provision-service-instance.md).
427427
1. In the **App:** textbox, select **Create app...**.
428-
1. Enter *api-gateway*, then select **OK**.
429-
1. Set **Public Endpoint** to *Enable*.
428+
1. Enter **api-gateway**, then select **OK**.
429+
1. Set **Public Endpoint** to **Enable**.
430430
1. Set **Memory** to `2.0Gi` and **JVM options** to `-Xms2048m -Xmx2048m`.
431431

432432
:::image type="content" source="media/quickstart-deploy-apps/memory-jvm-options.png" alt-text="Screenshot of the IntelliJ Create Azure Spring App dialog box that shows Memory and JVM options controls." lightbox="media/quickstart-deploy-apps/memory-jvm-options.png":::
433433

434434
1. In the **Before launch** section of the dialog, double-click **Run Maven Goal**.
435-
1. In the **Working directory** textbox, navigate to the *spring-petclinic-microservices/spring-petclinic-api-gateway* folder.
435+
1. In the **Working directory** textbox, navigate to the **spring-petclinic-microservices/spring-petclinic-api-gateway** folder.
436436
1. In the **Command line** textbox, enter *package -DskipTests*. Select **OK**.
437437

438438
:::image type="content" source="media/quickstart-deploy-apps/deploy-to-azure-spring-apps-2-pet-clinic.png" alt-text="Screenshot of the IntelliJ Deploy to Azure dialog box with the Select Maven Goal section highlighted." lightbox="media/quickstart-deploy-apps/deploy-to-azure-spring-apps-2-pet-clinic.png":::
@@ -445,8 +445,8 @@ Repeat the previous steps to deploy `customers-service` and other Pet Clinic app
445445

446446
1. Modify the **Name** and **Artifact** to identify the `customers-service` app.
447447
1. In the **App:** textbox, select **Create app...** to create `customers-service` app.
448-
1. Verify that the **Public Endpoint** option is set to *Disabled*.
449-
1. In the **Before launch** section of the dialog, switch the **Working directory** to the *petclinic/customers-service* folder.
448+
1. Verify that the **Public Endpoint** option is set to **Disabled**.
449+
1. In the **Before launch** section of the dialog, switch the **Working directory** to the **petclinic/customers-service** folder.
450450
1. Start the deployment by selecting the **Run** button at the bottom of the **Deploy Azure Spring Apps app** dialog.
451451

452452
## Verify the services

articles/spring-apps/basic-standard/quickstart-deploy-infrastructure-vnet-azure-cli.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ The Enterprise deployment plan includes the following Tanzu components:
3333
* An Azure subscription. If you don't have a subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
3434
* Two dedicated subnets for the Azure Spring Apps cluster, one for the service runtime and another for the Spring applications. For subnet and virtual network requirements, see the [Virtual network requirements](how-to-deploy-in-azure-virtual-network.md#virtual-network-requirements) section of [Deploy Azure Spring Apps in a virtual network](how-to-deploy-in-azure-virtual-network.md).
3535
* An existing Log Analytics workspace for Azure Spring Apps diagnostics settings and a workspace-based Application Insights resource. For more information, see [Analyze logs and metrics with diagnostics settings](diagnostic-services.md) and [Application Insights Java In-Process Agent in Azure Spring Apps](how-to-application-insights.md).
36-
* Three internal Classless Inter-Domain Routing (CIDR) ranges (at least */16* each) that you've identified for use by the Azure Spring Apps cluster. These CIDR ranges won't be directly routable and will be used only internally by the Azure Spring Apps cluster. Clusters may not use *169.254.0.0/16*, *172.30.0.0/16*, *172.31.0.0/16*, or *192.0.2.0/24* for the internal Spring app CIDR ranges, or any IP ranges included within the cluster virtual network address range.
36+
* Three internal Classless Inter-Domain Routing (CIDR) ranges (at least `/16` each) that you've identified for use by the Azure Spring Apps cluster. These CIDR ranges won't be directly routable and will be used only internally by the Azure Spring Apps cluster. Clusters may not use `169.254.0.0/16`, `172.30.0.0/16`, `172.31.0.0/16`, or `192.0.2.0/24` for the internal Spring app CIDR ranges, or any IP ranges included within the cluster virtual network address range.
3737
* Service permission granted to the virtual network. The Azure Spring Apps Resource Provider requires `User Access Administrator` and `Network Contributor` permissions to your virtual network in order to grant a dedicated and dynamic service principal on the virtual network for further deployment and maintenance. For instructions and more information, see the [Grant service permission to the virtual network](how-to-deploy-in-azure-virtual-network.md#grant-service-permission-to-the-virtual-network) section of [Deploy Azure Spring Apps in a virtual network](how-to-deploy-in-azure-virtual-network.md).
3838
* If you're using Azure Firewall or a Network Virtual Appliance (NVA), you'll also need to satisfy the following prerequisites:
3939
* Network and fully qualified domain name (FQDN) rules. For more information, see [Virtual network requirements](how-to-deploy-in-azure-virtual-network.md#virtual-network-requirements).
40-
* A unique User Defined Route (UDR) applied to each of the service runtime and Spring application subnets. For more information about UDRs, see [Virtual network traffic routing](../../virtual-network/virtual-networks-udr-overview.md). The UDR should be configured with a route for *0.0.0.0/0* with a destination of your NVA before deploying the Azure Spring Apps cluster. For more information, see the [Bring your own route table](how-to-deploy-in-azure-virtual-network.md#bring-your-own-route-table) section of [Deploy Azure Spring Apps in a virtual network](how-to-deploy-in-azure-virtual-network.md).
40+
* A unique User Defined Route (UDR) applied to each of the service runtime and Spring application subnets. For more information about UDRs, see [Virtual network traffic routing](../../virtual-network/virtual-networks-udr-overview.md). The UDR should be configured with a route for `0.0.0.0/0` with a destination of your NVA before deploying the Azure Spring Apps cluster. For more information, see the [Bring your own route table](how-to-deploy-in-azure-virtual-network.md#bring-your-own-route-table) section of [Deploy Azure Spring Apps in a virtual network](how-to-deploy-in-azure-virtual-network.md).
4141
* [Azure CLI](/cli/azure/install-azure-cli)
4242
* If you're deploying an Azure Spring Apps Enterprise plan instance for the first time in the target subscription, see the [Requirements](../enterprise/how-to-enterprise-marketplace-offer.md#requirements) section of [Enterprise plan in Azure Marketplace](../enterprise/how-to-enterprise-marketplace-offer.md).
4343

@@ -119,12 +119,12 @@ To deploy the Azure Spring Apps cluster using the Azure CLI script, follow these
119119
* The Azure location name that you saved earlier.
120120
* The name of the resource group that you created earlier.
121121
* The name of the virtual network resource group where you'll deploy your resources.
122-
* The name of the spoke virtual network (for example, *vnet-spoke*).
123-
* The name of the subnet to be used by the Azure Spring Apps Application Service (for example, *snet-app*).
124-
* The name of the subnet to be used by the Azure Spring Apps Runtime Service (for example, *snet-runtime*).
122+
* The name of the spoke virtual network (for example, **vnet-spoke**).
123+
* The name of the subnet to be used by the Azure Spring Apps Application Service (for example, **snet-app**).
124+
* The name of the subnet to be used by the Azure Spring Apps Runtime Service (for example, **snet-runtime**).
125125
* The name of the resource group for the Azure Log Analytics workspace to be used for storing diagnostic logs.
126-
* The name of the Azure Log Analytics workspace (for example, *la-cb5sqq6574o2a*).
127-
* The CIDR ranges from your virtual network to be used by Azure Spring Apps (for example, *XX.X.X.X/16,XX.X.X.X/16,XX.X.X.X/16*).
126+
* The name of the Azure Log Analytics workspace (for example, **la-cb5sqq6574o2a**).
127+
* The CIDR ranges from your virtual network to be used by Azure Spring Apps (for example, **XX.X.X.X/16,XX.X.X.X/16,XX.X.X.X/16**).
128128
* The key/value pairs to be applied as tags on all resources that support tags. For more information, see [Use tags to organize your Azure resources and management hierarchy](../../azure-resource-manager/management/tag-resources.md). Use a space-separated list to apply multiple tags (for example, *environment=Dev BusinessUnit=finance*).
129129

130130
After you provide this information, the script will create and deploy the Azure resources.

0 commit comments

Comments
 (0)