-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve snapshot extensibility for NoSQL databases (#5619)
* Introduce generic supports and deprecate other support methods * Bypass generators when database does not support the capability * Do not include unsupported types of snapshot objects * Rewrite chain snapshot to actually invoke the whole chain * Throw if snapshot object has been re-instantiated That way, snapshot generators are strongly advised to add to existing snapshot instances, instead of creating new ones. For built-in generators that do not comply to this, the only option is to replace them, as suggested by the error message. * Fix HSQL schema support * Delegate to super for MySQL * Rewrite test with more accurate assertions The only difference with before is that Schema gets filtered out since MySQL does not support it. * Add coverage for snapshot generator chain * Allow null database * Reinstate null check * Add missing super calls for supports * fix: firebird workaround + sonar * fix: this validation breaks function snapshot capabilities * Revert "fix: this validation breaks function snapshot capabilities" This reverts commit 317c141. --------- Co-authored-by: filipe <flautert@liquibase.org> Co-authored-by: rberezen <ruslan.berezenskyi@gmail.com>
- Loading branch information
1 parent
58e9c3d
commit 2b1c363
Showing
58 changed files
with
705 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.