Commit Graph

175 Commits

Author SHA1 Message Date
nebhale
1d581663c2 [maven-release-plugin] prepare for next development iteration 2007-12-05 13:02:00 +00:00
nebhale
a0f7d3964a [maven-release-plugin] prepare release spring-batch-1.0.0.m3 2007-12-05 13:01:44 +00:00
nebhale
097ce6c296 Rolled back the M3 release. Need to remove branding from one of the samples 2007-12-05 11:55:41 +00:00
nebhale
9eef9f926d [maven-release-plugin] prepare for next development iteration 2007-12-04 21:57:07 +00:00
nebhale
84b202744f [maven-release-plugin] prepare release spring-batch-1.0.0-m3 2007-12-04 21:56:52 +00:00
nebhale
34b0ca7a23 [BATCH-246] Adjusted relative path to the parent POM 2007-12-04 12:07:17 +00:00
dsyer
5e5d880247 Complete - JMX demo with statistics / execution update 2007-12-04 10:58:39 +00:00
dsyer
f4504b070e IN PROGRESS - issue BATCH-244: Repeated processing of items does not work
http://opensource.atlassian.com/projects/spring/browse/BATCH-244

Fixed bug in ResourceLinereader that causes first chunk to be lost if it fails.
2007-12-04 09:15:21 +00:00
dsyer
42a0c6e25f RESOLVED - issue BATCH-245: make BeanRefContext.xml location configurable
http://opensource.atlassian.com/projects/spring/browse/BATCH-245
2007-12-04 07:40:13 +00:00
nebhale
246e952dde [BATCH-235] Created a parent POM to remove cycle in assembly creation 2007-12-03 15:55:28 +00:00
nebhale
116d6e7416 [BATCH-235] Updating the POMs to use the modular spring jars. Also a little polishing of the launch profiles. 2007-11-30 12:24:10 +00:00
dsyer
7d8abccc0e IN PROGRESS - issue BATCH-241: Support for JobLauncher.stop() on job that hasn't started yet (delayed execution)
http://opensource.atlassian.com/projects/spring/browse/BATCH-241

Added some more internal bookkeeping in the JobLauncher so that it can recognise a job that it was asked to start, but hasn't been executed by the task executor yet.  A side effect is that the JobExecution for such a job is never updated, so I'll keep this issue open until that is also fixed.
2007-11-30 12:11:47 +00:00
dsyer
42a8a78259 RESOLVED - issue BATCH-153: skipLimit property of AbstractStepConfiguration seems to be unused
http://opensource.atlassian.com/projects/spring/browse/BATCH-153

Use skip limit to construct a SimpleLimitExceptionHandler.
2007-11-30 09:54:34 +00:00
dsyer
0e24dd5e5d IN PROGRESS - BATCH-127: Allow job configuration to control re-entrant behavior
http://opensource.atlassian.com/projects/spring/browse/BATCH-127

Added additional exception to signature of JobRepository.findOrCreate().
2007-11-30 09:21:36 +00:00
dsyer
eebb1fd9fb RESOLVED - issue BATCH-218: StepConfiguration and JobConfiguration should not be BeanNameAware
http://opensource.atlassian.com/projects/spring/browse/BATCH-218
2007-11-30 09:15:37 +00:00
nebhale
bdb199760e JobInstance now creates JobExecutions instead of letting someone else. 2007-11-27 09:32:38 +00:00
dsyer
17cead220c Fixed broken build - new method on StepExecutor in test cases 2007-11-23 15:57:05 +00:00
dsyer
44463f393a RESOLVED - issue BATCH-199: ExceptionHandler in SImpleStepConfiguration ignored by SimpleStepConfigurationFactory
http://opensource.atlassian.com/projects/spring/browse/BATCH-199

Moved ExecptionHandler to the step operations.

