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
Copy file name to clipboardExpand all lines: articles/spring-apps/basic-standard/how-to-access-data-plane-azure-ad-rbac.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,9 +77,9 @@ After the role is assigned, you can register Spring Boot apps to Spring Cloud Co
77
77
78
78
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.
79
79
80
-
**In *AccessTokenManager.java*:**
80
+
In **AccessTokenManager.java**:
81
81
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.
83
83
84
84
```java
85
85
prop.load(in);
@@ -91,7 +91,7 @@ credentials = new ApplicationTokenCredentials(
In **CustomConfigServiceBootstrapConfiguration.java**:
95
95
96
96
`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).
97
97
@@ -111,7 +111,7 @@ public class RequestResponseHandlerInterceptor implements ClientHttpRequestInter
In **CustomRestTemplateTransportClientFactories.java**:
115
115
116
116
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).
Copy file name to clipboardExpand all lines: articles/spring-apps/basic-standard/how-to-appdynamics-java-agent-monitor.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ To activate an application through the Azure CLI, use the following steps.
51
51
52
52
1. Create a resource group.
53
53
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.
55
55
56
56
```azurecli
57
57
az spring app create \
@@ -81,7 +81,7 @@ To activate an application through the Azure CLI, use the following steps.
81
81
APPDYNAMICS_CONTROLLER_PORT=443
82
82
```
83
83
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).
85
85
86
86
### Activate an application with the AppDynamics Agent using the Azure portal
87
87
@@ -109,7 +109,7 @@ You can also run a provisioning automation pipeline using Terraform, Bicep, or A
109
109
110
110
### Automate provisioning using Terraform
111
111
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).
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).
136
136
137
137
```bicep
138
138
deploymentSettings: {
@@ -153,7 +153,7 @@ deploymentSettings: {
153
153
154
154
### Automate provisioning using an ARM template
155
155
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).
157
157
158
158
```JSON
159
159
"deploymentSettings": {
@@ -219,7 +219,7 @@ You can define more metrics for the JVM, as shown in this screenshot of the **Me
219
219
220
220
## View AppDynamics Agent logs
221
221
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.
223
223
224
224
You can also get the logs of the AppDynamics Agent from the following locations:
Copy file name to clipboardExpand all lines: articles/spring-apps/basic-standard/how-to-application-insights.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ To check and update the current settings for the Application Insights buildpack
133
133
1. Choose your builder.
134
134
1. Select **Edit** under the Bindings column.
135
135
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.
137
137
138
138
1. Select the **Bound** hyperlink, or select **Edit Binding** under the ellipse, to open and edit the Application Insights buildpack bindings.
139
139
@@ -147,7 +147,7 @@ Application Insights settings are found in the *ApplicationInsights* item listed
147
147
148
148
## Manage Application Insights using Azure CLI
149
149
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.
151
151
152
152
### Enable Application Insights
153
153
@@ -352,7 +352,7 @@ The following sections describe how to automate your deployment using Bicep, Azu
352
352
353
353
### Bicep
354
354
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).
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).
Azure Spring Apps provides two types of built-in storage for your application: persistent and temporary.
21
21
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.
23
23
24
24
> [!WARNING]
25
25
> If you restart an application instance, the associated temporary storage is permanently deleted.
26
26
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**.
Copy file name to clipboardExpand all lines: articles/spring-apps/basic-standard/how-to-capture-dumps.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ Use the following steps to generate a heap or thread dump of your app in Azure S
87
87
88
88
## Get your diagnostic files
89
89
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.
Copy file name to clipboardExpand all lines: articles/spring-apps/basic-standard/how-to-cicd.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
@@ -109,11 +109,11 @@ You can now build and deploy your projects using a series of tasks. The followin
109
109
To deploy using a pipeline, follow these steps:
110
110
111
111
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**.
113
113
1. Select **Show assistant** on the right side, then select the **Azure Spring Apps** template.
114
114
1. Select the service connection you created for your Azure Subscription, then select your Azure Spring Apps instance and app instance.
115
115
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**.
117
117
1. Select **Add** to add this task to your pipeline.
118
118
119
119
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
179
179
1. Select **Pipelines** and create a new pipeline for your Maven build and publish artifact.
180
180
1. Select **Azure Repos Git** for your code location.
181
181
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**.
183
183
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**.
185
185
1. Select **Save and run**.
186
186
187
187
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
202
202
1. Select **Add**, then **Save**.
203
203
1. Select **1 job, 1 task** under **Stages**.
204
204
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**.
206
206
207
207
:::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":::
0 commit comments