Commit Graph

334 Commits

Author SHA1 Message Date
dsyer
f465958379 Add dynamic check for expected size (fix build?) 2009-08-22 11:46:45 +00:00
dsyer
150fff9f41 Add sample for jdbc paging reader 2009-08-22 11:20:38 +00:00
dsyer
5bc4040efd RESOLVED - issue BATCH-1336: Add -restart and -next options to CommandLineJobRunner 2009-07-16 07:13:40 +00:00
dhgarrette
b06a6d86d6 BATCH-1313 & BATCH-1314:
*Added assertion to AbstractBatchLauncherTests to ensure that the job's status is COMPLETED.
 *Fixed broken tests.
2009-06-28 16:12:50 +00:00
dsyer
3a25f23218 BATCH-1209: add a Groovy job in samples using AntBuilder to do some file schlepping 2009-06-16 07:49:49 +00:00
dhgarrette
d035f14f3a BATCH-1225: uncomment assertion that was failing due to the bug 2009-05-29 21:58:41 +00:00
dsyer
4441df3b63 Add simple placeholder test with method invoking tasklet 2009-05-28 12:25:04 +00:00
dsyer
ffaef35e34 switch over to Maven Central style dependencies 2009-05-28 11:56:48 +00:00
dhgarrette
bf2d9af030 BATCH-1247: Clean up multilineOrderJob sample 2009-05-22 06:13:28 +00:00
dhgarrette
9bdfdcbc43 BATCH-1213: Defaults in xsd override parent attributes
*Introduced CoreNamespacePostProcessor to handle injection of JobRepository and TransactionManager onto jobs and steps defined using the namespace.
 *Introduced JobParserJobFactoryBean used to instantiate a FlowJob via the namespace.
 *Modified defaulting behavior of jobRepository attribute.  Job's jobRepository now always overrides the Step's.
2009-05-18 23:54:18 +00:00
dsyer
847049eb52 Wait a bit to give jobs a chance to start (broken build fixed?) 2009-05-06 19:33:08 +00:00
dhgarrette
2a3dd2aca7 BATCH-1225: Created "Restart File Sample" to demonstrate the restart capability of the FlatFileItemReader and FlatFileItemWriter. 2009-05-01 19:13:29 +00:00
dsyer
d8c0d33e95 Fix samples command line launchers so they work with m2eclipse 2009-04-22 06:34:08 +00:00
dsyer
945c0d91df BATCH-1095, BATCH-1174: Late binding of jobParameters does not work if late binding expression is not preceded or trailed by string 2009-03-25 09:15:02 +00:00
dsyer
56de18f884 RESOLVED - issue BATCH-1171: Interrupted step does not fail job.
Added check for STOPPED status in AbstractJob.
2009-03-23 10:52:55 +00:00
dsyer
93b3bde99b RESOLVED: BATCH-1100. Change retry/skip logic to be more efficient (and limit to single-threaded readers) 2009-03-19 06:52:53 +00:00
dhgarrette
9e35519672 RESOLVED - BATCH-1147:
*Fixed SimpleChunkProcessor so that the filter count is applied correctly
 *Updated SimpleChunkProcessorTests and CustomerFilterJobFunctionalTests to check the filter count.
2009-03-13 17:26:50 +00:00
dhgarrette
a273055e9f BATCH-1135: Create top-level element <step-listener/> 2009-03-11 20:47:24 +00:00
dhgarrette
aaeeb74092 BATCH-1132:
*Updated parsers to handle 'parent' attribute of <step/>.
 *Attribute "parent" can be used on standalone and inline step declaration as well as with the 'tasklet' attribute.
 *To be consistent with treatment of listeners and tasklets, 'parent' can't be combined with 'ref' on <step/>.
