Skip to content

Commit 109479b

Browse files
Merge branch 'xuyang/sba-doc' of https://github.com/Caoxuyang/azure-docs-pr into aca/spring-boot-admin
2 parents fb38a13 + d7aaff9 commit 109479b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

articles/container-apps/java-admin-for-spring-usage.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,27 @@ az containerapp update \
6767

6868
## Dependency
6969

70-
When you use the admin component in your container app, you need to add the following dependency in your `pom.xml` file.
70+
When you use the admin component in your container app, you need to add the following dependency in your `pom.xml` file. Replace the version number with the latest version available on the [Maven Repository](https://search.maven.org/artifact/de.codecentric/spring-boot-admin-starter-client).
7171

7272
```xml
7373
<dependency>
7474
<groupId>de.codecentric</groupId>
75+
<version>3.3.2</version>
7576
<artifactId>spring-boot-admin-starter-client</artifactId>
7677
</dependency>
7778
```
7879

7980
## Configurable properties
8081

82+
Starting with Spring Boot 2, endpoints other than health and info are not exposed by default. You can expose them by adding the following configuration in your `application.properties` file.
83+
84+
```properties
85+
management.endpoints.web.exposure.include=*
86+
management.endpoint.health.show-details=always
87+
```
88+
89+
## Allowed configuration list for your Admin for Spring
90+
8191
The following list details the admin component properties you can configure for your app. You can find more details in [Spring Boot Admin](https://docs.spring-boot-admin.com/current/server.html) docs.
8292

8393
| Property name | Description | Default value |

0 commit comments

Comments
 (0)