Commit Graph

1071 Commits

Author SHA1 Message Date
dsyer
4b8ee536ca RESOLVED - issue BATCH-1311: SimpleJobExplorer should return null when a StepExecution cannot be found 2009-06-26 21:09:21 +00:00
dhgarrette
fe26ccb08a BATCH-1309: Added a 'strict' property to ExecutionContextPromotionListener to ensure the key is present 2009-06-26 12:45:47 +00:00
dsyer
b811f14122 RESOLVED - issue BATCH-1304: Filter counter not incremented whenever there's a skip
Fixed - required new protected methods in SimpleChunkProcessor
2009-06-23 15:28:02 +00:00
dsyer
9e60248dfc OPEN BATCH-1303: Support Spring 3.0 EL. 2009-06-22 07:22:13 +00:00
dsyer
1a92c5479a RESOLVED - issue BATCH-1301: ItemStream is not being opened correctly for multi-threaded Step when scope="step"
Fixed bug in unit test and tidied up context management
2009-06-21 08:52:47 +00:00
dsyer
3d6f1cadbc RESOLVED - issue BATCH-1301: ItemStream is not being opened correctly for multi-threaded Step when scope="step" 2009-06-21 08:25:15 +00:00
dsyer
8a39db4815 RESOLVED - issue BATCH-1299: Add processSkipCount in StepExecution#getSummary() 2009-06-19 06:23:02 +00:00
trisberg
7b14a66a6e BATCH-1232: fixed broken test; removed unused import 2009-06-16 00:57:35 +00:00
trisberg
e80e30622d BATCH-1232: changed Sybase to use SQL type LONGVARCHAR instead of CLOB when setting context CLOB/TEXT column to null 2009-06-15 21:25:10 +00:00
dhgarrette
449e95ab1c BATCH-1289: Add null-check to CoreNamespaceUtils.rangeArrayEditorAlreadyDefined() for a CustomEditorConfigurer with no customEditors property. 2009-06-13 03:50:52 +00:00
dhgarrette
17fda85af3 BATCH-1288: Typo in CallableTaskletAdapter JavaDoc 2009-06-11 23:09:58 +00:00
dhgarrette
84a5f0d7aa BATCH-1285: Add additional test for unreachable step in a subflow 2009-06-11 05:42:35 +00:00
dhgarrette
452d60a2be BATCH-1285: Fixed broken test 2009-06-11 05:31:09 +00:00
dhgarrette
254c3b41f1 BATCH-1285: Raise an exception if a step cannot be reached. 2009-06-11 05:15:59 +00:00
dsyer
8cabd9544f BATCH-1284: fixed by using upgradeStatus in AbstractStep 2009-06-10 07:35:55 +00:00
dsyer
56e304ebcf RESOLVED - issue BATCH-1282: JobRegistryBeanProcessor skips jobs that in XML namespace unless they are injected as dependency
Used SmartFactoryBean
2009-06-08 14:27:45 +00:00
dsyer
9a7bdaa775 RESOLVED - issue BATCH-1280: JobParserJobFactoryBean should be a singleton
http://jira.springframework.org/browse/BATCH-1280
2009-06-05 10:17:57 +00:00
dhgarrette
602230cd67 BATCH-1275:
*Fixed assertions in afterPropertiesSet()
*Removed unnecessary converstion to List
*Pulled stepContext and jobContext out of the loop because they are invariants.
2009-06-05 01:43:57 +00:00
dsyer
5ec37d5d00 RESOLVED - issue BATCH-1272: Write skips do not work in a multi-threaded step
Fixed boolean logic in repeat callback
2009-06-04 16:59:19 +00:00
dsyer
20c9540c67 RESOLVED - issue BATCH-1272: Write skips do not work in a multi-threaded step
Fix problems with test case?
2009-06-04 16:40:50 +00:00
dsyer
290a2cb4ac RESOLVED - issue BATCH-1272: Write skips do not work in a multi-threaded step
Problems with test case?
2009-06-04 16:35:17 +00:00
dsyer
19a12f0036 RESOLVED - issue BATCH-1272: Write skips do not work in a multi-threaded step
http://jira.springframework.org/browse/BATCH-1272
2009-06-04 16:12:22 +00:00
dsyer
7b054c0360 OPEN - issue BATCH-1272: Write skips do not work in a multi-threaded step
Added some logging and a test case
2009-06-04 09:37:12 +00:00
dsyer
001226ea1d BATCH-1268: Use System.currentTimeMillis() 2009-06-03 15:57:50 +00:00
dsyer
132e29f37b RESOLVED - issue BATCH-1268: Remove dependency on commons lang
Up to a point - made it optional for Spring Core.
2009-06-03 15:07:40 +00:00
dhgarrette
5e060034b9 BATCH-1264: Ensure that defaults are not the responsibility of the StepParserStepFactoryBean 2009-06-02 13:46:31 +00:00
dsyer
bc9e97fe66 BATCH-1264: null pointer if transaction attributes partially specified 2009-06-02 11:11:13 +00:00
dsyer
685dd789de RESOLVED - issue BATCH-1256: Processor is called (and committed) many times for the same items if Writer skips
http://jira.springframework.org/browse/BATCH-1256
2009-06-01 10:36:55 +00:00
dsyer
f2514005ed RESOLVED BATCH-1260: Add NoSuchStepException 2009-05-31 16:33:59 +00:00
dhgarrette
001893bb8c Test cases for BATCH-1256 and BATCH-1259 2009-05-31 14:54:46 +00:00
dhgarrette
77b349e1c1 More clean up of FaultTolerantStepFactoryBean*Tests 2009-05-30 16:02:05 +00:00
dsyer
db1f7fc35b RESOLVED - issue BATCH-1255: Proxy with no target cannot be analysed for listener interfaces
http://jira.springframework.org/browse/BATCH-1255
2009-05-30 09:34:18 +00:00
dhgarrette
a7f8988422 Extract common inner-classes from FaultTolerantStepFactoryBean*Tests 2009-05-30 00:27:29 +00:00
dsyer
86bb669d76 Add Javadocs 2009-05-29 07:07:03 +00:00
dhgarrette
65ca7ea129 BATCH-1250: <job/> should disallow <decision/>, <split/>, and <step/> if abstract="true" 2009-05-27 17:32:11 +00:00
dhgarrette
24ecb523e9 BATCH-1216: Add throttle-limit to <chunk/> 2009-05-27 02:30:38 +00:00
dhgarrette
3005e6a810 BATCH-1213:
*Removed isAbstractStep() from BeanDefinitionUtils.  The formulation "beanFactory.isTypeMatch(beanName, AbstractStep.class)" should be used instead because it will automatically check the resultant type of a FactoryBean as well.
 *Changed *StepFactoryBean's getObjectType() to return TaskletStep.class, which is the most specific class name for the resulting object.  This allows BeanFactory.isTypeMatch() to to recognize the factory bean's output properly.
 *Renamed CoreNamespaceBeanDefinitionUtils to BeanDefinitionUtils since it is no longer specific to the core namespace.
