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-usage.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: Configure settings for the Spring Cloud Config Server component in Azure Container Apps (preview)
3
-
description: Learn how to configure a Spring Cloud Config Server component for your container app.
2
+
title: Configure settings for the Config Server for Spring component in Azure Container Apps (preview)
3
+
description: Learn how to configure a Config Server for Spring component for your container app.
4
4
services: container-apps
5
5
author: craigshoemaker
6
6
ms.service: container-apps
@@ -10,9 +10,9 @@ ms.date: 05/23/2024
10
10
ms.author: cshoe
11
11
---
12
12
13
-
# Configure settings for the Spring Cloud Config Server component in Azure Container Apps (preview)
13
+
# Configure settings for the Config Server for Spring component in Azure Container Apps (preview)
14
14
15
-
Spring Cloud Config Server provides a centralized location to make configuration data available to multiple applications. Use the following guidance to learn how to configure and manage your Spring Cloud Config Server component.
15
+
Config Server for Spring provides a centralized location to make configuration data available to multiple applications. Use the following guidance to learn how to configure and manage your Config Server for Spring component.
16
16
17
17
## Show
18
18
@@ -21,7 +21,7 @@ You can view the details of an individual component by name using the `show` com
21
21
Before you run the following command, replace placeholders surrounded by `<>` with your values.
22
22
23
23
```azurecli
24
-
az containerapp env java-component spring-cloud-config show \
24
+
az containerapp env java-component config-server-for-spring show \
25
25
--environment <ENVIRONMENT_NAME> \
26
26
--resource-group <RESOURCE_GROUP> \
27
27
--name <JAVA_COMPONENT_NAME>
@@ -41,7 +41,7 @@ az containerapp env java-component list \
41
41
42
42
## Bind
43
43
44
-
Use the `--bind` parameter of the `update` command to create a connection between the Spring Cloud Config Server component and your container app.
44
+
Use the `--bind` parameter of the `update` command to create a connection between the Config Server for Spring component and your container app.
45
45
46
46
Before you run the following command, replace placeholders surrounded by `<>` with your values.
47
47
@@ -54,7 +54,7 @@ az containerapp update \
54
54
55
55
## Unbind
56
56
57
-
To break the connection between your container app and the Spring Cloud Config Server component, use the `--unbind` parameter of the `update` command.
57
+
To break the connection between your container app and the Config Server for Spring component, use the `--unbind` parameter of the `update` command.
58
58
59
59
Before you run the following command, replace placeholders surrounded by `<>` with your values.
60
60
@@ -67,7 +67,7 @@ az containerapp update \
67
67
68
68
## Configuration options
69
69
70
-
The `az containerapp update` command uses the `--configuration` parameter to control how the Spring Cloud Config Server is configured. You can use multiple parameters at once as long as they're separated by a space. You can find more details in [Spring Cloud Config Server](https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#_spring_cloud_config_server) docs.
70
+
The `az containerapp update` command uses the `--configuration` parameter to control how the Config Server for Spring is configured. You can use multiple parameters at once as long as they're separated by a space. You can find more details in [Spring Cloud Config Server](https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#_spring_cloud_config_server) docs.
71
71
72
72
The following table lists the different configuration values available.
73
73
@@ -123,7 +123,7 @@ The following table lists the different configuration values available.
123
123
124
124
## Refresh
125
125
126
-
Services that consume properties need to know about the change before it happens. The default notification method for Spring Cloud Config Server involves manually triggering the refresh event, such as refresh by call `https://<YOUR_CONFIG_CLIENT_HOST_NAME>/actuator/refresh`, which may not be feasible if there are many app instances.
126
+
Services that consume properties need to know about the change before it happens. The default notification method for Config Server for Spring involves manually triggering the refresh event, such as refresh by call `https://<YOUR_CONFIG_CLIENT_HOST_NAME>/actuator/refresh`, which may not be feasible if there are many app instances.
127
127
128
128
Instead, you can automatically refresh values from Config Server by letting the config client poll for changes based on a refresh internal. Use the following steps to automatically refresh values from Config Server.
129
129
@@ -196,12 +196,12 @@ By default, server-side encryption is enabled. Use the following steps to enable
Copy file name to clipboardExpand all lines: articles/container-apps/java-config-server.md
+26-25Lines changed: 26 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: "Tutorial: Connect to a managed Spring Cloud Config Server in Azure Container Apps (preview)"
3
-
description: Learn how to connect a Spring Cloud Config Server to your container app.
2
+
title: "Tutorial: Connect to a managed Config Server for Spring in Azure Container Apps (preview)"
3
+
description: Learn how to connect a Config Server for Spring to your container app.
4
4
services: container-apps
5
5
author: craigshoemaker
6
6
ms.service: container-apps
@@ -10,17 +10,17 @@ ms.date: 03/13/2024
10
10
ms.author: cshoe
11
11
---
12
12
13
-
# Tutorial: Connect to a managed Spring Cloud Config Server in Azure Container Apps (preview)
13
+
# Tutorial: Connect to a managed Config Server for Spring in Azure Container Apps (preview)
14
14
15
-
Spring Cloud Config Server 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 Spring Cloud Config Server instance.
15
+
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.
16
16
17
-
The Spring Cloud Config Server 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 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.
18
18
19
19
In this tutorial, you learn to:
20
20
21
21
> [!div class="checklist"]
22
-
> * Create a Spring Cloud Config Server Java component
23
-
> * Bind the Spring Cloud Config Server to your container app
22
+
> * Create a Config Server for Spring Java component
23
+
> * Bind the Config Server for Spring to your container app
24
24
> * Observe configuration values before and after connecting the config server to your application
25
25
> * Encrypt and decrypt configuration values with a symmetric key
26
26
@@ -38,19 +38,19 @@ To complete this project, you need the following items:
38
38
39
39
## Considerations
40
40
41
-
When running in Spring Cloud Config Server in Azure Container Apps, be aware of the following details:
41
+
When running in Config Server for Spring in Azure Container Apps, be aware of the following details:
42
42
43
43
| Item | Explanation |
44
44
|---|---|
45
-
|**Scope**| The Spring Cloud Config Server runs in the same environment as the connected container app. |
46
-
|**Scaling**| To maintain a single source of truth, the Spring Cloud Config Server doesn't scale. The scaling properties `minReplicas` and `maxReplicas` are both set to `1`. |
47
-
|**Resources**| The container resource allocation for Spring Cloud Config Server is fixed, the number of the CPU cores is 0.5, and the memory size is 1Gi. |
48
-
|**Pricing**| The Spring Cloud Config Server billing falls under consumption-based pricing. Resources consumed by managed Java components are billed at the active/idle rates. You may delete components that are no longer in use to stop billing. |
49
-
|**Binding**| The container app connects to a Spring Cloud Config Server via a binding. The binding injects configurations into container app environment variables. Once a binding is established, the container app can read configuration values from environment variables. |
45
+
|**Scope**| The Config Server for Spring runs in the same environment as the connected container app. |
46
+
|**Scaling**| To maintain a single source of truth, the Config Server for Spring doesn't scale. The scaling properties `minReplicas` and `maxReplicas` are both set to `1`. |
47
+
|**Resources**| The container resource allocation for Config Server for Spring is fixed, the number of the CPU cores is 0.5, and the memory size is 1Gi. |
48
+
|**Pricing**| The Config Server for Spring billing falls under consumption-based pricing. Resources consumed by managed Java components are billed at the active/idle rates. You may delete components that are no longer in use to stop billing. |
49
+
|**Binding**| The container app connects to a Config Server for Spring via a binding. The binding injects configurations into container app environment variables. Once a binding is established, the container app can read configuration values from environment variables. |
50
50
51
51
## Setup
52
52
53
-
Before you begin to work with the Spring Cloud Config Server, you first need to create the required resources.
53
+
Before you begin to work with the Config Server for Spring, you first need to create the required resources.
54
54
55
55
Execute the following commands to create your resource group and Container Apps environment.
56
56
@@ -71,7 +71,7 @@ Execute the following commands to create your resource group and Container Apps
71
71
|`LOCATION`| The Azure region location where you create your container app and Java component. |
72
72
|`ENVIRONMENT`| The Azure Container Apps environment name for your demo application. |
73
73
|`RESOURCE_GROUP`| The Azure resource group name for your demo application. |
74
-
|`JAVA_COMPONENT_NAME`| The name of the Java component created for your container app. In this case, you create a Spring Cloud Config Server Java component. |
74
+
|`JAVA_COMPONENT_NAME`| The name of the Java component created for your container app. In this case, you create a Config Serverfor Spring Java component. |
75
75
|`IMAGE`| The container image used in your container app. |
76
76
|`URI`| You can replace the URI with your git repo url, if it's private, add the related authentication configurations such as `spring.cloud.config.server.git.username` and `spring.cloud.config.server.git.password`. |
77
77
@@ -96,26 +96,26 @@ Execute the following commands to create your resource group and Container Apps
96
96
--location $LOCATION
97
97
```
98
98
99
-
This environment is used to host both the Spring Cloud Config Server component and your container app.
99
+
This environment is used to host both the Config Server for Spring component and your container app.
100
100
101
-
## Use the Spring Cloud Config Server Java component
101
+
## Use the Config Server for Spring Java component
102
102
103
-
Now that you have a Container Apps environment, you can create your container app and bind it to a Spring Cloud Config Server component. When you bind your container app, configuration values automatically synchronize from the Config Server component to your application.
103
+
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.
104
104
105
-
1. Create the Spring Cloud Config Server Java component.
105
+
1. Create the Config Server for Spring Java component.
106
106
107
107
```azurecli
108
-
az containerapp env java-component spring-cloud-config create \
108
+
az containerapp env java-component config-server-for-spring create \
0 commit comments