Commit Graph

610 Commits

Author SHA1 Message Date
dsyer
4de51829bb RESOLVED - issue BATCH-1210: AbstractStep overwrites custom exit status for STOPPED steps
Tweaked exit status handling again in AbstractStep
2009-04-16 14:08:57 +00:00
dsyer
50cda6b170 RESOLVED - issue BATCH-1210: AbstractStep overwrites custom exit status for STOPPED steps 2009-04-16 11:12:49 +00:00
dhgarrette
02290b366d BATCH-1150: Added test for using ListPreparedStatementSetter in xml configuration 2009-04-15 17:29:20 +00:00
dhgarrette
ff4bf40fe6 BATCH-1205: Added tests for commit interval 2009-04-14 16:47:07 +00:00
dsyer
82bc42d102 RESOLVED - issue BATCH-1187: Step shouldn't exit with status=EXECUTING
AbstractStep now sets the ExitStatus (by ANDing with the existing value), so a Tasklet does not have to set it manually.
2009-04-09 11:51:31 +00:00
lucasward
d6744b0be9 Updated javadocs where necessary. 2009-04-08 18:39:21 +00:00
dhgarrette
f306e9e83e RESOLVED - BATCH-1201: Listener Annotations don't allow parameters to be subtypes of expected types 2009-04-08 15:46:40 +00:00
dsyer
ffd11dd427 RESOLVED - issue BATCH-1095: Optionally throw exception if late binding fails 2009-04-07 15:54:52 +00:00
dsyer
926f61972f RESOLVED - issue BATCH-1196: ExecutionContext not re-hydrated by JdbcJobExecutionDao 2009-04-07 15:11:51 +00:00
dsyer
f708120524 OPEN - issue BATCH-1198: processSkipCount and filterCount mixed up 2009-04-07 11:46:31 +00:00
dsyer
f12edbb546 RESOLVED - issue BATCH-1197: Rerunning a job sometimes creates new job instance 2009-04-07 09:05:14 +00:00
dsyer
c4e02c9a4e RESOLVED - issue BATCH-1185: Job slows when step scope is used
http://jira.springframework.org/browse/BATCH-1185
2009-04-06 14:38:23 +00:00
dhgarrette
a686033674 BATCH-1181:
* Added test to make sure <step/> element's parent= attribute could reference a beans:bean
 * Some small cleanup
2009-04-05 20:49:28 +00:00
lucasward
17dd5bb3f4 BATCH-1150: Modified the StepExecutionPreparedStatementSetter to no longer implement StepExecutionListener. Also changed the name to ListPreparedStatementSetter. 2009-04-03 02:53:52 +00:00
dhgarrette
8ef418dfe3 BATCH-1189: By default, all exceptions should be fatal 2009-04-02 03:49:20 +00:00
dhgarrette
f0bba9c1c5 BATCH-1189: Added some unit tests 2009-04-02 03:48:18 +00:00
dhgarrette
3dc92be2ed BATCH-1189: By default, all exceptions should be fatal 2009-04-01 21:22:43 +00:00
dhgarrette
6358cb2bf2 RESOLVED - BATCH-1184: DelegatingStep is not used. It should be removed. 2009-03-30 17:06:34 +00:00
dhgarrette
85fa0c7d7a BATCH-1181: Changed <chunk-tasklet/> to <chunk/> 2009-03-26 13:01:59 +00:00
dhgarrette
93b2754b7c BATCH-1181: <step/> element always assumes the step is a TaskletStep 2009-03-26 04:42:19 +00:00
dhgarrette
69c8cbc120 BATCH-1179: Remove ref= attribute from <step/> in favor of parent= 2009-03-25 21:10:38 +00:00
dhgarrette
d25a779444 BATCH-1180: Error occurs if parent= attribute appears on inline <step/> without tasket 2009-03-25 17:53:55 +00:00
dhgarrette
94c467e919 updated unit test to use top level <step/> element to define a step 2009-03-25 14:56:39 +00:00
dsyer
945c0d91df BATCH-1095, BATCH-1174: Late binding of jobParameters does not work if late binding expression is not preceded or trailed by string 2009-03-25 09:15:02 +00:00
dsyer
56de18f884 RESOLVED - issue BATCH-1171: Interrupted step does not fail job.
Added check for STOPPED status in AbstractJob.
2009-03-23 10:52:55 +00:00
dsyer
c87f61adf7 RESOLVED - issue BATCH-1164: Putting scope="step" on a listener causes failure 2009-03-20 16:42:38 +00:00
dhgarrette
7e394ddb0a BATCH-1165: Fixed unit test that failed due to changed error message. 2009-03-20 15:22:34 +00:00
dsyer
05ed35106c RESOLVED - issue BATCH-1129: Problems with exception classifications 2009-03-20 11:01:54 +00:00
dsyer
583a5917a8 Tidy up Spring config meta data to remove errors 2009-03-19 07:15:05 +00:00
dsyer
93b3bde99b RESOLVED: BATCH-1100. Change retry/skip logic to be more efficient (and limit to single-threaded readers) 2009-03-19 06:52:53 +00:00
dsyer
c6ca23f224 RESOLVED - issue BATCH-1159: PROCESS_SKIP_COUNT seems not to ever get written to database 2009-03-18 16:36:00 +00:00
dhgarrette
a069e6fc40 BATCH-1154:
*Renamed the "master" step factory bean to StepParserStepFactoryBean
  *Moved it to the same package as the parser
  *Made it package visibility since it should only be used by the parser