2009-05-23 16:32:12 +00:00
dhgarrette
da58dfc835 BATCH-1213:
*Code cleanup of CoreNamespacePostProcessor and CoreNamespaceBeanDefinitionUtils.
 *Ensure that steps defined with the batch namespace always use StepParseStepFactoryBean
 *Additional unit tests for the behavior of mixed hierarchies of batch and beans namespace defined steps
2009-05-23 15:07:11 +00:00
dsyer
6db366cf67 BATCH-1213: tidied up BeanDefinition handling 2009-05-22 06:41:06 +00:00
dhgarrette
b7e6150453 RESOLVED - BATCH-1248: Removed default from "merge" attribute in XSD 2009-05-22 01:13:10 +00:00
dhgarrette
ded9ede29e BATCH-1213: Added test to ensure that if a <step/> with a <tasklet/> will always be a StepParserStepFactoryBean, even if its parent has a different class declared. 2009-05-22 00:41:13 +00:00
dhgarrette
232f2a0644 removed unused import 2009-05-21 22:03:52 +00:00
dhgarrette
d6844b6d23 BATCH-1213: Moved reusable BeanFactoryPostProcessor functionality into a new utility class CoreNamespaceBeanDefinitionUtils 2009-05-21 22:02:50 +00:00
dhgarrette
2514f32860 minor cleanup 2009-05-20 23:49:18 +00:00
dhgarrette
2c56a1b0c2 BATCH-1213: Added check in CoreNamespacePostProcessor to ensure that the parent of a <step/> does not have to be an AbstractStep 2009-05-20 23:47:49 +00:00
dhgarrette
9bdfdcbc43 BATCH-1213: Defaults in xsd override parent attributes
*Introduced CoreNamespacePostProcessor to handle injection of JobRepository and TransactionManager onto jobs and steps defined using the namespace.
 *Introduced JobParserJobFactoryBean used to instantiate a FlowJob via the namespace.
 *Modified defaulting behavior of jobRepository attribute.  Job's jobRepository now always overrides the Step's.
2009-05-18 23:54:18 +00:00
dhgarrette
a5ac07b26f BATCH-1213: Removed "literal" (non-reference) defaults from the XSD. 2009-05-16 00:40:20 +00:00
dsyer
d6c6d1ba05 OPEN - issue BATCH-1240: ItemStream is not registered when defined in step scope
Added test cases.
2009-05-13 11:11:48 +00:00
dsyer
b569b8419f RESOLVED BATCH-1218: add CompositeItemStream to ChunkMonitor. 2009-05-12 10:42:02 +00:00
dsyer
51c7a96369 BATCH-1208: add unit test 2009-05-06 12:31:48 +00:00