Merge pull request #3936 from eddumelendez/gh-3935
* pr/3936: Polish contribution Expose actuator endpoints for flyway and liquibase
This commit is contained in:
commit
93700d00de
|
|
@ -0,0 +1,9 @@
|
|||
== Spring Boot Flyway Sample
|
||||
|
||||
This sample demonstrates the flyway auto-configuration support.
|
||||
|
||||
You can look at `http//localhost:8080/flyway` to review the list of scripts.
|
||||
|
||||
This sample also enables the H2 console (at `http//localhost:8080/h2-console`)
|
||||
so that you can review the state of the database (the default jdbc url is
|
||||
`jdbc:h2:mem:testdb`).
|
||||
|
|
@ -23,15 +23,25 @@
|
|||
<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.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-actuator</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.flywaydb</groupId>
|
||||
<artifactId>flyway-core</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.hsqldb</groupId>
|
||||
<artifactId>hsqldb</artifactId>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
spring.jpa.hibernate.ddl-auto: validate
|
||||
spring.jpa.hibernate.ddl-auto=validate
|
||||
|
||||
spring.h2.console.enabled=true
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
== Spring Boot Liquibase Sample
|
||||
|
||||
This sample demonstrates the liquibase auto-configuration support.
|
||||
|
||||
You can look at `http//localhost:8080/liquibase` to review the list of scripts.
|
||||
|
||||
This sample also enables the H2 console (at `http//localhost:8080/h2-console`)
|
||||
so that you can review the state of the database (the default jdbc url is
|
||||
`jdbc:h2:mem:testdb`).
|
||||
|
|
@ -23,15 +23,25 @@
|
|||
<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.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-actuator</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.liquibase</groupId>
|
||||
<artifactId>liquibase-core</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.hsqldb</groupId>
|
||||
<artifactId>hsqldb</artifactId>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
spring.jpa.hibernate.ddl-auto: none
|
||||
spring.jpa.hibernate.ddl-auto=none
|
||||
|
||||
spring.h2.console.enabled=true
|
||||
|
|
|
|||
Loading…
Reference in New Issue