Commit Graph

173 Commits

Author SHA1 Message Date
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
2ac85e454b IN PROGRESS - issue BATCH-569: Add RetryOperationsInterceptor with stateful retry
Tidy up some TODOs
2008-05-11 16:45:07 +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
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
0f7b4dc6e0 IN PROGRESS - BATCH-601: Findbugs code audit 2008-04-24 15:00:43 +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
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
0c40ce5141 RESOLVED - BATCH-578: remove self-initialization from ItemReader#read() implementations 2008-04-14 09:10:17 +00:00
robokaso
70d1098844 ad-hoc try to fix the CI build (can't reproduce the failure) 2008-04-10 14:25:27 +00:00
robokaso
9937a4c703 removed temporary test suite 2008-04-10 14:19:02 +00:00
robokaso
c7d2a7e8bf RESOLVED - BATCH-396: jdbc and map daos should share tests 2008-04-10 14:07:52 +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
robokaso
e3d4186bf8 RESOLVED - BATCH-556: create common step tests
added tests for AbstractStep
2008-04-07 10:51:20 +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
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
dsyer
b050f95f03 RESOLVED - issue BATCH-537: Bad ItemKeyGenerator strategy can lead to infinite loop in retry
Some changes to account for retry exceptions and force a failure if strange hashCode/equals are detected.
2008-04-01 20:09:51 +00:00
robokaso
bff748f576 RESOLVED - issue BATCH-532: StepExecutionListener can influence exit status but not status of step execution
removed the try/catch block around listener.afterStep()
updated javadoc for StepExecutionListener#afterStep(..)
2008-04-01 11:40:59 +00:00
robokaso
7746cfc304 RESOLVED - issue BATCH-529: StepExecutionListener.afterStep() should only be called on success
RESOLVED - issue BATCH-532: StepExecutionListener can influence exit status but not status of step execution

listener.afterStep() call moved from catch block to the end of the try block
2008-04-01 11:07:53 +00:00
dsyer
565c73a5e9 [BATCH-97] Add profile to integration project to allow tests to be run.
Update wrong version on some poms (like docs).
2008-04-01 08:07:14 +00:00
robokaso
4f74d0c9f7 RESOLVED - issue BATCH-527: StepExecutionResourceProxy toString() should delegate to delegate.toString() 2008-03-31 14:05:03 +00:00
robokaso
973e146aa3 RESOLVED - issue BATCH-533: prefix in the JobRepositoryFactoryBean does not apply to the sequences 2008-03-31 12:52:44 +00:00
lucasward
c736462553 Reverted back to original prepared statement setter. The ExecutionContext wasn't doing much good in it, since other database reader changes weren't committed. However, being able to set the JobParameters still provides value for the cursor item reader. 2008-03-28 05:32:08 +00:00
dsyer
d983eba1c5 RESOLVED - issue BATCH-511: read failures cause rollback
Renamed "commit*" in StepContribution to "combine*".  Fixed broken test (forgot to combine skip counts).
2008-03-27 10:48:04 +00:00
dsyer
e46c972d8e REOPENED - issue BATCH-511: read failures cause rollback 2008-03-27 10:30:06 +00:00
dsyer
914b9f2bed REOPENED - issue BATCH-511: read failures cause rollback
Add SkipLimitExceededException to the list of fatal exceptions for the step exception handler
2008-03-27 06:41:37 +00:00
lucasward
b876649cb9 BATCH-514:Additional small refactorings on Jdbc readers. 2008-03-27 04:37:58 +00:00
robokaso
ca2db2c31a RESOLVED - issue BATCH-516: default to commitInterval=1 in SimpleStepFactoryBean
http://jira.springframework.org/browse/BATCH-516
2008-03-26 13:58:04 +00:00
robokaso
6989745c12 RESOLVED - issue BATCH-510: FlatFileItemWriter.restarted logic fails if step fails before first chunk commit.
http://jira.springframework.org/browse/BATCH-510

added initial save of execution context before first chunk
2008-03-26 09:45:07 +00:00
dsyer
f690e39440 RESOLVED - issue BATCH-513: CompositeItemReadListener, CompositeItemWriteListener using ChunkListeners?
Changed signature of methods
2008-03-26 06:41:44 +00:00
dsyer
08ceb9d962 RESOLVED - issue BATCH-498: Skip method should get ExecutionContext as an argument 2008-03-26 06:37:01 +00:00