-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addition of liquibase.update() Enhancement Request #1614 #1638
Addition of liquibase.update() Enhancement Request #1614 #1638
Conversation
Added `.update()` + some JavaDocs.
Hi @Betlista Here’s what happens next: A member of the Liquibase team will take a look at your contribution and may suggest:
The PR will be prioritized according to our internal development and testing capacity. We’ll let you know when it’s ready to move to the next step or if any changes are needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes, @Betlista
I hadn't originally had the no-arg update() in order to force people to be thinking about context/label usage. But, that's probably an unneeded force to think about and adding the extra function is good. The extra javadocs are good as well.
Code review and test results:
Things to be aware of:
- Adds a method we are not using, only 3rd party code
- Failure in test-harness is not related to change
Things to worry about:
- Nothing
liquibase#3277) * [DAT-11291] Adds snowflake as supported database for snapshot command. * [DAT-11291] Removes duplicated code. * [DAT-11291] Adds comment
…ta/liquibase into Betlista-fix-liquibase_update_1614
liquibase-core/src/main/java/liquibase/command/core/InternalSnapshotCommandStep.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix allows integrations to call liquibase update without requiring contexts and/or labels.
- Adds Java docs to several methods.
- Removes duplicated logUnsupportedDatabase method from SnapshotCommandStep.java, calling the method from InternalSnapshotCommand.java instead.
- Tests extended to validate communication with Hub using an update that does not pass contexts and/or labels.
- No additional testing required.
APPROVED
Note: Test failure in harness related to environment setup failure; not related to this change.
Thanks for your PR submission! We just finished reviewing and merging it into the 4.17.0 release on October 10, 2022. When you get a chance, could you please Star the Liquibase project? The star button is in the upper right corner of the screen. |
Added
.update()
Environment
Liquibase Version: 4.3.0
Liquibase Integration & Version: maven
Liquibase Extension(s) & Version: N/A
Database Vendor & Version: N/A
Operating System Type & Version: Win 10
Pull Request Type
Description
Described in issue itself.
Steps To Reproduce
Described in issue itself.
Actual Behavior
Described in issue itself.
Expected/Desired Behavior
Described in issue itself.
Screenshots (if appropriate)
N/A
Additional Context
N/A
Fast Track PR Acceptance Checklist:
Need Help?
Come chat with us on our discord channel