Commit Graph

978 Commits

Author SHA1 Message Date
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
dsyer
cc47fa82d9 FIXED - issue BATCH-1092: Fix naming conventions for exit status in <end/>
Changed ExitSTatus aggregation rule so that custom codes come out on top.
2009-02-23 18:17:52 +00:00
dsyer
95bbf6d0f0 OPEN - issue BATCH-937: Make sure JobRepository can be proxied
Plus fix error with stax config in tiger profile
2009-02-23 15:19:05 +00:00
dsyer
cb0955ad1b BATCH-1011: tidy up FlowExecutionStatus name access 2009-02-18 19:10:13 +00:00
dsyer
7a8598e244 RESOLVED - issue BATCH-1086: JdbcJobExecutionDao.getRunningJobExecutions() ignores jobName
Change query to use job name.
2009-02-18 12:54:08 +00:00
dsyer
ae275e8f5d PassThrough* 2009-02-18 08:29:10 +00:00
dsyer
57cf2b1c0b BATCH-1087: add test case 2009-02-18 08:28:06 +00:00
dsyer
e84c94b307 BATCH-1087: use Resource[] for setting classpath resources 2009-02-18 08:22:35 +00:00
dsyer
365fd46744 RESOLVED - issue BATCH-1011: Need distinction between "stop" and "end" transitions?
Push JobExecution status update out of the EndState and back into FlowJob (via FlowExecutor).
2009-02-17 13:11:33 +00:00
dsyer
3836cd9597 RESOLVED - issue BATCH-1050: SimpleJobExplorer doesn't retrieve StepExecutions of running JobExecutions using MapStepExecutionDao
Make StepExecutionDao interface clearer from the point of view of adding step executions to a JobExecution.
2009-02-17 09:00:11 +00:00
dhgarrette
3502c0f14a BATCH-1011: added test case for a second launch 2009-02-16 23:32:07 +00:00