Commit Graph

224 Commits

Author SHA1 Message Date
robokaso
66736f2ac2 infrastructure and core should have no more generics warnings (remaining are easymock deprecations) 2008-07-24 10:48:13 +00:00
trisberg
0fd9b3e4c6 IN PROGRESS - BATCH-672: Updated test to use EasyMock 2.4 API 2008-07-24 00:36:13 +00:00
trisberg
3f9ce6500d IN PROGRESS - BATCH-672: modified item.reader and item.writer tests. Upgraded entire project to EasyMock 2.4 2008-07-23 02:48:02 +00:00
trisberg
4f55f8d970 IN PROGRESS - BATCH-672: modified advice and dao tests. Modified AbstractBatchLauncherTests base class to use JUnit4 2008-07-22 18:01:43 +00:00
dsyer
28e0294144 IN PROGRESS - issue BATCH-733: Upgrade StepExecutionResourceProxy to be able to use values from job execution context.
Mixed up contexts for command line runner tests
2008-07-21 17:13:02 +00:00
dsyer
69a64758d8 OPEN - issue BATCH-733: Upgrade StepExecutionResourceProxy to be able to use values from job execution context.
Step 1: extend JobFactory implementations a bit to provide more options for creating the context (also consolidated TaskExecutor and QUartz JobLaunchers into JobRegstryBackgroundJobRunner).
2008-07-21 16:41:16 +00:00
dsyer
c424603e59 RESOLVED - issue BATCH-544: Add a step factory that allows simplified injection of a RetryPolicy 2008-07-21 14:07:13 +00:00
lucasward
f1e73a7fa0 BATCH-711:Modified ItemWriter interface to use parameterized types. Updated a portion of classes using ItemWriter as well. 2008-07-21 04:23:05 +00:00
robokaso
6d34dff7d8 RESOLVED - BATCH-570: Job.getSteps() does not need to be exposed in the interface
removed the getSteps() method
2008-07-18 09:17:26 +00:00
robokaso
cb5584bc1d IN PROGRESS - BATCH-709: Change all collections to use generics 2008-07-17 16:09:42 +00:00
dsyer
06d781a950 RESOLVED - issue BATCH-274: Support Callable<ExitStatus>
Added CallablTaskletAdapter (also removed dependency on backport concurrent)
2008-07-17 12:15:54 +00:00
robokaso
80dbca8d55 IN PROGRESS - BATCH-709: Change all collections to use generics 2008-07-16 08:44:08 +00:00
robokaso
c7ad3b202c IN PROGRESS - BATCH-709: Change all collections to use generics 2008-07-16 08:33:51 +00:00
robokaso
e019e98df9 IN PROGRESS - BATCH-709: Change all collections to use generics 2008-07-16 08:01:56 +00:00
dsyer
11e706dcb3 Add new constructor to ClassPathXmlApplicationContextJobFactory 2008-07-14 15:18:07 +00:00
dsyer
11a84dd267 RESOLVED - issue BATCH-722: No framework logic should depend on the value of ExitStatus 2008-07-13 11:48:41 +00:00
dsyer
057aa351a5 Ensure job interruption is treated as exception in step and job 2008-07-07 14:20:59 +00:00
dsyer
8a10ccb1ee Move specific reader/writer to subpackages 2008-07-03 15:42:36 +00:00
dsyer
e79543b72d RESOLVED - issue BATCH-706: Commit exception is lost if update fails as well
Check to see if commit already failed before storing exception.  Also ensure that step starts continuable, and only hits UNKNOWN if a commit failure occurs
2008-07-02 16:45:21 +00:00
robokaso
566fc6e5fc RESOLVED - BATCH-414: consistent handling of empty input by ItemReaders
renamed NoWorkFoundListener to NoWorkFoundStepExecutionListener
2008-07-01 08:38:59 +00:00
robokaso
a35ad43fe7 RESOLVED - BATCH-414: consistent handling of empty input by ItemReaders
renamed listener + reused NoWorkFoundException
2008-06-30 08:16:52 +00:00
robokaso
9836517013 RESOLVED - BATCH-414: consistent handling of empty input by ItemReaders
added StepListener that detects itemCount == 0 and throws exception
2008-06-27 12:22:57 +00:00
dsyer
02d3c5756b Some bizarre classpath issues in Eclipse - moved data-source config out of default package except for samples. Also separated hibernate config from rest of samples. 2008-06-24 15:58:41 +00:00
dsyer
fd07883253 RESOLVED - issue BATCH-554: *StepFactoryBeans should have a list of exceptions that do and don't cause rollback.
Removed the list of exceptions in favour of tx attributes (use +ExceptionType in config file)
2008-06-23 13:06:07 +00:00
dsyer
991334e221 RESOLVED - issue BATCH-683: Lack of parallel support in SimpleStepFactoryBean 2008-06-23 10:56:07 +00:00
dsyer
a078199eae RESOLVED - issue BATCH-680: Allow override of Transaction Definition in get transaction in Item Oriented Step
Added transactionAttribute to ItemOrientedStep and the factory bean
2008-06-21 09:44:40 +00:00
dsyer
345e7a4b81 RESOLVED - issue BATCH-654: Transactions when commit fails 2008-06-18 10:24:18 +00:00
robokaso
722c5c1f0d RESOLVED - BATCH-661: broken job interruption logic
SimpleJob now checks for interrupt before starting a step
2008-06-12 08:21:07 +00:00
robokaso
40594d75e7 RESOLVED - BATCH-660: SimpleStepFactoryBean#setExceptionHandler() not working 2008-06-11 08:51:45 +00:00
robokaso
83e3e48762 RESOLVED - BATCH-623: StatefulRetryStepFactoryBean causes item count to be lost in database 2008-06-10 08:19:37 +00:00
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
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
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
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
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
7025ff4831 RESOLVED - issue BATCH-503: Not applying declarative transactions around repository causes unstable execution 2008-05-26 12:16:05 +00:00
dsyer
c316f7aea4 Spelling error in test method name 2008-05-23 14:22:06 +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
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