|
|
|
@ -22,6 +22,7 @@ import java.util.Map;
|
|
|
|
|
import liquibase.integration.spring.SpringLiquibase;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
|
import org.springframework.boot.context.properties.DeprecatedConfigurationProperty;
|
|
|
|
|
import org.springframework.util.Assert;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -111,7 +112,7 @@ public class LiquibaseProperties {
|
|
|
|
|
/**
|
|
|
|
|
* Comma-separated list of runtime labels to use.
|
|
|
|
|
*/
|
|
|
|
|
private String labels;
|
|
|
|
|
private String labelFilter;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Change log parameters.
|
|
|
|
@ -248,12 +249,23 @@ public class LiquibaseProperties {
|
|
|
|
|
this.url = url;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getLabelFilter() {
|
|
|
|
|
return this.labelFilter;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setLabelFilter(String labelFilter) {
|
|
|
|
|
this.labelFilter = labelFilter;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "spring.liquibase.label-filter")
|
|
|
|
|
public String getLabels() {
|
|
|
|
|
return this.labels;
|
|
|
|
|
return getLabelFilter();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
|
public void setLabels(String labels) {
|
|
|
|
|
this.labels = labels;
|
|
|
|
|
setLabelFilter(labels);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Map<String, String> getParameters() {
|
|
|
|
|