Skip to content

Commit a3d08fd

Browse files
authored
Update java-config-server.md
1 parent 7290578 commit a3d08fd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/container-apps/java-config-server.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.author: cshoe
1414

1515
Config Server for Spring provides a centralized location to make configuration data available to multiple applications. In this article, you learn to connect an app hosted in Azure Container Apps to a Java Config Server for Spring instance.
1616

17-
The Config Server for Spring component uses a GitHub repository as the source for configuration settings. Configuration values are made available to your container app via a binding between the component and your container app. As values change in the configuration server, they automatically flow to your application, all without requiring you to recompile or redeploy your application.
17+
The Config Server for Spring java component uses a GitHub repository as the source for configuration settings. Configuration values are made available to your container app via a binding between the component and your container app. As values change in the configuration server, they automatically flow to your application, all without requiring you to recompile or redeploy your application.
1818

1919
In this tutorial, you learn to:
2020

@@ -107,7 +107,7 @@ Follow the following steps to create the resource group, client container app an
107107
108108
:::image type="content" source="media/java-components/create-containerapp-config.png" alt-text="Screenshot of create container apps." lightbox="media/java-components/create-containerapp-config.png":::
109109
110-
3. In Container tab, select or enter the following values and leave others be the default.
110+
3. In Container tab, select or enter the following values and leave others be the default. The container image value is `mcr.microsoft.com/javacomponents/samples/sample-service-config-client:latest`, which is a sample config server client image provided by us.
111111
112112
:::image type="content" source="media/java-components/select-config-image.png" alt-text="Screenshot of select image when create container apps." lightbox="media/java-components/select-config-image.png":::
113113
@@ -119,11 +119,11 @@ Follow the following steps to create the resource group, client container app an
119119
120120
---
121121
122-
This environment is used to host both the Config Server for Spring component and your container app.
122+
This environment is used to host both the Config Server for Spring java component and your container app.
123123
124124
## Create the Config Server for Spring Java component
125125
126-
Now that you have a Container Apps environment, you can create your container app and bind it to a Config Server for Spring component. When you bind your container app, configuration values automatically synchronize from the Config Server component to your application.
126+
Now that you have a Container Apps environment, you can create your container app and bind it to a Config Server for Spring java component. When you bind your container app, configuration values automatically synchronize from the Config Server component to your application.
127127
128128
### [Azure CLI](#tab/azure-cli)
129129
1. Create the Config Server for Spring Java component.
@@ -223,8 +223,8 @@ The bind request injects configuration setting into the application as environme
223223
In this case, the following environment variables are available to the application:
224224

225225
```bash
226-
SPRING_CLOUD_CONFIG_URI=http://$JAVA_COMPONENT_NAME:80
227-
SPRING_CLOUD_CONFIG_COMPONENT_URI=http://$JAVA_COMPONENT_NAME:80
226+
SPRING_CLOUD_CONFIG_URI=http://[JAVA_COMPONENT_INTERNAL_FQDN]:80
227+
SPRING_CLOUD_CONFIG_COMPONENT_URI=http://[JAVA_COMPONENT_INTERNAL_FQDN]:80
228228
SPRING_CONFIG_IMPORT=optional:configserver:$SPRING_CLOUD_CONFIG_URI
229229
```
230230

0 commit comments

Comments
 (0)