From 591f016e900aa40d61578be41ceb5e601ee350c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edd=C3=BA=20Mel=C3=A9ndez?= Date: Wed, 9 Sep 2015 15:45:03 -0500 Subject: [PATCH] Expose actuator endpoints for flyway and liquibase Update the samples to expose the relevant actuator endpoint. Closes gh-3935 --- spring-boot-samples/spring-boot-sample-flyway/README.adoc | 6 ++++++ spring-boot-samples/spring-boot-sample-flyway/pom.xml | 8 ++++++++ .../spring-boot-sample-liquibase/README.adoc | 6 ++++++ spring-boot-samples/spring-boot-sample-liquibase/pom.xml | 8 ++++++++ 4 files changed, 28 insertions(+) create mode 100644 spring-boot-samples/spring-boot-sample-flyway/README.adoc create mode 100644 spring-boot-samples/spring-boot-sample-liquibase/README.adoc diff --git a/spring-boot-samples/spring-boot-sample-flyway/README.adoc b/spring-boot-samples/spring-boot-sample-flyway/README.adoc new file mode 100644 index 0000000000..dc419218f6 --- /dev/null +++ b/spring-boot-samples/spring-boot-sample-flyway/README.adoc @@ -0,0 +1,6 @@ +== Spring Boot Flyway Sample + +This sample demonstrates the flyway auto-configuration support. + +You can look at the `/flyway` endpoint to review the list of scripts executed. +E.g: http//localhost:8080/flyway diff --git a/spring-boot-samples/spring-boot-sample-flyway/pom.xml b/spring-boot-samples/spring-boot-sample-flyway/pom.xml index 97405d81cb..3533b7184a 100644 --- a/spring-boot-samples/spring-boot-sample-flyway/pom.xml +++ b/spring-boot-samples/spring-boot-sample-flyway/pom.xml @@ -19,10 +19,18 @@ ${basedir}/../.. + + org.springframework.boot + spring-boot-actuator + org.springframework.boot spring-boot-starter-data-jpa + + org.springframework.boot + spring-boot-starter-web + org.flywaydb flyway-core diff --git a/spring-boot-samples/spring-boot-sample-liquibase/README.adoc b/spring-boot-samples/spring-boot-sample-liquibase/README.adoc new file mode 100644 index 0000000000..736108ebd5 --- /dev/null +++ b/spring-boot-samples/spring-boot-sample-liquibase/README.adoc @@ -0,0 +1,6 @@ +== Spring Boot Liquibase Sample + +This sample demonstrates the liquibase auto-configuration support. + +You can look at the `/liquibase` endpoint to review the list of scripts executed. +E.g: http//localhost:8080/liquibase diff --git a/spring-boot-samples/spring-boot-sample-liquibase/pom.xml b/spring-boot-samples/spring-boot-sample-liquibase/pom.xml index aed22cfab3..2dbde3a327 100644 --- a/spring-boot-samples/spring-boot-sample-liquibase/pom.xml +++ b/spring-boot-samples/spring-boot-sample-liquibase/pom.xml @@ -19,10 +19,18 @@ ${basedir}/../.. + + org.springframework.boot + spring-boot-actuator + org.springframework.boot spring-boot-starter-jdbc + + org.springframework.boot + spring-boot-starter-web + org.liquibase liquibase-core