Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
b5cb0742
Commit
b5cb0742
authored
Jul 01, 2018
by
Miguel Gomes
Committed by
Stephane Nicoll
Jul 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to Liquibase 3.6.2
See gh-13625
parent
fa171671
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
1 deletion
+63
-1
LiquibaseAutoConfiguration.java
...t/autoconfigure/liquibase/LiquibaseAutoConfiguration.java
+6
-0
LiquibaseProperties.java
...ork/boot/autoconfigure/liquibase/LiquibaseProperties.java
+52
-0
pom.xml
spring-boot-project/spring-boot-dependencies/pom.xml
+1
-1
appendix-application-properties.adoc
...cs/src/main/asciidoc/appendix-application-properties.adoc
+4
-0
No files found.
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/liquibase/LiquibaseAutoConfiguration.java
View file @
b5cb0742
...
@@ -126,6 +126,12 @@ public class LiquibaseAutoConfiguration {
...
@@ -126,6 +126,12 @@ public class LiquibaseAutoConfiguration {
liquibase
.
setChangeLog
(
this
.
properties
.
getChangeLog
());
liquibase
.
setChangeLog
(
this
.
properties
.
getChangeLog
());
liquibase
.
setContexts
(
this
.
properties
.
getContexts
());
liquibase
.
setContexts
(
this
.
properties
.
getContexts
());
liquibase
.
setDefaultSchema
(
this
.
properties
.
getDefaultSchema
());
liquibase
.
setDefaultSchema
(
this
.
properties
.
getDefaultSchema
());
liquibase
.
setLiquibaseSchema
(
this
.
properties
.
getLiquibaseSchema
());
liquibase
.
setLiquibaseTablespace
(
this
.
properties
.
getLiquibaseTablespace
());
liquibase
.
setDatabaseChangeLogTable
(
this
.
properties
.
getDatabaseChangeLogTable
());
liquibase
.
setDatabaseChangeLogLockTable
(
this
.
properties
.
getDatabaseChangeLogLockTable
());
liquibase
.
setDropFirst
(
this
.
properties
.
isDropFirst
());
liquibase
.
setDropFirst
(
this
.
properties
.
isDropFirst
());
liquibase
.
setShouldRun
(
this
.
properties
.
isEnabled
());
liquibase
.
setShouldRun
(
this
.
properties
.
isEnabled
());
liquibase
.
setLabels
(
this
.
properties
.
getLabels
());
liquibase
.
setLabels
(
this
.
properties
.
getLabels
());
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/liquibase/LiquibaseProperties.java
View file @
b5cb0742
...
@@ -53,6 +53,26 @@ public class LiquibaseProperties {
...
@@ -53,6 +53,26 @@ public class LiquibaseProperties {
*/
*/
private
String
defaultSchema
;
private
String
defaultSchema
;
/**
* Schema to use for Liquibase objects.
*/
private
String
liquibaseSchema
;
/**
* Tablespace to use for Liquibase objects.
*/
private
String
liquibaseTablespace
;
/**
* Name of table to use for tracking change history.
*/
private
String
databaseChangeLogTable
;
/**
* Name of table to use for tracking concurrent Liquibase usage.
*/
private
String
databaseChangeLogLockTable
;
/**
/**
* Whether to first drop the database schema.
* Whether to first drop the database schema.
*/
*/
...
@@ -132,6 +152,38 @@ public class LiquibaseProperties {
...
@@ -132,6 +152,38 @@ public class LiquibaseProperties {
this
.
defaultSchema
=
defaultSchema
;
this
.
defaultSchema
=
defaultSchema
;
}
}
public
String
getLiquibaseSchema
()
{
return
this
.
liquibaseSchema
;
}
public
void
setLiquibaseSchema
(
String
liquibaseSchema
)
{
this
.
liquibaseSchema
=
liquibaseSchema
;
}
public
String
getLiquibaseTablespace
()
{
return
this
.
liquibaseTablespace
;
}
public
void
setLiquibaseTablespace
(
String
liquibaseTablespace
)
{
this
.
liquibaseTablespace
=
liquibaseTablespace
;
}
public
String
getDatabaseChangeLogTable
()
{
return
this
.
databaseChangeLogTable
;
}
public
void
setDatabaseChangeLogTable
(
String
databaseChangeLogTable
)
{
this
.
databaseChangeLogTable
=
databaseChangeLogTable
;
}
public
String
getDatabaseChangeLogLockTable
()
{
return
this
.
databaseChangeLogLockTable
;
}
public
void
setDatabaseChangeLogLockTable
(
String
databaseChangeLogLockTable
)
{
this
.
databaseChangeLogLockTable
=
databaseChangeLogLockTable
;
}
public
boolean
isDropFirst
()
{
public
boolean
isDropFirst
()
{
return
this
.
dropFirst
;
return
this
.
dropFirst
;
}
}
...
...
spring-boot-project/spring-boot-dependencies/pom.xml
View file @
b5cb0742
...
@@ -118,7 +118,7 @@
...
@@ -118,7 +118,7 @@
<kafka.version>
1.1.0
</kafka.version>
<kafka.version>
1.1.0
</kafka.version>
<kotlin.version>
1.2.51
</kotlin.version>
<kotlin.version>
1.2.51
</kotlin.version>
<lettuce.version>
5.1.0.M1
</lettuce.version>
<lettuce.version>
5.1.0.M1
</lettuce.version>
<liquibase.version>
3.6.
1
</liquibase.version>
<liquibase.version>
3.6.
2
</liquibase.version>
<log4j2.version>
2.11.0
</log4j2.version>
<log4j2.version>
2.11.0
</log4j2.version>
<logback.version>
1.2.3
</logback.version>
<logback.version>
1.2.3
</logback.version>
<lombok.version>
1.18.0
</lombok.version>
<lombok.version>
1.18.0
</lombok.version>
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
View file @
b5cb0742
...
@@ -566,6 +566,10 @@ content into your application. Rather, pick only the properties that you need.
...
@@ -566,6 +566,10 @@ content into your application. Rather, pick only the properties that you need.
spring.liquibase.check-change-log-location=true # Whether to check that the change log location exists.
spring.liquibase.check-change-log-location=true # Whether to check that the change log location exists.
spring.liquibase.contexts= # Comma-separated list of runtime contexts to use.
spring.liquibase.contexts= # Comma-separated list of runtime contexts to use.
spring.liquibase.default-schema= # Default database schema.
spring.liquibase.default-schema= # Default database schema.
spring.liquibase.liquibase-schema= # Schema to use for Liquibase objects.
spring.liquibase.liquibase-tablespace= # Tablespace to use for Liquibase objects.
spring.liquibase.database-change-log-table= # Name of table to use for tracking change history.
spring.liquibase.database-change-log-lock-table= # Name of table to use for tracking concurrent Liquibase usage.
spring.liquibase.drop-first=false # Whether to first drop the database schema.
spring.liquibase.drop-first=false # Whether to first drop the database schema.
spring.liquibase.enabled=true # Whether to enable Liquibase support.
spring.liquibase.enabled=true # Whether to enable Liquibase support.
spring.liquibase.labels= # Comma-separated list of runtime labels to use.
spring.liquibase.labels= # Comma-separated list of runtime labels to use.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment