marklogic-community / marklogic-spring-batch

Write batch processing applications in MarkLogic
Other
8 stars 26 forks source link

Dev #286

Closed gmarintes closed 6 years ago

gmarintes commented 6 years ago

fixed buildPattern() so that EnhancedResourcesItemReader can recursively traverse a directory of files

Adding "/" (and not File.separator + "") at the end of a directory makes PathMatchingResourcePatternResolver recursively traverse directories.

Added a unit test that runs a job that imports *.txt from a directory tree.

gmarintes commented 6 years ago

Made the changes requested. EnhancedResourcesItemReaderTest now doesn't run a job to test EnhancedResourcesItemReader. Removed previous changes made to run the test job.