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/container-apps/java-config-server.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,7 +187,7 @@ Now that you have an existing environment and config server client container app
187
187
| Java component type|*Config Server for Spring*|
188
188
| Java component name |*configserver*|
189
189
190
-
:::image type="content" source="media/java-components/create-config-server-java-component.png" alt-text="Screenshot of how to select Java component." lightbox="media/java-components/create-config-server-java-component.png":::
190
+
:::image type="content" source="media/java-components/create-config-server-java-component.png" alt-text="Screenshot of how to create Config Server Java component." lightbox="media/java-components/create-config-server-java-component.png":::
191
191
192
192
1. Select *Add* under *Git repositories*, Enter *URI* value *https://github.com/Azure-Samples/azure-spring-cloud-config-java-aca.git* under Add Git repository, select*Add*
193
193
@@ -244,23 +244,23 @@ Now that you have an existing environment and config server client container app
244
244
---
245
245
246
246
247
-
Once the container app and the Config Server component are bound together, configuration changes are automatically synchronized to the container app.
247
+
Once the container app and the Config Server component are bound together, configuration changes are automatically synchronized to the container app.
248
248
249
-
When you visit the app's URL again, the value of `connectTimeout` is now `10000`. This value comes from the git repo set in the `$URI` variable originally set as the source of the configuration component. Specifically, this value is drawn from the `connectionTimeout` property in the repo's *application.yml* file.
249
+
When you visit the app's URL again, the value of `connectTimeout` is now `10000`. This value comes from the git repo set in the `$URI` variable originally set as the source of the configuration component. Specifically, this value is drawn from the `connectionTimeout` property in the repo's *application.yml* file.
250
250
251
-
The bind request injects configuration setting into the application as environment variables. These values are now available to the application code to use when fetching configuration settings from the config server.
251
+
The bind request injects configuration setting into the application as environment variables. These values are now available to the application code to use when fetching configuration settings from the config server.
252
252
253
-
In this case, the following environment variables are available to the application:
253
+
In this case, the following environment variables are available to the application:
If you want to customize your own `SPRING_CONFIG_IMPORT`, you can refer to the environment variable `SPRING_CLOUD_CONFIG_COMPONENT_URI`, for example, you can override by command line arguments, like `Java -Dspring.config.import=optional:configserver:${SPRING_CLOUD_CONFIG_COMPONENT_URI}?fail-fast=true`.
261
+
If you want to customize your own `SPRING_CONFIG_IMPORT`, you can refer to the environment variable `SPRING_CLOUD_CONFIG_COMPONENT_URI`, for example, you can override by command line arguments, like `Java -Dspring.config.import=optional:configserver:${SPRING_CLOUD_CONFIG_COMPONENT_URI}?fail-fast=true`.
262
262
263
-
You can also remove a binding from your application.
263
+
You can also remove a binding from your application.
264
264
265
265
## Unbind your container app from the Config Server for Spring Java component
0 commit comments