It seemed to me that the responsibility for doing this should be encapsulated in the StepExecutor - also prevents a nasty package cycle.  The only way to do this and keep everyone honest was to add an applyConfiguration() method to the StepExecutor interface.  I am open to suggestion about how to do this more cleanly, but for now that is probably enough.
2007-11-23 15:45:00 +00:00
dsyer
3915aeb1e9 IN PROGRESS - issue BATCH-194: Incorrect exception handling when using Hibernate
http://opensource.atlassian.com/projects/spring/browse/BATCH-194

Implemented a pretty good workaround in HibernateCreditWriter, which can probably be tightened up and made into a base class HibernateItemWriter.  Also had to make HibernateCursorInputSource Skippable (and it isn't yet Restartable so it's kind of broken - work in progress).  Plus the samples were configured to use SimpleStepExecutor which doesn't skip by default (makes me wonder if the restart sample actually does anything sensible).
2007-11-22 13:51:53 +00:00
dsyer
d7744aafb8 IN PROGRESS - issue BATCH-194: Incorrect exception handling when using Hibernate
http://opensource.atlassian.com/projects/spring/browse/BATCH-194

Added step operations to RepeatContextHolder (and changed name of implementation so it isn't tied to chunks).  This was needed anyway, otherwise you can't control the exception handling in the step operations properly.
2007-11-22 09:54:44 +00:00
dsyer
c3bf46f098 replace missing DDL (Subclipse again) 2007-11-21 12:52:42 +00:00
dsyer
761a89b3eb RESOLVED - issue BATCH-207: exit_message too short for holding long exceptions
http://opensource.atlassian.com/projects/spring/browse/BATCH-207

JOB_KEY needed to be extended as well (not truncated as yet - just made more space in DDL).
2007-11-21 12:51:08 +00:00
dsyer
edff6be9b3 OPEN - issue BATCH-207: exit_message too short for holding long exceptions
http://opensource.atlassian.com/projects/spring/browse/BATCH-207

Added onFlushDirty to the entity interceptor in hibernate (and changed its name so not specific to entity name - BatchHibernateInterceptor).  Also truncating in Sql*Dao.  Only exit description is given special treatment for now, and the length is fixed at 250 - hard-coded and tightly coupled with the hibernate mapping and DDL).  Should be good enough for most scenarios.
2007-11-21 12:34:57 +00:00
dsyer
83ea77d669 update description of statistics (http://forum.springframework.org/showthread.php?t=46482). 2007-11-21 08:33:59 +00:00
dsyer
07be8cf6d8 IN PROGRESS - issue BATCH-201: Move responsibility for deciding if an exception terminates a batch to ExceptionHandler
http://opensource.atlassian.com/projects/spring/browse/BATCH-201

Nearly finished - ExceptionHandler is the owner of abnormal termination.
2007-11-20 18:55:15 +00:00
dsyer
1c95e5a625 RESOLVED - issue BATCH-203: HibernateDao incorrectly returns an existing job.
http://opensource.atlassian.com/projects/spring/browse/BATCH-203
2007-11-14 08:49:48 +00:00
dsyer
dbf9336e60 Change logging level of error in RepeatTemplate 2007-11-14 08:48:08 +00:00
dsyer
645b882ff3 Fix SqlJobDao for DefaultJobIdentifier 2007-11-13 17:51:08 +00:00
dsyer
f8956695f4 Fix exception messages 2007-11-13 17:42:44 +00:00
dsyer
c23620bc2a Include backport in dependencies for samples 2007-11-13 16:30:06 +00:00
dsyer
120c9cc512 RESOLVED - issue BATCH-199: ExceptionHandler in SImpleStepConfiguration ignored by SimpleStepConfigurationFactory
http://opensource.atlassian.com/projects/spring/browse/BATCH-199
2007-11-13 15:49:51 +00:00
dsyer
a541e280aa RESOLVED - issue BATCH-199: ExceptionHandler in SImpleStepConfiguration ignored by SimpleStepConfigurationFactory
http://opensource.atlassian.com/projects/spring/browse/BATCH-199
2007-11-13 15:48:50 +00:00
dsyer
d33065b15c RESOLVED - issue BATCH-184: sample jobs don't work with hibernate repository
http://opensource.atlassian.com/projects/spring/browse/BATCH-184
2007-11-13 14:16:07 +00:00
dsyer
4f8489c145 RESOLVED - issue BATCH-195: JobIdentifier with simple string key
http://opensource.atlassian.com/projects/spring/browse/BATCH-195

Missing commit.
2007-11-09 17:06:46 +00:00
dsyer
ec63a1c1a1 RESOLVED - issue BATCH-195: JobIdentifier with simple string key
http://opensource.atlassian.com/projects/spring/browse/BATCH-195
2007-11-09 16:50:28 +00:00
dsyer
dc9d04e705 RESOLVED - issue BATCH-181: When trying to re-run a Job that already executed successfully the JobExecutorFacade returns ExitStatus.FAILED
http://opensource.atlassian.com/projects/spring/browse/BATCH-181
2007-11-09 15:03:29 +00:00
lucasward
e0977c3e48 BATCH-184:Reverted previous change. I thought I had it working locally, but bamboo proved me wrong. 2007-11-09 07:29:28 +00:00
lucasward
80f6c02e55 BATCH-184:Applied patch to prevent NonUniqueJobException by clearing the returned execution from the cache. 2007-11-09 07:03:32 +00:00
dsyer
fd38ac3d14 Add new addExitDescription() to ExitStatus and make sure a message is set if no steps are run. 2007-11-07 11:49:04 +00:00
dsyer
82f753e18f Weird problem with eclipse build - was it just the .classpath entries not being exported? 2007-11-07 08:04:07 +00:00
dsyer
c7b8d038e7 Internal API change for StepExecutors 2007-11-05 17:17:33 +00:00
dsyer
875d1383b4 Add explicit types to update queries. 2007-11-05 17:16:42 +00:00
dsyer
621250dd79 IN PROGRESS - issue BATCH-159: JobExecutor should return a JobExecution (which itself contains the ExitStatus)
http://opensource.atlassian.com/projects/spring/browse/BATCH-159

Change JobExecutorFacade interface - it makes more sense to stop an execution.
2007-11-05 12:51:22 +00:00
dsyer
9810bf7223 Remove cycle 2007-11-05 11:45:34 +00:00
dsyer
7f09f4214c IN PROGRESS - issue BATCH-159: JobExecutor should return a JobExecution (which itself contains the ExitStatus)
http://opensource.atlassian.com/projects/spring/browse/BATCH-159

Make sure JobExecution has an ID (it is saved before being passed back to client).
2007-11-03 13:51:56 +00:00
dsyer
626f01f8f5 Copy testcase base class to execution module (fix broken build). 2007-11-03 11:25:28 +00:00
dsyer
0cf5cb4bb2 IN PROGRESS - issue BATCH-159: JobExecutor should return a JobExecution (which itself contains the ExitStatus)
http://opensource.atlassian.com/projects/spring/browse/BATCH-159

APIs all pretty much in place now - JobLauncher returns JobExecution from the run methods.  There is some polishing and test coverage work to do.
2007-11-03 11:18:00 +00:00
dsyer
3e72e7b565 Remove convenience accessor for job.getIdentifier() 2007-11-02 16:03:38 +00:00
dsyer
f66d163275 IN PROGRESS - issue BATCH-159: JobExecutor should return a JobExecution (which itself contains the ExitStatus)
http://opensource.atlassian.com/projects/spring/browse/BATCH-159

Fix broken test case for misconfigured launcher
2007-11-02 15:51:31 +00:00
dsyer
4a00848fce IN PROGRESS - issue BATCH-159: JobExecutor should return a JobExecution (which itself contains the ExitStatus)
http://opensource.atlassian.com/projects/spring/browse/BATCH-159

Refactored JobExecutorFacade into a package private interface - it's still useful in testing.
2007-11-02 12:29:18 +00:00