Commit Graph

247 Commits

Author SHA1 Message Date
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
robokaso
f9d97f5a3b RESOLVED - BATCH-589: StepExecutionResourceProxy's toString() leads to NPE
toString returns filePattern if delegate is null
2008-04-16 13:14:00 +00:00
robokaso
3d30a64f0b RESOLVED - BATCH-589: StepExecutionResourceProxy's toString() leads to NPE
added assertion delegate is not null in toString (similar to other methods) and removed the toString usage in FlatFileItemReader#setResource
2008-04-16 08:09:50 +00:00
dsyer
eb518799cf Remove use of deprecated constructor 2008-04-11 07:04:33 +00:00
robokaso
c7d2a7e8bf RESOLVED - BATCH-396: jdbc and map daos should share tests 2008-04-10 14:07:52 +00:00
dsyer
3e787fb680 Tidied up javadocs in UnexpecteJobExecutionException and deprecated less informative constructors. 2008-04-10 08:52:00 +00:00
lucasward
58448aa23b BATCH-553:Added a protected getter for ChunkOperations to SimpleStepFactoryBean 2008-04-09 03:53:48 +00:00
lucasward
3edc30eec6 BATCH-531: Moved item count increment from Step to ItemHandler so that the last call to ItemReader#read() doesn't inadvertently increment the count. Also added a test case. 2008-04-09 03:38:27 +00:00
dsyer
b0ba064247 RESOLVED - issue BATCH-565: StatefulRetryStepFactoryBean ignores skip configuration
Added additional protected getter so the skip policy can be determined from base class
2008-04-07 10:39:38 +00:00
dsyer
cbd12f3fa0 RESOLVED - issue BATCH-564: CompositeSkipListener has method from StepExecutionListener 2008-04-07 09:40:53 +00:00
robokaso
d6c79227e7 RESOLVED - BATCH-558: TaskletAdapter still maps to CONTINUABLE by default
updated javadoc
2008-04-07 08:24:26 +00:00
robokaso
4a1fb49053 RESOLVED - BATCH-558: TaskletAdapter still maps to CONTINUABLE by default
changed the default return value to ExitStatus.FINISHED
2008-04-07 08:19:22 +00:00
dsyer
7dcda664c3 RESOLVED - issue BATCH-546: pull duplicates from TaskletStep and ItemOrientedStep into AbstractStep
Tidied up by changing visibility of some methods and fields.
2008-04-04 16:54:29 +00:00
robokaso
9a222286b8 RESOLVED - issue BATCH-546: pull duplicates from TaskletStep and ItemOrientedStep into AbstractStep 2008-04-04 14:57:27 +00:00
robokaso
1b659fe744 IN PROGRESS - issue BATCH-546: pull duplicates from TaskletStep and ItemOrientedStep into AbstractStep
pulled up jobRepository property
2008-04-03 11:23:21 +00:00
dsyer
4ce2a39f30 RESOLVED - issue BATCH-551: Put some checks in skip so that poor key generation algorithms do not cause weird looking failures.
Added skipCacheCapacity as configurable for skip limit factory bean.
2008-04-03 11:09:13 +00:00
robokaso
986baed232 IN PROGRESS - issue BATCH-546: pull duplicates from TaskletStep and ItemOrientedStep into AbstractStep
pulled up listener registration to AbstractStep
2008-04-03 09:08:41 +00:00
robokaso
27ce423bea RESOLVED - issue BATCH-542: StatefulRetryStepFactoryBean still uses a local variable that refers to item provider 2008-04-02 08:18:42 +00:00