Expose actuator endpoints for flyway and liquibase

Update the samples to expose the relevant actuator endpoint.

Closes gh-3935
This commit is contained in:
Eddú Meléndez 2015-09-09 15:45:03 -05:00 committed by Stephane Nicoll
parent 2a779db74d
commit 591f016e90
4 changed files with 28 additions and 0 deletions

View File

@ -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

View File

@ -19,10 +19,18 @@
<main.basedir>${basedir}/../..</main.basedir>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>

View File

@ -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

View File

@ -19,10 +19,18 @@
<main.basedir>${basedir}/../..</main.basedir>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>