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

Handle open of defaults file with new Resource API DAT-10444 #3127

Merged
merged 40 commits into from
Aug 8, 2022

Conversation

wwillard7800
Copy link
Contributor

DAT-10444

In order to support the ability to open defaults files that are not on the file system, we use the PathHandlerFactory to open the file, rather than directly opening it with the Java API

StevenMassaro and others added 23 commits June 15, 2022 07:58
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.
@github-actions
Copy link

github-actions bot commented Jul 28, 2022

Unit Test Results

  4 620 files  ±0    4 620 suites  ±0   33m 51s ⏱️ + 1m 23s
  4 570 tests ±0    4 351 ✔️  - 4     219 💤 +4  0 ±0 
54 060 runs  ±0  49 036 ✔️  - 4  5 024 💤 +4  0 ±0 

Results for commit a0310ae. ± Comparison against base commit 1b3a151.

♻️ This comment has been updated with latest results.

@kataggart kataggart added this to To Do in Conditioning++ via automation Jul 29, 2022
@@ -526,23 +526,25 @@ private List<ConfigurationValueProvider> registerValueProviders(String[] args) t
}

final File defaultsFile = new File(defaultsFileConfig.getValue());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this line be removed? Seems like it shouldn't be used anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I removed it.

@wwillard7800 wwillard7800 changed the base branch from master to DAT-10431 August 1, 2022 17:38
@wwillard7800 wwillard7800 changed the title Handle open of defaults file with new PathHandlerFactory.open method DAT-10444 Handle open of defaults file with new Resource API DAT-10444 Aug 3, 2022
@wwillard7800 wwillard7800 merged commit 805b3af into DAT-10431 Aug 8, 2022
Conditioning++ automation moved this from To Do to Done Aug 8, 2022
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