Commit Graph

264 Commits

Author SHA1 Message Date
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
dsyer
a0b7049867 OPEN - issue BATCH-569: Add RetryOperationsInterceptor with stateful retry
Refactored ItemWriterRetry* to be less dependent on Item* interfaces.  Added StatefulRetryOperationsInterceptor.
2008-05-09 20:59:59 +00:00
robokaso
a81af93e52 RESOLVED - BATCH-614: pull properties from SimpleJob to AbstractJob 2008-05-07 09:00:36 +00:00
robokaso
b684aab2db RESOLVED - BATCH-608: JobExecutionListener.onInterrupt() is never called by spring batch framework 2008-05-05 08:45:12 +00:00
robokaso
43b9240241 fix for 1.4 build 2008-05-02 10:05:58 +00:00
robokaso
642375e4e7 OPEN - BATCH-554: *StepFactoryBeans should have a list of exceptions that do and don't cause rollback.
renamed txValidExceptionClasses to noRollbackForExceptionClasses
2008-04-30 14:18:03 +00:00
robokaso
5d60375e1a OPEN - BATCH-550: Add skipCount in BATCH_STEP_EXECUTION table
rollback count made persistent
2008-04-30 13:16:16 +00:00
robokaso
0396023d33 OPEN - BATCH-550: Add skipCount in BATCH_STEP_EXECUTION table
added readSkipCount and writeSkipCount to StepExecution class and db table
2008-04-30 12:59:17 +00:00
robokaso
471948a824 javadoc fix (task -> item) 2008-04-29 14:26:44 +00:00
robokaso
c944b66195 OPEN - BATCH-554: *StepFactoryBeans should have a list of exceptions that do and don't cause rollback.
added txValidExceptionClasses property to SkipLimitStepFactoryBean (passed to ItemSkipPolicyItemHandler#doNotRethrowExceptionClasses)
2008-04-29 10:32:44 +00:00
robokaso
203f4a0e4d RESOLVED - BATCH-29: All domain entities and scoping abstractions (RepeatContext in particular) need to be Serializable 2008-04-28 14:15:19 +00:00
robokaso
58375f3198 RESOLVED - BATCH-571: Remove reference to Step from StepExecution and reference to Job from JobInstance
JobInstance's reference to Job replaced with jobName string
2008-04-28 12:09:54 +00:00
robokaso
6ca877c1d9 IN PROGRESS - BATCH-571: Remove reference to Step from StepExecution
step reference replaced with stepName string
2008-04-28 11:41:31 +00:00
lucasward
66e91b0dbe BATCH-604:JdbcStepExecutionDao will now deserialize object correctly. 2008-04-25 20:13:31 +00:00
robokaso
8f90970a08 IN PROGRESS - BATCH-601: Findbugs code audit 2008-04-24 14:23:42 +00:00
robokaso
75111fbe01 RESOLVED - BATCH-595: Incorrect JDBC type for job parameters of long type
used Types.BIGINT instead of Types.INTEGER for Long values
2008-04-22 11:24:49 +00:00
robokaso
91e5467279 IN PROGRESS - BATCH-85: Many warnings in Javadocs (e.g. missing links and parameter names)
cleaned up the core module
2008-04-22 08:16:20 +00:00
robokaso
73227ce6e6 updated out-of-date javadocs 2008-04-16 14:26:17 +00:00