Commit Graph

331 Commits

Author SHA1 Message Date
nebhale
bfb9447d6b [BATCH-429] Moved all code out of execution 2008-03-07 16:02:22 +00:00
nebhale
c1887cdd9c [BATCH-430] Rearranged package structure to remove technical packages 2008-03-07 14:56:10 +00:00
nebhale
cce1b29f6d [BATCH-430] Renamed InfrastructureException to UnexpectedJobExecutionException 2008-03-07 14:29:51 +00:00
nebhale
609ce9d347 [BATCH-430] Removed the batch.io.exception package and moved classes to their approved locations 2008-03-07 14:18:49 +00:00
nebhale
48195945ee [BATCH-430] Incremental commit of io package moving 2008-03-07 12:55:27 +00:00
nebhale
8c2901093e [BATCH-430] Incremental commit of exception moving 2008-03-07 11:54:20 +00:00
nebhale
a60fc1e621 [BATCH-432] Polishing up exception declarations 2008-03-07 10:40:25 +00:00
nebhale
4c4a299bd6 [BATCH-432] Apparently Mylyn/Subclipse doesn't quite know what changes were actually made... 2008-03-07 10:04:13 +00:00
nebhale
fff1f0fb9e [BATCH-432] Moved the domain objects up to the root core directory 2008-03-07 09:55:04 +00:00
dsyer
dc40160583 OPEN - issue BATCH-423: SimpleExitStatusExceptionClassifier never returns a value that will result in ExitMapper.JVM_EXITCODE_JOB_ERROR
Applied patch from Doug.
2008-03-07 08:41:44 +00:00
dsyer
f5e85d5f63 Change svn:eol-style to LF 2008-03-06 21:59:13 +00:00
dsyer
ee5746a860 RESOLVED - issue BATCH-409: StatefulRetryStepFactoryBean needs to co-ordinate exception handler with retry policy
http://jira.springframework.org/browse/BATCH-409
2008-03-06 19:09:16 +00:00
dsyer
eddb4653d7 RESOLVED - issue BATCH-409: StatefulRetryStepFactoryBean needs to co-ordinate exception handler with retry policy
http://jira.springframework.org/browse/BATCH-409

Use a special exception handler that is aware of the retry.  Only works in the nested RepeatContext created by the ItemOrientedStep.
2008-03-06 19:05:19 +00:00
dsyer
ce33690a89 OPEN - issue BATCH-409: StatefulRetryStepFactoryBean needs to co-ordinate exception handler with retry policy
http://jira.springframework.org/browse/BATCH-409

Use retryLimit and exception types instead of retry policy - in the spirit of a factory bean being easy to configure for typical use cases.
2008-03-06 18:14:20 +00:00
dsyer
1a48321d37 Classpath meta data tidied 2008-03-06 17:37:31 +00:00
robokaso
7a57b634c1 RESOLVED - issue BATCH-419: JobListener and StepListener should pass in JobExecution/StepExecution in each method
http://jira.springframework.org/browse/BATCH-419

added the StepExecution argument to StepListener#onErrorInStep method

OPEN - issue BATCH-329: Make "VERSION" meaningful? 
http://jira.springframework.org/browse/BATCH-329

MapStepExecutionDao now handles version similarly to JdbcStepExecutionDao
2008-03-06 16:02:22 +00:00
robokaso
db4b121b22 RESOLVED - issue BATCH-419: JobListener and StepListener should pass in JobExecution/StepExecution in each method
http://jira.springframework.org/browse/BATCH-419

added JobExecution argument to JobListener#afterJob
2008-03-06 14:36:38 +00:00
robokaso
e20a250e14 IN PROGRESS - issue BATCH-419: JobListener and StepListener should pass in JobExecution/StepExecution in each method
http://jira.springframework.org/browse/BATCH-419

added StepExecution argument to StepListener#afterStep
2008-03-06 14:25:09 +00:00
robokaso
799cce535d RESOLVED - issue BATCH-395: Rename simple-container-definition.xml
http://jira.springframework.org/browse/BATCH-395

