Skip to content
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

Liquibase flow command (DAT-10419) #2946

Merged
merged 22 commits into from Jul 28, 2022
Merged

Liquibase flow command (DAT-10419) #2946

merged 22 commits into from Jul 28, 2022

Conversation

StevenMassaro
Copy link
Contributor

@StevenMassaro StevenMassaro commented Jun 15, 2022

Impact

  • Bug fix (non-breaking change which fixes expected existing functionality)
  • Enhancement/New feature (adds functionality without impacting existing logic)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

The liqubase-flow command and the Flow File on which it operates allows the user to place multiple commands within a single file so they can all run sequentially by typing a single command into the CLI. The flow command provides the convenience of performing all of the steps in one place.

Things to be aware of

  • Commands can no longer close the System.out stream. This could have the unintended (but positive) consequence of causing new output to appear in some commands.

Things to worry about

Additional Context

@github-actions
Copy link

github-actions bot commented Jun 15, 2022

Unit Test Results

  4 620 files  ±0    4 620 suites  ±0   37m 47s ⏱️ +22s
  4 606 tests ±0    4 391 ✔️ +4     215 💤  - 4  0 ±0 
54 444 runs  ±0  49 424 ✔️ +4  5 020 💤  - 4  0 ±0 

Results for commit 2e2cb89. ± Comparison against base commit 6ad7472.

♻️ This comment has been updated with latest results.

@kataggart kataggart added this to To Do in Conditioning++ via automation Jun 15, 2022
StevenMassaro and others added 19 commits June 16, 2022 10:19
Co-authored-by: Steven Massaro <steven.massaro.web@gmail.com>
add createIfNull(Map) method to CollectionUtil
expose separate validate() method in CommandScope
add constructor to CommandValidationException(Throwable)
do not allow individual commands to close the top-level OutputStream (System.out)
Do not create if output stream is null

DAT-10419
#3015)

Add a flow and flow.validate goal to the maven plugin. Also, add class check before casting in Main.java.
…0944) (#3103)

Add a flowCommandArguments Map to the mojo definition for flow and flow.validate maven goals. The arguments will be passed to every command that is run in flow.
@suryaaki2 suryaaki2 marked this pull request as ready for review July 28, 2022 16:01
@suryaaki2 suryaaki2 merged commit 24102a9 into master Jul 28, 2022
Conditioning++ automation moved this from To Do to Done Jul 28, 2022
@suryaaki2 suryaaki2 deleted the DAT-10419 branch July 28, 2022 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants