Skip to content

Commit

Permalink
Bump org.liquibase:liquibase-core from 4.28.0 to 4.29.2 (#507)
Browse files Browse the repository at this point in the history
* Bump org.liquibase:liquibase-core from 4.28.0 to 4.29.2
* Implement Change#supports(Database)
  • Loading branch information
adangel authored Sep 29, 2024
1 parent 8f3a98b commit b97f341
Show file tree
Hide file tree
Showing 13 changed files with 101 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG LIQUIBASE_VERSION=4.28.0
ARG LIQUIBASE_VERSION=4.29.2
ARG LB_PERCONA_VERSION=4.28.0
ARG PERCONA_TOOLKIT_VERSION=3.6.0

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<project.build.outputTimestamp>2024-03-28T07:01:34Z</project.build.outputTimestamp>

<java.version>1.8</java.version>
<liquibase.version>4.28.0</liquibase.version>
<liquibase.version>4.29.2</liquibase.version>
<mysql.connector.version>8.4.0</mysql.connector.version>
<mariadb.connector.version>3.3.3</mariadb.connector.version>
<percona.toolkit.version>3.6.0</percona.toolkit.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,5 +240,14 @@ public Set<String> getSerializableFields() {
public ValidationErrors validate(Database database) {
return PerconaChangeUtil.validate(super.validate(database), database);
}

@SuppressWarnings("PMD.UselessOverridingMethod")
@Override
public boolean supports(Database database) {
// just using the same logic as super; in case we don't support this change for percona,
// we'll anyway return just the original statements.
// See liquibase.change.ChangeFactory#verifySupportsMethodImplementation for the verification logic.
return super.supports(database);
}
//CPD-ON
}
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,14 @@ public Set<String> getSerializableFields() {
public ValidationErrors validate(Database database) {
return PerconaChangeUtil.validate(super.validate(database), database);
}

@SuppressWarnings("PMD.UselessOverridingMethod")
@Override
public boolean supports(Database database) {
// just using the same logic as super; in case we don't support this change for percona,
// we'll anyway return just the original statements.
// See liquibase.change.ChangeFactory#verifySupportsMethodImplementation for the verification logic.
return super.supports(database);
}
//CPD-ON
}
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,14 @@ public Set<String> getSerializableFields() {
public ValidationErrors validate(Database database) {
return PerconaChangeUtil.validate(super.validate(database), database);
}

@SuppressWarnings("PMD.UselessOverridingMethod")
@Override
public boolean supports(Database database) {
// just using the same logic as super; in case we don't support this change for percona,
// we'll anyway return just the original statements.
// See liquibase.change.ChangeFactory#verifySupportsMethodImplementation for the verification logic.
return super.supports(database);
}
//CPD-ON
}
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,14 @@ public Set<String> getSerializableFields() {
public ValidationErrors validate(Database database) {
return PerconaChangeUtil.validate(super.validate(database), database);
}

@SuppressWarnings("PMD.UselessOverridingMethod")
@Override
public boolean supports(Database database) {
// just using the same logic as super; in case we don't support this change for percona,
// we'll anyway return just the original statements.
// See liquibase.change.ChangeFactory#verifySupportsMethodImplementation for the verification logic.
return super.supports(database);
}
//CPD-ON
}
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,14 @@ public Set<String> getSerializableFields() {
public ValidationErrors validate(Database database) {
return PerconaChangeUtil.validate(super.validate(database), database);
}

@SuppressWarnings("PMD.UselessOverridingMethod")
@Override
public boolean supports(Database database) {
// just using the same logic as super; in case we don't support this change for percona,
// we'll anyway return just the original statements.
// See liquibase.change.ChangeFactory#verifySupportsMethodImplementation for the verification logic.
return super.supports(database);
}
//CPD-ON
}
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,14 @@ public Set<String> getSerializableFields() {
public ValidationErrors validate(Database database) {
return PerconaChangeUtil.validate(super.validate(database), database);
}

@SuppressWarnings("PMD.UselessOverridingMethod")
@Override
public boolean supports(Database database) {
// just using the same logic as super; in case we don't support this change for percona,
// we'll anyway return just the original statements.
// See liquibase.change.ChangeFactory#verifySupportsMethodImplementation for the verification logic.
return super.supports(database);
}
//CPD-ON
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,14 @@ public Set<String> getSerializableFields() {
public ValidationErrors validate(Database database) {
return PerconaChangeUtil.validate(super.validate(database), database);
}

@SuppressWarnings("PMD.UselessOverridingMethod")
@Override
public boolean supports(Database database) {
// just using the same logic as super; in case we don't support this change for percona,
// we'll anyway return just the original statements.
// See liquibase.change.ChangeFactory#verifySupportsMethodImplementation for the verification logic.
return super.supports(database);
}
//CPD-ON
}
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,14 @@ public Set<String> getSerializableFields() {
public ValidationErrors validate(Database database) {
return PerconaChangeUtil.validate(super.validate(database), database);
}

@SuppressWarnings("PMD.UselessOverridingMethod")
@Override
public boolean supports(Database database) {
// just using the same logic as super; in case we don't support this change for percona,
// we'll anyway return just the original statements.
// See liquibase.change.ChangeFactory#verifySupportsMethodImplementation for the verification logic.
return super.supports(database);
}
//CPD-ON
}
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,14 @@ public Set<String> getSerializableFields() {
public ValidationErrors validate(Database database) {
return PerconaChangeUtil.validate(super.validate(database), database);
}

@SuppressWarnings("PMD.UselessOverridingMethod")
@Override
public boolean supports(Database database) {
// just using the same logic as super; in case we don't support this change for percona,
// we'll anyway return just the original statements.
// See liquibase.change.ChangeFactory#verifySupportsMethodImplementation for the verification logic.
return super.supports(database);
}
//CPD-ON
}
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,14 @@ public Set<String> getSerializableFields() {
public ValidationErrors validate(Database database) {
return PerconaChangeUtil.validate(super.validate(database), database);
}

@SuppressWarnings("PMD.UselessOverridingMethod")
@Override
public boolean supports(Database database) {
// just using the same logic as super; in case we don't support this change for percona,
// we'll anyway return just the original statements.
// See liquibase.change.ChangeFactory#verifySupportsMethodImplementation for the verification logic.
return super.supports(database);
}
//CPD-ON
}
9 changes: 9 additions & 0 deletions src/main/java/liquibase/ext/percona/PerconaRawSQLChange.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,5 +206,14 @@ public Set<String> getSerializableFields() {
public ValidationErrors validate(Database database) {
return PerconaChangeUtil.validate(super.validate(database), database);
}

@SuppressWarnings("PMD.UselessOverridingMethod")
@Override
public boolean supports(Database database) {
// just using the same logic as super; in case we don't support this change for percona,
// we'll anyway return just the original statements.
// See liquibase.change.ChangeFactory#verifySupportsMethodImplementation for the verification logic.
return super.supports(database);
}
//CPD-ON
}

0 comments on commit b97f341

Please sign in to comment.