2009-03-11 18:22:59 +00:00
dhgarrette
ae808ede21 BATCH-1128: Updated FaultTolerantChunkProcessor's recovery procedure so that StepExecution.writeCount is not updated during throttling because writes will be rolled back. 2009-03-09 06:08:39 +00:00
dsyer
8bd116006c RESOLVED - issue BATCH-1102: Classes with "listener" annotations should be auto-registered
Added convenience methods to *ListenerFactoryBean and then used in *StepFactoryBean
2009-02-25 16:03:39 +00:00
dsyer
044a91eddf BATCH-1103: Added partitioning sample 2009-02-25 12:31:13 +00:00
dhgarrette
e0c30c26c1 BATCH-1100: moved state data update to @AfterWrite method 2009-02-24 19:01:13 +00:00
dhgarrette
0a49194ad4 BATCH-1100: enhanced sample to show more complex use case. the test has some assertions commented out because of the bug referenced in this issue. 2009-02-24 16:49:46 +00:00
dsyer
b5450ddc67 RESOLVED - issue BATCH-1093: Make AbstractJobTests.makeUniqueJobParameters() public
RESOLVED - issue BATCH-1096: Add late binding to some io samples 
RESOLVED - issue BATCH-1087: ClassPathXmlJobRegistry does not accept patterns for resources 
RESOLVED - BATCH-1098: added test for @AfterWrite in FaultTolerantChinkProcessorTests
2009-02-24 15:34:49 +00:00
dhgarrette
753bda60df BATCH-1099: added totalAmount variable to SkipSample 2009-02-24 15:32:01 +00:00
dhgarrette
164ce4f60d Changed SkipCheckingListener to use annotations instead of interface. 2009-02-18 20:48:52 +00:00
dsyer
365fd46744 RESOLVED - issue BATCH-1011: Need distinction between "stop" and "end" transitions?
Push JobExecution status update out of the EndState and back into FlowJob (via FlowExecutor).
2009-02-17 13:11:33 +00:00
dsyer
7533f90480 BATCH-1011: Refactor BatchStatus again so that FAILED has the same meaning as before (1.1.x etc.) and ABANDONED is introduced to signify a step that failed but does not need to be replayed on restart (formerly known as INCOMPLETE). 2009-02-15 10:59:44 +00:00
dhgarrette
fa56955f8d BATCH-1064: Changed BatchStatus.FAILED to BatchStatus.INCOMPLETE where necessary 2009-02-14 19:34:51 +00:00
dhgarrette
b04841548e BATCH-1064: Switched the semantics of INCOMPLETE and FAILED. Combined INCOMPLETE with STOPPED. INCOMPLETE jobs and steps can be restarted while COMPLETED and FAILED jobs and steps cannot. 2009-02-13 06:12:28 +00:00
dsyer
ed60703fdf More tooling tweaks for namespace 2009-02-05 07:50:23 +00:00
dhgarrette
18f7870ba2 BATCH-1033: Created PrefixMatchingCompositeLineMapper and reorganized PrefixMatchingCompositeLineTokenizer so that its lookup functionality could be reused. Also updated the multiRecordType sample by removing PrefixMatchingCompositeFieldSetMapper in favor of the new class. 2009-01-28 05:00:06 +00:00
dhgarrette
cf39e049c0 BATCH-960: Removed unnecessary test classes 2009-01-27 20:54:28 +00:00
dhgarrette
459f7d575d Uncommenting code that was breaking due to BATCH-1004 2009-01-27 19:32:56 +00:00
robokaso
f4fa341233 RESOLVED - BATCH-1026: Rename ExitStatus.FINISHED to ExitStatus.COMPLETED 2009-01-27 11:38:26 +00:00
robokaso
c3a9a95a9e RESOLVED - BATCH-1021: AssertFile.assertFileEquals(File,File) parameters in the wrong order
applied patch
2009-01-26 15:12:46 +00:00
robokaso
c1bf75731f RESOLVED - BATCH-1020: Create Loop Flow Sample
applied patch
2009-01-26 15:00:37 +00:00
robokaso
d09691aad2 RESOLVED - BATCH-1016: Create listener to promote items from Step ExecutionContext to Job ExecutionContext
applied patch and added unit test in core
2009-01-26 11:11:59 +00:00
trisberg
b0f182e951 BATCH-982: applied BATCH-982-B.patch to update samples to use the batch namespace 2009-01-23 16:43:10 +00:00
robokaso
c08bdad717 OPEN - BATCH-999: JobExecution ExecutionContext should not be persisted by Step?
distinguish between save and update in ExecutionContextDao interface
initially save EC together with the execution it belongs to
2009-01-20 13:32:14 +00:00
robokaso
8e41bc5603 RESOLVED - BATCH-952: StagingItemReader is not restartable
introduced ProcessIndicatorItemWrapper (includes id) and StagingItemProcessor (marks processed inputs) to achieve restartability for parallelJob
2009-01-15 12:06:51 +00:00
dsyer
f8a69a083b Tidy imports 2009-01-02 16:04:40 +00:00
dsyer
bd3ab51c60 Tweak the JobOperator slightly and add Javadocs. 2008-12-31 16:23:11 +00:00
dsyer
d8c3020176 Add @Transactional to SimpleJobRepostory.stop() 2008-12-31 07:29:23 +00:00
dsyer
f6131a0f40 BATCH-941: Applied patch 2008-12-30 17:42:48 +00:00
dsyer
7d7480578d RESOLVED - issue BATCH-920, BATCH-974: ChunkContext in StepContextRepeatCallback is unused 2008-12-30 13:40:18 +00:00
robokaso
dcb5111b70 RESOLVED - BATCH-971: add database writers to iosample
JPA iosample
2008-12-18 10:42:46 +00:00
robokaso
194cc1db69 IN PROGRESS - BATCH-971: add database writers to iosample
migrate ibatisJob to iosamples
fixed AbstractPagingItemReader to reset its state on close()
2008-12-17 16:31:13 +00:00
robokaso
c98903793a IN PROGRESS - BATCH-971: add database writers to iosample
cleanup
2008-12-17 14:07:44 +00:00