Skip to content

Commit 4f76a56

Browse files
committed
Fix the Actuator sample
1 parent f7c0709 commit 4f76a56

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

spring-boot-samples/spring-boot-sample-actuator/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
<groupId>org.springframework.boot</groupId>
2929
<artifactId>spring-boot-starter-web</artifactId>
3030
</dependency>
31-
<!-- <dependency>
31+
<dependency>
3232
<groupId>org.springframework.boot</groupId>
3333
<artifactId>spring-boot-starter-security</artifactId>
34-
</dependency> -->
34+
</dependency>
3535
<dependency>
3636
<groupId>org.springframework.boot</groupId>
3737
<artifactId>spring-boot-starter-jdbc</artifactId>

spring-boot-samples/spring-boot-sample-actuator/src/main/resources/application.properties

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# logging.file=/tmp/logs/app.log
22
# logging.level.org.springframework.security=DEBUG
33
management.address=127.0.0.1
4-
management.context-path=/
54

65
management.info.build.mode=full
76

@@ -19,6 +18,3 @@ spring.jackson.serialization.write_dates_as_timestamps=false
1918
management.trace.include=REQUEST_HEADERS,RESPONSE_HEADERS,ERRORS,PATH_INFO,\
2019
PATH_TRANSLATED,CONTEXT_PATH,USER_PRINCIPAL,PARAMETERS,QUERY_STRING,AUTH_TYPE,\
2120
REMOTE_ADDRESS,SESSION_ID,REMOTE_USER
22-
23-
management.security.enabled = false
24-

0 commit comments

Comments
 (0)