Skip to content

Commit efe6869

Browse files
updates
1 parent 2daf5b8 commit efe6869

File tree

2 files changed

+26
-28
lines changed

2 files changed

+26
-28
lines changed

articles/container-apps/java-spring-cloud-config-server-usage.md

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ ms.author: cshoe
1111

1212
# Configure settings for the Spring Cloud Configure Server component in Azure Container Apps (preview)
1313

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+
1416
## Show
1517

18+
You can show the details of an individual component by name using the `show` command.
19+
1620
```azurecli
1721
az containerapp env java-component spring-cloud-config show \
1822
--environment <ENVIRONMENT_NAME> \
@@ -22,6 +26,8 @@ az containerapp env java-component spring-cloud-config show \
2226

2327
## List
2428

29+
You can list all registered Java components using the `list` command.
30+
2531
```azurecli
2632
az containerapp env java-component list \
2733
--environment <ENVIRONMENT_NAME> \
@@ -30,6 +36,8 @@ az containerapp env java-component list \
3036

3137
## Bind
3238

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+
3341
```azurecli
3442
az containerapp update \
3543
--name <CONTAINER_APP_NAME> \
@@ -39,6 +47,8 @@ az containerapp update \
3947

4048
## Unbind
4149

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+
4252
``` azurecli
4353
az containerapp update \
4454
--name <CONTAINER_APP_NAME> \
@@ -52,8 +62,6 @@ The `az containerapp update` command uses the `--configuration` parameter to con
5262

5363
The following table lists the different configuration values available.
5464

55-
### Git backend configurations
56-
5765
The following configuration settings are available on the `spring.cloud.config.server.git` configuration property.
5866

5967
| Name | Property path | Description |
@@ -78,43 +86,31 @@ The following configuration settings are available on the `spring.cloud.config.s
7886

7987
### Common configurations
8088

81-
### Logging configurations
82-
83-
- [**logging.level.**\*](https://docs.spring.io/spring-boot/docs/2.1.13.RELEASE/reference/html/boot-features-logging.html#boot-features-custom-log-levels)
84-
85-
- [**logging.group.**\*](https://docs.spring.io/spring-boot/docs/2.1.13.RELEASE/reference/html/boot-features-logging.html#boot-features-custom-log-groups)
86-
87-
Any other configurations under the `logging.*` namespace should be forbidden. For example, disallow writing log files by using `logging.file`.
89+
- logging related configurations
90+
- [**logging.level.***](https://docs.spring.io/spring-boot/docs/2.1.13.RELEASE/reference/html/boot-features-logging.html#boot-features-custom-log-levels)
91+
- [**logging.group.***](https://docs.spring.io/spring-boot/docs/2.1.13.RELEASE/reference/html/boot-features-logging.html#boot-features-custom-log-groups)
92+
- Any other configurations under logging.* namespace should be forbidden, for example, writing log files by using `logging.file` should be forbidden.
8893

8994
- **spring.cloud.config.server.overrides**
90-
9195
- Extra map for a property source to be sent to all clients unconditionally.
9296

9397
- **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.
9699

97100
- **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.
100102

101103
- **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
104105

105106
- **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`.
106108

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.
118114

119115
## Spring Cloud Config Server refresh
120116

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ ms.author: cshoe
1111

1212
# Connect to a managed Spring Cloud Config Server in Azure Container Apps (preview)
1313

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.
1517

1618
In this tutorial, you learn to:
1719

0 commit comments

Comments
 (0)