Recursively traverse a directory for files
sastafford opened this issue · comments
Scott Stafford commented
As a developer
I want the EnhancedResourcesItemReader to "Recursively traverse a directory to read in files"
So that I can read all the subfolders under a directory.
Note that this should be the default behavior for this ItemReader.
Need to modify the EnhancedResourcesItemReader to recursively traverse a directory of files. Currently it will only read the files in the top level directory.
Make sure to create a test for this new capability.
Existing test class: EnhancedResourcesItemReaderTest.java
User the MapFileVisitor to traverse the directory
Make sure the test class is using the TemporaryFolder feature of JUnit.
Glenn Marintes commented
Working on this.