Commit Graph

1033 Commits

Author SHA1 Message Date
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
bd23c675bb BATCH-1132:
BATCH-1138:
  extracted "parent" and "abstract" attributes into reusable attributeGroups
2009-03-12 22:35:16 +00:00
dhgarrette
ee9d8e379c RESOLVED - BATCH-1142: In the xsd, <listeners/> should be moved from "flowType" to "job" 2009-03-12 22:14:27 +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
30c6584e08 BATCH-1136: Add setListeners(StepExecutionListener[]) to TaskletStep so that the parser will be able to set <listeners/> consistently on steps using the "listeners" property. 2009-03-12 17:48:54 +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
1d3a2f0c6f BATCH-1132: add support for "abstract" attribute on <step/> 2009-03-11 23:39:02 +00:00
dhgarrette
93bb7c7695 BATCH-1135: Create TopLevelStepListenerHandler specifically for use in the CoreNamespaceHandler 2009-03-11 22:06:36 +00:00
dhgarrette
a273055e9f BATCH-1135: Create top-level element <step-listener/> 2009-03-11 20:47:24 +00:00
dhgarrette
099807521e RESOLVED - BATCH-1134: Create a superclass, AbstractListenerParser, for StepListenerParser and JobExecutionListenerParser 2009-03-11 20:07:23 +00:00
dhgarrette
cb21ca31b7 BATCH-1132: extracted step listener parsing into its own class 2009-03-11 19:11:32 +00:00
dhgarrette
aaeeb74092 BATCH-1132:
*Updated parsers to handle 'parent' attribute of <step/>.
 *Attribute "parent" can be used on standalone and inline step declaration as well as with the 'tasklet' attribute.
 *To be consistent with treatment of listeners and tasklets, 'parent' can't be combined with 'ref' on <step/>.
2009-03-11 18:22:59 +00:00
dhgarrette
292177996a BATCH-1016: Added test case 2009-03-11 18:08:59 +00:00
dhgarrette
7b23124208 BATCH-1132: Added "parent" attribute to <step/> and "abstract" attribute to top-level <step/> 2009-03-11 07:27:50 +00:00
dhgarrette
ab35b61900 BATCH-1118:
*Moved more logic from Job/StepListenerFactoryBean to AbstractListenerFactoryBean
 *Renamed AbstractListenerMetaData to ListenerMetaData
2009-03-10 20:47:50 +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
dhgarrette
ae808ede21 BATCH-1128: Updated FaultTolerantChunkProcessor's recovery procedure so that StepExecution.writeCount is not updated during throttling because writes will be rolled back. 2009-03-09 06:08:39 +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
dhgarrette
c24e4b39ea BATCH-1123: added break to the loop when a match is found. 2009-03-06 15:52:12 +00:00
dhgarrette
8ca24b9575 Removed unnecessary null check 2009-03-06 15:43:21 +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
5c9f66cdce 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:22 +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
b8208dcd8a RESOLVED - issue BATCH-1113: query for JdbcJobExecutionDao.findRunningJobExecutions is broken 2009-03-03 07:51:20 +00:00
dsyer
b449ea7ed4 BATCH-570: re-instate getSteps() in SimpleJob 2009-03-03 07:48:18 +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
dhgarrette
e2dd33ae4d BATCH-1102: small optimization in isListener() 2009-02-25 19:20:18 +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