Commit Graph

1038 Commits

Author SHA1 Message Date
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
dsyer
464ebc577a OPEN - issue BATCH-1129: Problems with exception classifications
http://jira.springframework.org/browse/BATCH-1129
2009-03-10 12:10:23 +00:00
dhgarrette
b7bc7695e0 BATCH-1120: Added chunk-completion-policy to <tasklet/> element. 2009-03-09 21:25:22 +00:00
dsyer
84ba0a6153 Fixed assertion that broke build 2009-03-07 14:28:22 +00:00
dsyer
deb667ee23 BATCH-1126: Invalid 2009-03-07 10:15:15 +00:00
dhgarrette
b4375aae21 BATCH-1118: Modified StepListenerFactoryBean so that listener methods specified via annotations or the metaDataMap are checked for correct signatures. This allows incorrect methods to fail eagerly. For added flexibility, methods are also allowed if they do not specify any parameters. 2009-03-07 07:16:06 +00:00
dhgarrette
78c88afce0 BATCH-1125: Modified NoWorkFoundStepExecutionListener so that it will fail the step. Removed unused NoWorkFoundException. 2009-03-06 23:51:53 +00:00
dsyer
bb9fd79bf1 Rationalise writer exception hierarchy 2009-03-06 08:24:12 +00:00
dsyer
cdc112c964 Listener to copy parameters into execution context so that local step can be configured identically to remote step in a partition. 2009-03-06 08:05:30 +00:00
dsyer
691f324873 Switch to String[] for dependency injection. 2009-03-06 08:04:21 +00:00
dhgarrette
204aa1fe9e RESOLVED - BATCH-1119: Updated chunk recovery procedure in FaultTolerantChunkProcessor so that the AfterWrite listener method is called even if no exception is thrown during throttling. 2009-03-06 03:17:17 +00:00
lucasward
6f9fb36157 BATCH-1114: Moved FlushFailedException into support.transaction 2009-03-04 04:54:25 +00:00
dsyer
9a3e55e58e RESOLVED - issue BATCH-570: Job.getSteps() does not need to be exposed in the interface
Added getStepNames() to StepLocator.
2009-03-03 19:12:14 +00:00
dsyer
9fa730100c OPEN - issue BATCH-1108: Add composite ItemWriter/Processor based on Classifier
Move test case over from core as well
2009-03-03 12:23:59 +00:00
dsyer
998f6f592e OPEN - issue BATCH-1108: Add composite ItemWriter/Processor based on Classifier
First draft of classifier features added.  Also refactored MethodInvoker abstraction into infrastructure.
2009-03-03 11:55:03 +00:00
dsyer
b215feb9e8 RESOLVED - issue BATCH-1111: ChunkListener called before WriteListener 2009-03-02 17:44:17 +00:00
dsyer
b1967f046a BATCH-1107: it's not the OS it's he timezone of the build server! 2009-02-28 12:59:07 +00:00
dsyer
b0e19a9942 BATCH-1107: apparently new Date(0L) is not 1970/01/01 on all operating systems! 2009-02-28 12:14:44 +00:00
dsyer
eb44c0d493 BATCH-1107: add PropertyEditor support to placeholder resolution to deal with Dates 2009-02-28 12:01:58 +00:00
dsyer
da522c20e0 BATCH-1103: Bad meta data for listener methods fixed 2009-02-25 19:03:24 +00:00
dsyer
8bd116006c RESOLVED - issue BATCH-1102: Classes with "listener" annotations should be auto-registered
Added convenience methods to *ListenerFactoryBean and then used in *StepFactoryBean
2009-02-25 16:03:39 +00:00
dsyer
044a91eddf BATCH-1103: Added partitioning sample 2009-02-25 12:31:13 +00:00
dsyer
b5450ddc67 RESOLVED - issue BATCH-1093: Make AbstractJobTests.makeUniqueJobParameters() public
RESOLVED - issue BATCH-1096: Add late binding to some io samples 
RESOLVED - issue BATCH-1087: ClassPathXmlJobRegistry does not accept patterns for resources 
RESOLVED - BATCH-1098: added test for @AfterWrite in FaultTolerantChinkProcessorTests
2009-02-24 15:34:49 +00:00