Skip to content

Commit 05a2b53

Browse files
committed
Add information about /liquibase and /flyway to Actuator's docs
Closes gh-3438
1 parent 0061e84 commit 05a2b53

File tree

5 files changed

+48
-0
lines changed

5 files changed

+48
-0
lines changed

spring-boot-actuator-docs/pom.xml

+19
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
<artifactId>spring-boot-actuator</artifactId>
3131
<scope>provided</scope>
3232
</dependency>
33+
<dependency>
34+
<groupId>com.h2database</groupId>
35+
<artifactId>h2</artifactId>
36+
</dependency>
3337
<dependency>
3438
<groupId>junit</groupId>
3539
<artifactId>junit</artifactId>
@@ -40,6 +44,21 @@
4044
<artifactId>groovy-templates</artifactId>
4145
<scope>provided</scope>
4246
</dependency>
47+
<dependency>
48+
<groupId>org.flywaydb</groupId>
49+
<artifactId>flyway-core</artifactId>
50+
<scope>provided</scope>
51+
</dependency>
52+
<dependency>
53+
<groupId>org.liquibase</groupId>
54+
<artifactId>liquibase-core</artifactId>
55+
<scope>provided</scope>
56+
</dependency>
57+
<dependency>
58+
<groupId>org.springframework</groupId>
59+
<artifactId>spring-jdbc</artifactId>
60+
<scope>provided</scope>
61+
</dependency>
4362
<dependency>
4463
<groupId>org.springframework</groupId>
4564
<artifactId>spring-test</artifactId>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
=== /flyway
2+
This endpoint provides information about database migrations that have been performed
3+
by Flyway.
4+
5+
Example curl request:
6+
include::{generated}/flyway/curl-request.adoc[]
7+
8+
Example HTTP request:
9+
include::{generated}/flyway/http-request.adoc[]
10+
11+
Example HTTP response:
12+
include::{generated}/flyway/http-response.adoc[]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
=== /liquibase
2+
This endpoint provides information about database migrations that have been performed
3+
by Liquibase.
4+
5+
Example curl request:
6+
include::{generated}/liquibase/curl-request.adoc[]
7+
8+
Example HTTP request:
9+
include::{generated}/liquibase/http-request.adoc[]
10+
11+
Example HTTP response:
12+
include::{generated}/liquibase/http-response.adoc[]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
databaseChangeLog:
2+
- changeSet:
3+
id: 1
4+
author: awilkinson
5+
changes:

spring-boot-actuator-docs/src/restdoc/resources/db/migration/V1__initialize.sql

Whitespace-only changes.

0 commit comments

Comments
 (0)