Skip to content

Commit 7fd9cb0

Browse files
Edits to various basic-standard files.
1 parent 0b0ccc2 commit 7fd9cb0

13 files changed

+42
-42
lines changed

articles/spring-apps/basic-standard/how-to-access-data-plane-azure-ad-rbac.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ After the role is assigned, you can register Spring Boot apps to Spring Cloud Co
7777
7878
For more information, see the samples [Access Azure Spring Apps managed Config Server](https://github.com/Azure-Samples/azure-spring-apps-samples/tree/main/custom-config-server-client) and [Access Azure Spring Apps managed Service Registry](https://github.com/Azure-Samples/azure-spring-apps-samples/tree/main/custom-eureka-client). The following sections explain some important details in these samples.
7979
80-
**In *AccessTokenManager.java*:**
80+
In **AccessTokenManager.java**:
8181
82-
`AccessTokenManager` is responsible for getting an access token from Microsoft Entra ID. Configure the service principal's sign-in information in the *application.properties* file and initialize `ApplicationTokenCredentials` to get the token. You can find this file in both samples.
82+
`AccessTokenManager` is responsible for getting an access token from Microsoft Entra ID. Configure the service principal's sign-in information in the **application.properties** file and initialize `ApplicationTokenCredentials` to get the token. You can find this file in both samples.
8383
8484
```java
8585
prop.load(in);
@@ -91,7 +91,7 @@ credentials = new ApplicationTokenCredentials(
9191
clientId, tenantId, secret, AzureEnvironment.AZURE);
9292
```
9393

94-
**In *CustomConfigServiceBootstrapConfiguration.java*:**
94+
In **CustomConfigServiceBootstrapConfiguration.java**:
9595

9696
`CustomConfigServiceBootstrapConfiguration` implements the custom REST template for Config Server and injects the token from Microsoft Entra ID as `Authorization` headers. You can find this file in the [Config Server sample](https://github.com/Azure-Samples/azure-spring-apps-samples/tree/main/custom-config-server-client).
9797

@@ -111,7 +111,7 @@ public class RequestResponseHandlerInterceptor implements ClientHttpRequestInter
111111
}
112112
```
113113

114-
**In *CustomRestTemplateTransportClientFactories.java*:**
114+
In **CustomRestTemplateTransportClientFactories.java**:
115115

116116
The previous two classes are for the implementation of the custom REST template for Spring Cloud Service Registry. The `intercept` part is the same as in the Config Server above. Be sure to add `factory.mappingJacksonHttpMessageConverter()` to the message converters. You can find this file in the [Spring Cloud Service Registry sample](https://github.com/Azure-Samples/azure-spring-apps-samples/tree/main/custom-eureka-client).
117117

articles/spring-apps/basic-standard/how-to-appdynamics-java-agent-monitor.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ To activate an application through the Azure CLI, use the following steps.
5151

5252
1. Create a resource group.
5353
1. Create an instance of Azure Spring Apps.
54-
1. Create an application using the following command. Replace the placeholders *\<...>* with your own values.
54+
1. Create an application using the following command. Replace the placeholders `<...>` with your own values.
5555

5656
```azurecli
5757
az spring app create \
@@ -81,7 +81,7 @@ To activate an application through the Azure CLI, use the following steps.
8181
APPDYNAMICS_CONTROLLER_PORT=443
8282
```
8383
84-
Azure Spring Apps pre-installs the AppDynamics Java agent to the path */opt/agents/appdynamics/java/javaagent.jar*. You can activate the agent from your applications' JVM options, then configure the agent using environment variables. You can find values for these variables at [Monitor Azure Spring Apps with Java Agent](https://docs.appdynamics.com/appd/24.x/24.3/en/application-monitoring/install-app-server-agents/java-agent/monitor-azure-spring-cloud-with-java-agent). For more information about how these variables help to view and organize reports in the AppDynamics UI, see [Tiers and Nodes](https://docs.appdynamics.com/appd/24.x/24.3/en/application-monitoring/tiers-and-nodes).
84+
Azure Spring Apps pre-installs the AppDynamics Java agent to the path **/opt/agents/appdynamics/java/javaagent.jar**. You can activate the agent from your applications' JVM options, then configure the agent using environment variables. You can find values for these variables at [Monitor Azure Spring Apps with Java Agent](https://docs.appdynamics.com/appd/24.x/24.3/en/application-monitoring/install-app-server-agents/java-agent/monitor-azure-spring-cloud-with-java-agent). For more information about how these variables help to view and organize reports in the AppDynamics UI, see [Tiers and Nodes](https://docs.appdynamics.com/appd/24.x/24.3/en/application-monitoring/tiers-and-nodes).
8585
8686
### Activate an application with the AppDynamics Agent using the Azure portal
8787
@@ -109,7 +109,7 @@ You can also run a provisioning automation pipeline using Terraform, Bicep, or A
109109
110110
### Automate provisioning using Terraform
111111
112-
To configure the environment variables in a Terraform template, add the following code to the template, replacing the *\<...>* placeholders with your own values. For more information, see [Manages an Active Azure Spring Apps Deployment](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/spring_cloud_active_deployment).
112+
To configure the environment variables in a Terraform template, add the following code to the template, replacing the `<...>` placeholders with your own values. For more information, see [Manages an Active Azure Spring Apps Deployment](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/spring_cloud_active_deployment).
113113
114114
```terraform
115115
resource "azurerm_spring_cloud_java_deployment" "example" {
@@ -132,7 +132,7 @@ resource "azurerm_spring_cloud_java_deployment" "example" {
132132

133133
### Automate provisioning using Bicep
134134

135-
To configure the environment variables in a Bicep file, add the following code to the file, replacing the *\<...>* placeholders with your own values. For more information, see [Microsoft.AppPlatform Spring/apps/deployments](/azure/templates/microsoft.appplatform/spring/apps/deployments?tabs=bicep).
135+
To configure the environment variables in a Bicep file, add the following code to the file, replacing the `<...>` placeholders with your own values. For more information, see [Microsoft.AppPlatform Spring/apps/deployments](/azure/templates/microsoft.appplatform/spring/apps/deployments?tabs=bicep).
136136

137137
```bicep
138138
deploymentSettings: {
@@ -153,7 +153,7 @@ deploymentSettings: {
153153

154154
### Automate provisioning using an ARM template
155155

156-
To configure the environment variables in an ARM template, add the following code to the template, replacing the *\<...>* placeholders with your own values. For more information, see [Microsoft.AppPlatform Spring/apps/deployments](/azure/templates/microsoft.appplatform/spring/apps/deployments?tabs=json).
156+
To configure the environment variables in an ARM template, add the following code to the template, replacing the `<...>` placeholders with your own values. For more information, see [Microsoft.AppPlatform Spring/apps/deployments](/azure/templates/microsoft.appplatform/spring/apps/deployments?tabs=json).
157157

158158
```JSON
159159
"deploymentSettings": {
@@ -219,7 +219,7 @@ You can define more metrics for the JVM, as shown in this screenshot of the **Me
219219

220220
## View AppDynamics Agent logs
221221

222-
By default, Azure Spring Apps prints the *info* level logs of the AppDynamics Agent to `STDOUT`. The logs are mixed with the application logs. You can find the explicit agent version from the application logs.
222+
By default, Azure Spring Apps prints the **info** level logs of the AppDynamics Agent to `STDOUT`. The logs are mixed with the application logs. You can find the explicit agent version from the application logs.
223223

224224
You can also get the logs of the AppDynamics Agent from the following locations:
225225

articles/spring-apps/basic-standard/how-to-application-insights.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ To check and update the current settings for the Application Insights buildpack
133133
1. Choose your builder.
134134
1. Select **Edit** under the Bindings column.
135135

136-
Application Insights settings are found in the *ApplicationInsights* item listed under the *Binding type* column.
136+
Application Insights settings are found in the **ApplicationInsights** item listed under the *Binding type* column.
137137

138138
1. Select the **Bound** hyperlink, or select **Edit Binding** under the ellipse, to open and edit the Application Insights buildpack bindings.
139139

@@ -147,7 +147,7 @@ Application Insights settings are found in the *ApplicationInsights* item listed
147147

148148
## Manage Application Insights using Azure CLI
149149

150-
You can manage Application Insights using Azure CLI commands. In the following commands, be sure to replace the *\<placeholder>* text with the values described. The *\<service-instance-name>* placeholder refers to the name of your Azure Spring Apps instance.
150+
You can manage Application Insights using Azure CLI commands. In the following commands, be sure to replace the `<placeholder>` text with the values described. The `<service-instance-name>` placeholder refers to the name of your Azure Spring Apps instance.
151151

152152
### Enable Application Insights
153153

@@ -352,7 +352,7 @@ The following sections describe how to automate your deployment using Bicep, Azu
352352

353353
### Bicep
354354

355-
To deploy using a Bicep file, copy the following content into a *main.bicep* file. For more information, see [Microsoft.AppPlatform Spring/monitoringSettings](/azure/templates/microsoft.appplatform/spring/monitoringsettings).
355+
To deploy using a Bicep file, copy the following content into a **main.bicep** file. For more information, see [Microsoft.AppPlatform Spring/monitoringSettings](/azure/templates/microsoft.appplatform/spring/monitoringsettings).
356356

357357
```bicep
358358
param springName string
@@ -376,7 +376,7 @@ resource monitorSetting 'Microsoft.AppPlatform/Spring/monitoringSettings@2020-11
376376

377377
### ARM templates
378378

379-
To deploy using an ARM template, copy the following content into an *azuredeploy.json* file. For more information, see [Microsoft.AppPlatform Spring/monitoringSettings](/azure/templates/microsoft.appplatform/spring/monitoringsettings).
379+
To deploy using an ARM template, copy the following content into an **azuredeploy.json** file. For more information, see [Microsoft.AppPlatform Spring/monitoringSettings](/azure/templates/microsoft.appplatform/spring/monitoringsettings).
380380

381381
```json
382382
{

articles/spring-apps/basic-standard/how-to-bind-cosmos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Instead of manually configuring your Spring Boot applications, you can automatic
2929

3030
### [Java](#tab/Java)
3131

32-
1. Add one of the following dependencies to your application's *pom.xml* file. Choose the dependency that is appropriate for your API type.
32+
1. Add one of the following dependencies to your application's **pom.xml** file. Choose the dependency that is appropriate for your API type.
3333

3434
* API type: NoSQL
3535

articles/spring-apps/basic-standard/how-to-bind-mysql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ With Azure Spring Apps, you can connect selected Azure services to your applicat
2929

3030
### [Java](#tab/Java)
3131

32-
1. In your project's *pom.xml* file, add the following dependency:
32+
1. In your project's **pom.xml** file, add the following dependency:
3333

3434
```xml
3535
<dependency>
@@ -42,7 +42,7 @@ With Azure Spring Apps, you can connect selected Azure services to your applicat
4242
</dependency>
4343
```
4444

45-
1. In the *application.properties* file, remove any `spring.datasource.*` properties.
45+
1. In the **application.properties** file, remove any `spring.datasource.*` properties.
4646

4747
1. Update the current app by running `az spring app deploy`, or create a new deployment for this change by running `az spring app deployment create`.
4848

articles/spring-apps/basic-standard/how-to-bind-postgres.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ PostgreSQL authentication uses accounts stored in PostgreSQL. If you choose to u
3737

3838
Use the following steps to prepare your project.
3939

40-
1. In your project's *pom.xml* file, add the following dependency:
40+
1. In your project's **pom.xml** file, add the following dependency:
4141

4242
```xml
4343
<dependency>
@@ -50,7 +50,7 @@ Use the following steps to prepare your project.
5050
</dependency>
5151
```
5252

53-
1. In the *application.properties* file, remove any `spring.datasource.*` properties.
53+
1. In the **application.properties** file, remove any `spring.datasource.*` properties.
5454

5555
1. Update the current app by running `az spring app deploy`, or create a new deployment for this change by running `az spring app deployment create`.
5656

articles/spring-apps/basic-standard/how-to-bind-redis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If you don't have a deployed Azure Spring Apps instance, follow the steps in the
3131

3232
### [Java](#tab/Java)
3333

34-
1. Add the following dependency to your project's *pom.xml* file:
34+
1. Add the following dependency to your project's **pom.xml** file:
3535

3636
```xml
3737
<dependency>
@@ -40,7 +40,7 @@ If you don't have a deployed Azure Spring Apps instance, follow the steps in the
4040
</dependency>
4141
```
4242

43-
1. Remove any `spring.redis.*` properties from the *application.properties* file
43+
1. Remove any `spring.redis.*` properties from the **application.properties** file
4444

4545
1. Update the current deployment using `az spring app update` or create a new deployment using `az spring app deployment create`.
4646

articles/spring-apps/basic-standard/how-to-built-in-persistent-storage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ ms.custom: devx-track-java, devx-track-extended-java, devx-track-azurecli, engag
1919

2020
Azure Spring Apps provides two types of built-in storage for your application: persistent and temporary.
2121

22-
By default, Azure Spring Apps provides temporary storage for each application instance. Temporary storage is limited to 5 GB per instance with */tmp* as the default mount path.
22+
By default, Azure Spring Apps provides temporary storage for each application instance. Temporary storage is limited to 5 GB per instance with **/tmp** as the default mount path.
2323

2424
> [!WARNING]
2525
> If you restart an application instance, the associated temporary storage is permanently deleted.
2626
27-
Persistent storage is a file-share container managed by Azure and allocated per application. All instances of an application share data stored in persistent storage. An Azure Spring Apps instance can have a maximum of 10 applications with persistent storage enabled. Each application is allocated 50 GB of persistent storage. The default mount path for persistent storage is */persistent*.
27+
Persistent storage is a file-share container managed by Azure and allocated per application. All instances of an application share data stored in persistent storage. An Azure Spring Apps instance can have a maximum of 10 applications with persistent storage enabled. Each application is allocated 50 GB of persistent storage. The default mount path for persistent storage is **/persistent**.
2828

2929
## Enable or disable built-in persistent storage
3030

articles/spring-apps/basic-standard/how-to-capture-dumps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Use the following steps to generate a heap or thread dump of your app in Azure S
8787

8888
## Get your diagnostic files
8989

90-
Navigate to the target file path in your persistent storage and find your dump/JFR. From there, you can download them to your local machine. The name of the generated file will be similar to *`<app-instance>_heapdump_<time-stamp>.hprof`* for the heap dump, *`<app-instance>_threaddump_<time-stamp>.txt`* for the thread dump, and *`<app-instance>_JFR_<time-stamp>.jfr`* for the JFR file.
90+
Navigate to the target file path in your persistent storage and find your dump/JFR. From there, you can download them to your local machine. The name of the generated file will be similar to `<app-instance>_heapdump_<time-stamp>.hprof` for the heap dump, `<app-instance>_threaddump_<time-stamp>.txt` for the thread dump, and `<app-instance>_JFR_<time-stamp>.jfr` for the JFR file.
9191

9292
## Next steps
9393

articles/spring-apps/basic-standard/how-to-cicd.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ You can now build and deploy your projects using a series of tasks. The followin
109109
To deploy using a pipeline, follow these steps:
110110
111111
1. Select **Pipelines**, then create a new pipeline with a Maven template.
112-
1. Edit the *azure-pipelines.yml* file to set the `mavenPomFile` field to *'complete/pom.xml'*.
112+
1. Edit the **azure-pipelines.yml** file to set the `mavenPomFile` field to **complete/pom.xml**.
113113
1. Select **Show assistant** on the right side, then select the **Azure Spring Apps** template.
114114
1. Select the service connection you created for your Azure Subscription, then select your Azure Spring Apps instance and app instance.
115115
1. Disable **Use Staging Deployment**.
116-
1. Set **Package or folder** to *complete/target/spring-boot-complete-0.0.1-SNAPSHOT.jar*.
116+
1. Set **Package or folder** to **complete/target/spring-boot-complete-0.0.1-SNAPSHOT.jar**.
117117
1. Select **Add** to add this task to your pipeline.
118118

119119
Your pipeline settings should match the following image.
@@ -179,9 +179,9 @@ The following steps show you how to enable a blue-green deployment from the **Re
179179
1. Select **Pipelines** and create a new pipeline for your Maven build and publish artifact.
180180
1. Select **Azure Repos Git** for your code location.
181181
1. Select a repository where your code is located.
182-
1. Select the **Maven** template and modify the file to set the `mavenPomFile` field to *`complete/pom.xml`*.
182+
1. Select the **Maven** template and modify the file to set the `mavenPomFile` field to **complete/pom.xml**.
183183
1. Select **Show assistant** on the right side and select the **Publish build artifacts** template.
184-
1. Set **Path to publish** to *complete/target/spring-boot-complete-0.0.1-SNAPSHOT.jar*.
184+
1. Set **Path to publish** to **complete/target/spring-boot-complete-0.0.1-SNAPSHOT.jar**.
185185
1. Select **Save and run**.
186186

187187
1. Select **Releases**, then **Create release**.
@@ -202,7 +202,7 @@ The following steps show you how to enable a blue-green deployment from the **Re
202202
1. Select **Add**, then **Save**.
203203
1. Select **1 job, 1 task** under **Stages**.
204204
1. Navigate to the **Azure Spring Apps Deploy** task in **Stage 1**, then select the ellipsis next to **Package or folder**.
205-
1. Select *spring-boot-complete-0.0.1-SNAPSHOT.jar* in the dialog, then select **OK**.
205+
1. Select **spring-boot-complete-0.0.1-SNAPSHOT.jar** in the dialog, then select **OK**.
206206

207207
:::image type="content" source="media/how-to-cicd/change-artifact-path.jpg" alt-text="Screenshot of Azure DevOps that shows the Select a file or folder dialog box." lightbox="media/how-to-cicd/change-artifact-path.jpg":::
208208

0 commit comments

Comments
 (0)