renamed to simple-job-launcher-context.xml and removed unused test config files from execution
2008-03-06 09:15:20 +00:00
dsyer
d2f4049627 *SynchronizerSynchronizer was still hanging around 2008-03-06 08:53:15 +00:00
dsyer
2844579dae RESOLVED - issue BATCH-421: Different set methods for listeners on implementation classes
http://jira.springframework.org/browse/BATCH-421
2008-03-06 08:20:01 +00:00
lucasward
be82769755 BATCH-418: renamed a setter on JobRegistryBeanPostProcessor that wasn't changed when Job was renamed from JobConfiguration. 2008-03-05 21:20:39 +00:00
dsyer
fcb5da0831 ItemProcessor->ItemHandler 2008-03-05 07:06:40 +00:00
dsyer
7712242e84 Rename misnamed file 2008-03-05 07:05:39 +00:00
robokaso
bf607c315e RESOLVED - issue BATCH-411: invalid blob syntax in PostgreSQL schema
http://jira.springframework.org/browse/BATCH-411
2008-03-04 16:31:24 +00:00
dsyer
6eb3ce18cb Fix thread interruption synchronization issue in CI build 2008-03-04 14:43:14 +00:00
dsyer
f73ce3553c RESOLVED - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Tidied up listener registration and integration a bit
2008-03-04 13:16:18 +00:00
robokaso
9065b6ba25 RESOLVED - issue BATCH-406: jobInstance properties lastExecution and executionCount are useless
http://jira.springframework.org/browse/BATCH-406

removed lastExecution property and createExecution method
2008-03-04 11:46:38 +00:00
dsyer
05609cc2fb RESOLVED - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404
Better name for helper method.
2008-03-04 09:47:22 +00:00
dsyer
e8da2c76f5 OPEN - issue BATCH-408: Parallel job sample is prone to OptimisticLockingException
http://jira.springframework.org/browse/BATCH-408

Use Semaphore instead of the crude synchronized block.
2008-03-04 08:37:10 +00:00
lucasward
e2094d1b2e BATCH-407:Added repository factory to samples and created a factory for incrementers for that logic to obtain them could be unit tested. Also renamed SimpelJobRepositoryFactoryBean to just JobRepositoryFactoryBean 2008-03-03 20:23:26 +00:00
dsyer
379f2fe826 RESOLVED - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

ItemProcessor -> ItemHandler.
2008-03-03 18:01:02 +00:00
dsyer
36801d7d5d OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

SPlit item processor implementations
2008-03-03 17:50:16 +00:00
nebhale
baa1acdd05 [BATCH-407] Initial (totally untested) cut of the SimpleJobRepositoryFactoryBean 2008-03-03 17:36:46 +00:00
lucasward
43de884f91 BATCH-402: Removed startLimit from Job. Also removed executionCount from JobExecution. 2008-03-03 17:15:56 +00:00
dsyer
72017cf62b OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Replace allwaysSkip=true/false with a skipLimit.
2008-03-03 17:08:32 +00:00
dsyer
32214bf20a OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404
2008-03-03 16:50:55 +00:00
dsyer
196b8547b8 OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Remove SimpleStepFactoryBean.
2008-03-03 16:16:59 +00:00
nebhale
760b0405fb [BATCH-63] Move namespace to sandbox 2008-03-03 16:06:54 +00:00
robokaso
2ee372a0b3 JobRepository#saveOrUpdate(StepExecution) now assumes JobExecution is already persisted
(true for real job run, but had to fix few unrealistic tests)
2008-03-03 16:00:10 +00:00
robokaso
c7b141d295 test coverage for repository 2008-03-03 15:19:37 +00:00
dsyer
f34a2c38df Incomplete - task 76: Concurrent modification
Improve error message when optimistic lock fails
2008-03-03 14:55:57 +00:00
dsyer
baa4f444b2 DefaultStepFactoryBean was not setting the step operations correctly 2008-03-03 12:47:09 +00:00
dsyer
212ad705a4 Increase column size for key in job instance 2008-03-03 12:16:04 +00:00
dsyer
10a8f17907 CommandLineJobRunner tests were successful for wrong reason! 2008-03-03 10:04:29 +00:00
dsyer
cb3c567966 RESOLVED - issue BATCH-231: Chunk completion policy
http://jira.springframework.org/browse/BATCH-231

Added RepeatOperationsStepFactoryBean.
2008-03-03 09:16:06 +00:00
lucasward
27933b01bc BATCH-378: Added code to ensure that afterStep is called at the correct time.
Also removed ExitStatusExceptionClassifier in favor of using the ExitStatus of the last executed StepExecution within SimpleJob
2008-03-03 05:00:35 +00:00
dsyer
36309de0d4 OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Ensure DefaultStepFactoryBean makes wrapped item reader/writer available to subclasses
2008-03-02 15:11:51 +00:00
dsyer
9667cad2bf OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404
2008-03-02 15:04:20 +00:00
dsyer
bbeeee32d3 OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Let the factory bean take care of chunk and item listener callbacks.  ItemOrientedStep is much simpler as a result.
2008-03-02 15:03:12 +00:00