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-spring-cloud-config-server-usage.md
+23-27Lines changed: 23 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,12 @@ ms.author: cshoe
11
11
12
12
# Configure settings for the Spring Cloud Configure Server component in Azure Container Apps (preview)
13
13
14
+
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
+
14
16
## Show
15
17
18
+
You can show the details of an individual component by name using the `show` command.
19
+
16
20
```azurecli
17
21
az containerapp env java-component spring-cloud-config show \
18
22
--environment <ENVIRONMENT_NAME> \
@@ -22,6 +26,8 @@ az containerapp env java-component spring-cloud-config show \
22
26
23
27
## List
24
28
29
+
You can list all registered Java components using the `list` command.
30
+
25
31
```azurecli
26
32
az containerapp env java-component list \
27
33
--environment <ENVIRONMENT_NAME> \
@@ -30,6 +36,8 @@ az containerapp env java-component list \
30
36
31
37
## Bind
32
38
39
+
Use the `--bind` parameter of the `update` command to create a connection between the Spring Cloud Config Server component and your container app.
40
+
33
41
```azurecli
34
42
az containerapp update \
35
43
--name <CONTAINER_APP_NAME> \
@@ -39,6 +47,8 @@ az containerapp update \
39
47
40
48
## Unbind
41
49
50
+
To break the connection between your container app and the Spring Cloud Config Server component, use the the `--unbind` parameter of the `update` command.
51
+
42
52
```azurecli
43
53
az containerapp update \
44
54
--name <CONTAINER_APP_NAME> \
@@ -52,8 +62,6 @@ The `az containerapp update` command uses the `--configuration` parameter to con
52
62
53
63
The following table lists the different configuration values available.
54
64
55
-
### Git backend configurations
56
-
57
65
The following configuration settings are available on the `spring.cloud.config.server.git` configuration property.
58
66
59
67
| Name | Property path | Description |
@@ -78,43 +86,31 @@ The following configuration settings are available on the `spring.cloud.config.s
- Any other configurations under logging.* namespace should be forbidden, for example, writing log files by using `logging.file` should be forbidden.
88
93
89
94
-**spring.cloud.config.server.overrides**
90
-
91
95
- Extra map for a property source to be sent to all clients unconditionally.
92
96
93
97
-**spring.cloud.config.override-none**
94
-
95
-
You can change the priority of all overrides in the client to be more like default values. The setting allows applications to supply their own values in environment variables or System properties. Values are set with the `spring.cloud.config.override-none=true` flag (the default is `false`) in the remote repository.
98
+
- You can change the priority of all overrides in the client to be more like default values, letting applications supply their own values in environment variables or System properties, by setting the spring.cloud.config.override-none=true flag (the default is false) in the remote repository.
96
99
97
100
-**spring.cloud.config.allow-override**
98
-
99
-
If you enable config first bootstrap, you allow client applications to override configuration from the config server by placing two properties within the application's configuration coming from the config server.
101
+
- If you enable config first bootstrap, you can allow client applications to override configuration from the config server by placing two properties within the applications configuration coming from the config server.
100
102
101
103
-**spring.cloud.config.server.health.**
102
-
103
-
You can configure the Health Indicator to check more applications along with custom profiles and custom labels
104
+
- You can configure the Health Indicator to check more applications along with custom profiles and custom labels
104
105
105
106
-**spring.cloud.config.server.accept-empty**
107
+
- You can set `spring.cloud.config.server.accept-empty` to `false` so that the server returns a HTTP `404` status, if the application is not found. By default, this flag is set to `true`.
106
108
107
-
You can set `spring.cloud.config.server.accept-empty` to `false` so that the server returns an HTTP `404` status if the application isn't found. By default, this flag is set to `true`.
108
-
109
-
### Encryption and decryption (symmetric)
110
-
111
-
-**encrypt.key**
112
-
113
-
Using a symmetric key is often most convenient, as it's a single property value to configure.
114
-
115
-
-**spring.cloud.config.server.encrypt.enabled**
116
-
117
-
You can set this value to `false`, to disable server-side decryption.
109
+
-**Encryption and decryption (symmetric)**
110
+
-**encrypt.key**
111
+
- It is convenient to use a symmetric key since it is a single property value to configure.
112
+
-**spring.cloud.config.server.encrypt.enabled**
113
+
- You can set this to `false`, to disable server-side decryption.
Copy file name to clipboardExpand all lines: articles/container-apps/java-spring-cloud-config-server.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,9 @@ ms.author: cshoe
11
11
12
12
# Connect to a managed Spring Cloud Config Server in Azure Container Apps (preview)
13
13
14
-
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. 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 configuration binding. A binding is a connection established between the Config Server and your app. As values change in the configuration, they automatically flow to your application, all without requiring you to recompile or redeploy your application.
14
+
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
+
16
+
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.
0 commit comments