Polish contribution

Closes gh-3936
This commit is contained in:
Stephane Nicoll 2015-09-11 16:22:03 +02:00
parent 591f016e90
commit 0d2797ddd5
6 changed files with 32 additions and 18 deletions

View File

@ -2,5 +2,8 @@
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
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`).

View File

@ -19,10 +19,6 @@
<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>
@ -31,15 +27,21 @@
<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>

View File

@ -1 +1,3 @@
spring.jpa.hibernate.ddl-auto: validate
spring.jpa.hibernate.ddl-auto=validate
spring.h2.console.enabled=true

View File

@ -2,5 +2,8 @@
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
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`).

View File

@ -19,10 +19,6 @@
<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>
@ -31,15 +27,21 @@
<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>

View File

@ -1 +1,3 @@
spring.jpa.hibernate.ddl-auto: none
spring.jpa.hibernate.ddl-auto=none
spring.h2.console.enabled=true