From 4f76a560b8030f6ce20d930dd5c4a47212885b71 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 31 Jul 2017 08:46:54 +0100 Subject: [PATCH] Fix the Actuator sample --- spring-boot-samples/spring-boot-sample-actuator/pom.xml | 4 ++-- .../src/main/resources/application.properties | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/spring-boot-samples/spring-boot-sample-actuator/pom.xml b/spring-boot-samples/spring-boot-sample-actuator/pom.xml index c4986e8817..70617a2f62 100644 --- a/spring-boot-samples/spring-boot-sample-actuator/pom.xml +++ b/spring-boot-samples/spring-boot-sample-actuator/pom.xml @@ -28,10 +28,10 @@ org.springframework.boot spring-boot-starter-web - + org.springframework.boot spring-boot-starter-jdbc diff --git a/spring-boot-samples/spring-boot-sample-actuator/src/main/resources/application.properties b/spring-boot-samples/spring-boot-sample-actuator/src/main/resources/application.properties index 658611baf0..67808f3e54 100644 --- a/spring-boot-samples/spring-boot-sample-actuator/src/main/resources/application.properties +++ b/spring-boot-samples/spring-boot-sample-actuator/src/main/resources/application.properties @@ -1,7 +1,6 @@ # logging.file=/tmp/logs/app.log # logging.level.org.springframework.security=DEBUG management.address=127.0.0.1 -management.context-path=/ management.info.build.mode=full @@ -19,6 +18,3 @@ spring.jackson.serialization.write_dates_as_timestamps=false management.trace.include=REQUEST_HEADERS,RESPONSE_HEADERS,ERRORS,PATH_INFO,\ PATH_TRANSLATED,CONTEXT_PATH,USER_PRINCIPAL,PARAMETERS,QUERY_STRING,AUTH_TYPE,\ REMOTE_ADDRESS,SESSION_ID,REMOTE_USER - -management.security.enabled = false -