2009-03-14 16:32:44 +00:00
dsyer
726e37ed1a RESOLVED - issue BATCH-1137: Move classifier to separate package? 2009-03-14 16:04:07 +00:00
dsyer
3b1c506bd9 RESOLVED: BATCH-1146 Added MD5 hashing to JobParameters in JDBC instance dao 2009-03-14 09:12:10 +00:00
dhgarrette
bcaaf4e2b0 BATCH-1154:
- Created StepFactoryBean, as a "master" factory that holds all the properties 
configurable on a step and decides which type of step to create.
 - the StepFactoryBean is used to generate a tasklet step as well as chunk-oriented step because if the 'tasklet=' attribute is specified on at one level and the <tasklet/> element is specified at another, the factory bean will be able to throw a useful error, whereas the parser would not know.
 - removed hacks from TaskletStep and SimpleStepFactoryBean
2009-03-14 08:34:04 +00:00
dhgarrette
9e02c2e75a BATCH-1139: small refactoring of unit test 2009-03-13 21:52:47 +00:00
dhgarrette
8a7ad7581d BATCH-1131: Updated TaskletStep to accept TransactionAttribute as a List<String>, just as SimpleStepFactoryBean does. Added unit tests. 2009-03-13 21:48:29 +00:00
dhgarrette
9e35519672 RESOLVED - BATCH-1147:
*Fixed SimpleChunkProcessor so that the filter count is applied correctly
 *Updated SimpleChunkProcessorTests and CustomerFilterJobFunctionalTests to check the filter count.
2009-03-13 17:26:50 +00:00
dhgarrette
1204ec62fc RESOLVED - BATCH-1144: Create top-level element <job-listener/> 2009-03-13 06:33:50 +00:00
dhgarrette
1ffd28d0f6 BATCH-1132:
BATCH-1138:
BATCH-1139:
  Clean up unit tests
2009-03-13 04:45:04 +00:00
dhgarrette
5fcffd81e2 RESOLVED - BATCH-1139:
*Add a "parent" attribute to <tasklet/>. This will allow tasklets to inherit properties from other tasklets that have been configured. 

 *A "merge" attribute for will have to be added to the following elements that occur with in <tasklet/>: 
    <skippable-exception-classes/> 
    <fatal-exception-classes/> 
    <retryable-exception-classes/> 
    <streams/> 
    <retry-listeners/> 

 *<tasklet/> should become a top-level element with an "abstract" attribute.
2009-03-13 03:56:43 +00:00
dhgarrette
70b24ccffb RESOLVED - BATCH-1141: Rename CompositeExecutionJobListener to CompositeJobExecutionListener 2009-03-12 21:36:29 +00:00
dhgarrette
8f8800fd28 RESOLVED - BATCH-1138: Add "parent" attribute to <job/> 2009-03-12 21:29:29 +00:00
dhgarrette
9729ca23fd BATCH-1132: Added "merge" element to <listeners/> defined within <step/> so that they can be added to listeners defined on a parent step.
BATCH-1135: Updated unit tests to test merging of listener lists
2009-03-12 15:52:34 +00:00
dhgarrette
a117b3d21c BATCH-1135: added unit tests for StepListenerParser. 2009-03-12 07:12:52 +00:00
dhgarrette
5441a642d1 BATCH-1132: Unit tests for "parent" and "abstract" attributes on <step/> 2009-03-12 05:15:34 +00:00
dhgarrette
292177996a BATCH-1016: Added test case 2009-03-11 18:08:59 +00:00
dhgarrette
28d04d424a BATCH-1118:
*Updated JobListenerFactoryBean so that listener methods specified via annotations or the metaDataMap are checked eagerly for correct signatures
 *Extracted common processing of Job/StepListenerFactoryBean classes into new superclass AbstractListenerFactoryBean
 *Created AbstractListenerMetaData interface for Job/StepListenerMetaData enums
 *Fixed JobExecutionListenerParser which had a bug in parsing listener method attributes
 *Corrected job listener attributes in xsd to use before/after-job-method
 *Added unit tests for job listener annotations and metaDataMap
 *Fixed typo in StepListenerFactoryBeanTests
2009-03-10 19:57:18 +00:00
dsyer
944b6aa4c8 RESOLVED - issue BATCH-1130: Ensure Ordered is respected by generated listeners
Add JobListenerFactoryBean - same solution
2009-03-10 14:40:45 +00:00
dsyer
3719198418 OPEN - issue BATCH-1130: Ensure Ordered is respected by generated listeners
Fixed for Step listeners
2009-03-10 14:32:34 +00:00