Commit Graph

281 Commits

Author SHA1 Message Date
robokaso
a35ad43fe7 RESOLVED - BATCH-414: consistent handling of empty input by ItemReaders
renamed listener + reused NoWorkFoundException
2008-06-30 08:16:52 +00:00
robokaso
9836517013 RESOLVED - BATCH-414: consistent handling of empty input by ItemReaders
added StepListener that detects itemCount == 0 and throws exception
2008-06-27 12:22:57 +00:00
dsyer
a78a09c55e Update home page and clearer Javadocs for CommandLineJobRunner.java 2008-06-26 15:15:15 +00:00
dsyer
80b4386c1b Upgrade to Spring 2.5.5 2008-06-24 13:40:42 +00:00
robokaso
f44e463af3 IN PROGRESS - BATCH-570: Job.getSteps() does not need to be exposed in the interface
added deprecations
2008-06-24 08:15:43 +00:00
dsyer
fd07883253 RESOLVED - issue BATCH-554: *StepFactoryBeans should have a list of exceptions that do and don't cause rollback.
Removed the list of exceptions in favour of tx attributes (use +ExceptionType in config file)
2008-06-23 13:06:07 +00:00
dsyer
991334e221 RESOLVED - issue BATCH-683: Lack of parallel support in SimpleStepFactoryBean 2008-06-23 10:56:07 +00:00
dsyer
a078199eae RESOLVED - issue BATCH-680: Allow override of Transaction Definition in get transaction in Item Oriented Step
Added transactionAttribute to ItemOrientedStep and the factory bean
2008-06-21 09:44:40 +00:00
dsyer
345e7a4b81 RESOLVED - issue BATCH-654: Transactions when commit fails 2008-06-18 10:24:18 +00:00
dsyer
ab7e4f814f Re-order status update and listener execution 2008-06-13 10:21:28 +00:00
robokaso
125d245d95 RESOLVED - BATCH-666: consolidate duplications in SimpleStepFactoryBean and RepeatOperationsStepFactoryBean
pulled up listeners
2008-06-13 09:47:34 +00:00
robokaso
567fc74779 IN PROGRESS - BATCH-666: consolidate duplications in SimpleStepFactoryBean and RepeatOperationsStepFactoryBean
BatchListenerFactoryHelper refactored as utility class - methods declared static and the class abstract
2008-06-13 09:34:10 +00:00
robokaso
d4a1e23b7e IN PROGRESS - BATCH-666: consolidate duplications in SimpleStepFactoryBean and RepeatOperationsStepFactoryBean
pulled up reader & writer registration
2008-06-13 09:10:21 +00:00
robokaso
09d681c8dc IN PROGRESS - BATCH-666: consolidate duplications in SimpleStepFactoryBean and RepeatOperationsStepFactoryBean
pulled up streams config
2008-06-13 09:04:33 +00:00
robokaso
446f55072d RESOLVED - BATCH-665: ChunkListeners are registered on stepOperations in RepeatOperationsStepFactoryBean - should be chunkOperations 2008-06-12 08:34:30 +00:00
robokaso
722c5c1f0d RESOLVED - BATCH-661: broken job interruption logic
SimpleJob now checks for interrupt before starting a step
2008-06-12 08:21:07 +00:00
robokaso
40594d75e7 RESOLVED - BATCH-660: SimpleStepFactoryBean#setExceptionHandler() not working 2008-06-11 08:51:45 +00:00
robokaso
c5992c9833 RESOLVED - BATCH-638: ItemSkipPolicyItemHandler does not count items
moved item counting in SimpleItemHandler from write(..) into handle(..) method so that it isn't overriden in subclasses + tests
2008-06-10 08:11:57 +00:00
robokaso
607865e931 minor code cleanup 2008-06-09 13:23:20 +00:00
robokaso
9eb654c790 RESOLVED - BATCH-643: Create database type of 'map' in JobRepositoryFactoryBean
created separate factory bean for repository with map daos
2008-06-09 10:51:11 +00:00
robokaso
ab4bdb1f76 removed commented junk code 2008-06-06 14:18:12 +00:00
robokaso
c2c33fc00b OPEN - BATCH-654: Transactions when commit fails
reverted the previous solution, it wouldn't really help
2008-06-06 14:06:38 +00:00
robokaso
143b1e6be0 MapStepExecutionDao was clearing only one (of two) maps on clear() 2008-06-06 13:18:26 +00:00
robokaso
61c21ed663 RESOLVED - BATCH-654: Transactions when commit fails
ItemOrientedStep now detects failed commit and dies asap instead of trying to rollback
2008-06-06 12:49:32 +00:00
dsyer
a55e488c14 RESOLVED - issue BATCH-572: Retryable exceptions cannot be skippable
* Deprecated StatefulRetryStepFactoryBean
* Added generic cache limit property to SkipLimitStepFactoryBean (replacing skipCacheLimit)
* Testing
2008-06-05 11:53:36 +00:00
dsyer
c21032332b RESOLVED - issue BATCH-541: pull commit interval from the job parameters
Added StepExecutionSimpleCompletionPolicy (a la StepExecution*) as s one-off solution to the commit interval problem initially posed
2008-06-04 11:55:22 +00:00
dsyer
90465f9ce0 OPEN - issue BATCH-541: pull commit interval from the job parameters
Move ClassPathXmlApplicationContextJobFactory implementation from samples to core.
2008-06-02 13:14:58 +00:00
robokaso
e64c3cdf1f IN PROGRESS - BATCH-505: Job-level ExecutionContext
added volatile declarations for executionContext and stepExecutions properties
2008-06-02 12:06:17 +00:00
robokaso
01c70eaff7 IN PROGRESS - BATCH-505: Job-level ExecutionContext
added javadoc for JdbcExecutionContextDao
2008-06-02 11:18:24 +00:00
robokaso
5d83928977 IN PROGRESS - BATCH-505: Job-level ExecutionContext
Added createTime to JobExecution and made startTime nullable again
2008-06-02 10:50:39 +00:00
dsyer
78c4e34b98 RESOLVED - issue BATCH-646: Step/Job Execution DAO's EXIT_MESSAGE_LENGTH change to configurable 2008-05-30 08:50:48 +00:00
dsyer
8e25342701 RESOLVED - issue BATCH-466: Allow configurable ordering of Step/JobListeners 2008-05-29 14:10:51 +00:00
dsyer
4804e7f375 Fixed spelling error (write=read!) 2008-05-27 20:53:50 +00:00
dsyer
7025ff4831 RESOLVED - issue BATCH-503: Not applying declarative transactions around repository causes unstable execution 2008-05-26 12:16:05 +00:00
robokaso
64dbeac93f IN PROGRESS - BATCH-505: Job-level ExecutionContext
repository now restores saved job context during JobExecution creation
2008-05-23 12:59:51 +00:00
dsyer
937e898d24 IN PROGRESS - issue BATCH-572: Retryable exceptions cannot be skippable
StatefulRetryStepFactoryBean functionality all moved into SkipLimitStepFactoryBean (the former should be removed). TODO: take some more care with exception types that overlap between retry / skip.
2008-05-23 12:36:46 +00:00
robokaso
fd6fad60dc IN PROGRESS - BATCH-505: Job-level ExecutionContext
JobExecutionContext is now persisted (together with StepExecutionContext) and retrieved on restart
(changed jobExecution's start time to be not null so that last execution can be always found).
2008-05-23 10:26:29 +00:00
dsyer
42d672d401 IN PROGRESS - issue BATCH-572: Retryable exceptions cannot be skippable
Modified StatefulRetryStepFactoryBean to use skip listener instead of ItemRecoverer.
2008-05-22 16:12:08 +00:00
robokaso
5b0ed9e728 IN PROGRESS - BATCH-505: Job-level ExecutionContext
cleaned up duplications
2008-05-22 12:33:37 +00:00
robokaso
f2c596e561 IN PROGRESS - BATCH-505: Job-level ExecutionContext
added TODO
2008-05-22 10:58:51 +00:00
robokaso
69d62dd9dd IN PROGRESS - BATCH-505: Job-level ExecutionContext
JobExecutionContext now works
2008-05-22 10:44:43 +00:00
robokaso
5dea8a0144 IN PROGRESS - BATCH-505: Job-level ExecutionContext
the schema change
2008-05-22 09:01:24 +00:00
robokaso
cc01a835c3 RESOLVED - BATCH-628: SimpleJob doesn't verify that the JobRepository has been set
added the check to AbstractJob, as that's where jobRepository property is set
2008-05-16 09:12:37 +00:00
robokaso
1d386ee0d2 RESOLVED - BATCH-629: CommandLineJobRunner should allow injection of JobParametersConverter 2008-05-16 08:26:40 +00:00
robokaso
307054d615 RESOLVED - BATCH-625: SkipListener#onSkipInWrite(..) called multiple times for the same item
onSkipInWrite(..) is now called immediately after it is decided item should be skipped (also updated the SkipListener javadoc).
2008-05-15 14:53:24 +00:00
robokaso
a2d92a7db0 RESOLVED - BATCH-618: DefaultJobParametersConverter does not parse parameters of type double 2008-05-14 13:15:15 +00:00
robokaso
fad3686c2d RESOLVED - BATCH-530: StepExecutionListener should get a chance to modify the execution context 2008-05-12 10:53:08 +00:00
robokaso
879b9fcb12 RESOLVED - BATCH-616: Possible overflow in exit description if a stream.open() throws exception
exit description is now truncated also on save
2008-05-12 08:48:07 +00:00
dsyer
eabac61a40 IN PROGRESS - issue BATCH-569: Add RetryOperationsInterceptor with stateful retry
Add context to retry recovery callback
2008-05-11 14:04:03 +00:00
dsyer
476b24da4d RESOLVED - issue BATCH-603: JobExecution fields could be modified in another Thread and are not volatile
Added final and volatile as appropriate in domain entities.
2008-05-09 21:25:22 +00:00