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

general changes to support flow file validation (DAT-10588) #2986

Merged
merged 5 commits into from Jun 22, 2022

Conversation

StevenMassaro
Copy link
Contributor

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

  • add createIfNull(Map) method to CollectionUtil
  • expose separate validate() method in CommandScope
  • add constructor to CommandValidationException(Throwable)

Things to be aware of

Things to worry about

Additional Context

@StevenMassaro StevenMassaro changed the title Dat 10588 general changes to support flow file validation (DAT-10588) Jun 21, 2022
@github-actions
Copy link

github-actions bot commented Jun 21, 2022

Unit Test Results

  4 548 files  ±0    4 548 suites  ±0   31m 15s ⏱️ - 2m 59s
  4 508 tests ±0    4 290 ✔️ ±0     218 💤 ±0  0 ±0 
53 376 runs  ±0  48 364 ✔️ ±0  5 012 💤 ±0  0 ±0 

Results for commit 09289a6. ± Comparison against base commit 0f32b7b.

♻️ This comment has been updated with latest results.

@kataggart kataggart added this to To Do in Conditioning++ via automation Jun 22, 2022
Base automatically changed from DAT-10586 to DAT-10419 June 22, 2022 16:19
@StevenMassaro StevenMassaro merged commit 5aacdb4 into DAT-10419 Jun 22, 2022
Conditioning++ automation moved this from To Do to Done Jun 22, 2022
@StevenMassaro StevenMassaro deleted the DAT-10588 branch June 22, 2022 16:22
suryaaki2 added a commit that referenced this pull request Jul 28, 2022
* make base license message public (DAT-10584) (#2941)

* make BASE_INVALID_LICENSE_MESSAGE variable private

* Added testing framework modifications for flow DAT 10586 (#2981)

Co-authored-by: Steven Massaro <steven.massaro.web@gmail.com>

* general changes to support flow file validation (DAT-10588) (#2986)

add createIfNull(Map) method to CollectionUtil
expose separate validate() method in CommandScope
add constructor to CommandValidationException(Throwable)

* do not allow commands to close the top level output stream

* create the UnclosableOutputStream in the setOutput method

* Sonar lint cleanup

* Moved UnclosableOutputStream class into CommandScope and made it private
Do not create if output stream is null

DAT-10419

* add liquibase flow and flow.validate goals to maven plugin (DAT-10576) (#3015)

Add a flow and flow.validate goal to the maven plugin. Also, add class check before casting in Main.java.

* allow passing any arguments to flow commands from maven plugin (DAT-10944) (#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.

Co-authored-by: Wesley willard <wwillard@austin.rr.com>
Co-authored-by: Wesley Willard <wwillard@datical.com>
Co-authored-by: suryaaki2 <80348493+suryaaki2@users.noreply.github.com>
wwillard7800 added a commit that referenced this pull request Aug 8, 2022
* make base license message public (DAT-10584) (#2941)

* make BASE_INVALID_LICENSE_MESSAGE variable private

* Added testing framework modifications for flow DAT 10586 (#2981)

Co-authored-by: Steven Massaro <steven.massaro.web@gmail.com>

* general changes to support flow file validation (DAT-10588) (#2986)

add createIfNull(Map) method to CollectionUtil
expose separate validate() method in CommandScope
add constructor to CommandValidationException(Throwable)

* do not allow commands to close the top level output stream

* create the UnclosableOutputStream in the setOutput method

* Sonar lint cleanup

* Moved UnclosableOutputStream class into CommandScope and made it private
Do not create if output stream is null

DAT-10419

* add liquibase flow and flow.validate goals to maven plugin (DAT-10576) (#3015)

Add a flow and flow.validate goal to the maven plugin. Also, add class check before casting in Main.java.

* Handle open of defaults file with new PathHandlerFactory.open method

DAT-10444

* allow passing any arguments to flow commands from maven plugin (DAT-10944) (#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.

* Remove unused line of code

DAT-10444

* Fix build issue

DAT-10444

* Use different constructor for SearchPathResourceAcessor to avoid using
previous searchPath setting

DAT-10772

* WIP

* Remove unintentionally committed file DAT-10444

Co-authored-by: Steven Massaro <steven.massaro.web@gmail.com>
Co-authored-by: suryaaki2 <80348493+suryaaki2@users.noreply.github.com>
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

2 participants