Commit Graph

1038 Commits

Author SHA1 Message Date
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
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
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
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
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
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
dsyer
19dee310c6 RESOLVED - issue BATCH-1230: scope "step" does not work together with Annotation "@BeforeStep" 2009-05-04 11:21:34 +00:00
dsyer
0b17684192 BATCH-1228: use proxyTargetClass=true in proxy 2009-05-04 08:25:29 +00:00
dsyer
1d1d0b85ca BATCH-1218: changed instanceof to == 2009-04-27 13:03:33 +00:00
dhgarrette
0bcc36927b BATCH-1208: Modified PlaceholderTargetSource to remove the path from resolveStringValue() that handles values that start with "#{" and end with "}". This was causing problems for values like "#{run.id}" or "#{integer}-#{integer}" where replacements were expected. The special path was added to handle references, where a replacement should not take place. Since a replacement is not expected, removing the path caused an exception to be thrown to indicate that no replacement had occurred. This exception was changed to a logging statement to allow this case. 2009-04-23 22:52:13 +00:00
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