mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Expose actuator endpoints for flyway and liquibase
Update the samples to expose the relevant actuator endpoint. Closes gh-3935
This commit is contained in:
parent
2a779db74d
commit
591f016e90
@ -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
|
@ -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>
|
||||
|
@ -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
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user