From d89ff8cb2816add96f63a21028c3e857be68f10f Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 19 Sep 2017 17:03:19 +0200 Subject: [PATCH] Polish sample Closes gh-10330 --- .../src/main/resources/application.properties | 3 +-- .../src/main/resources/application.properties | 2 +- spring-boot-samples/spring-boot-sample-flyway/pom.xml | 2 +- .../src/main/resources/application.properties | 2 +- spring-boot-samples/spring-boot-sample-liquibase/pom.xml | 2 +- .../src/main/resources/application.properties | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) 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 cb6c049cb0..9c3f668e0b 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 @@ -4,14 +4,13 @@ service.name=Phil # logging.level.org.springframework.security=DEBUG management.address=127.0.0.1 +endpoints.default.web.enabled=true endpoints.shutdown.enabled=true server.tomcat.basedir=target/tomcat server.tomcat.accesslog.enabled=true server.tomcat.accesslog.pattern=%h %t "%r" %s %b -security.require-ssl=false #spring.jackson.serialization.INDENT_OUTPUT=true spring.jmx.enabled=true -endpoints.default.web.enabled=true spring.jackson.serialization.write_dates_as_timestamps=false diff --git a/spring-boot-samples/spring-boot-sample-cache/src/main/resources/application.properties b/spring-boot-samples/spring-boot-sample-cache/src/main/resources/application.properties index eadb4ad661..c28a450e0e 100644 --- a/spring-boot-samples/spring-boot-sample-cache/src/main/resources/application.properties +++ b/spring-boot-samples/spring-boot-sample-cache/src/main/resources/application.properties @@ -1,4 +1,4 @@ -management.security.enabled=false +endpoints.metrics.web.enabled=true # # Infinispan configuration file location. diff --git a/spring-boot-samples/spring-boot-sample-flyway/pom.xml b/spring-boot-samples/spring-boot-sample-flyway/pom.xml index d185653a0f..587bed9b23 100644 --- a/spring-boot-samples/spring-boot-sample-flyway/pom.xml +++ b/spring-boot-samples/spring-boot-sample-flyway/pom.xml @@ -30,7 +30,7 @@ org.springframework.boot - spring-boot-actuator + spring-boot-starter-actuator org.flywaydb diff --git a/spring-boot-samples/spring-boot-sample-flyway/src/main/resources/application.properties b/spring-boot-samples/spring-boot-sample-flyway/src/main/resources/application.properties index 4c1570d1be..a84efce66e 100644 --- a/spring-boot-samples/spring-boot-sample-flyway/src/main/resources/application.properties +++ b/spring-boot-samples/spring-boot-sample-flyway/src/main/resources/application.properties @@ -1,4 +1,4 @@ -management.security.enabled=false +endpoints.flyway.web.enabled=true spring.jpa.hibernate.ddl-auto=validate diff --git a/spring-boot-samples/spring-boot-sample-liquibase/pom.xml b/spring-boot-samples/spring-boot-sample-liquibase/pom.xml index 8df79e4a87..3e25dffa9b 100644 --- a/spring-boot-samples/spring-boot-sample-liquibase/pom.xml +++ b/spring-boot-samples/spring-boot-sample-liquibase/pom.xml @@ -30,7 +30,7 @@ org.springframework.boot - spring-boot-actuator + spring-boot-starter-actuator org.liquibase diff --git a/spring-boot-samples/spring-boot-sample-liquibase/src/main/resources/application.properties b/spring-boot-samples/spring-boot-sample-liquibase/src/main/resources/application.properties index 377c41d065..5fe199af8a 100644 --- a/spring-boot-samples/spring-boot-sample-liquibase/src/main/resources/application.properties +++ b/spring-boot-samples/spring-boot-sample-liquibase/src/main/resources/application.properties @@ -1,3 +1,3 @@ -management.security.enabled=false +endpoints.liquibase.web.enabled=true spring.h2.console.enabled=true