Commit Graph

685 Commits

Author SHA1 Message Date
dhgarrette
8146e55503 Merging changes from branch...
BATCH-1323: Modify skip/retry/no-rollback exception class configurations to allow for include/exclude
BATCH-1339: Move task-executor attribute up from <chunk/> to <tasklet/>
BATCH-1348: Allow inlining of reader/writer/processor into <chunk/>
BATCH-1357: Allow empty <listeners/>, <retry-listeners/>, and <streams/> lists
BATCH-1358: Move InfiniteLoopIncrementer into core, and rename it to RunIdIncrementer
BATCH-1367: Syntactic sugar for Item*Adapter in namespace
BATCH-1375: Give CompositeItemProcessor's and CompositeItemWriter's property the same name (delegates)
2009-08-23 15:17:20 +00:00
dsyer
052f259cb8 BATCH-1378: copy map/list/set to avoid storing wrong value after placeholder binding 2009-08-22 11:19:43 +00:00
dsyer
ecddd61b47 RESOLVED - issue BATCH-1354: Infinite loop caused by throwing an Error from the ItemWriter of a skippable step
http://jira.springframework.org/browse/BATCH-1354

Previous change reverted: Error should be fatal, so it has to be added to the exception classifiers in FaultTolerantStepFactoryBean.
2009-08-20 16:41:38 +00:00
dsyer
a293b6ff21 RESOLVED - issue BATCH-1354: Infinite loop caused by throwing an Error from the ItemWriter of a skippable step
http://jira.springframework.org/browse/BATCH-1354
2009-08-20 15:43:19 +00:00
dsyer
7c487a7abc RESOLVED - issue BATCH-1370: Bind to non-scalar map entry values in step scope
Also fixed: no need to use custom PropertyEditor to bind to Dates from step context
2009-08-14 09:35:50 +00:00
dsyer
0bf64b4a80 RESOLVED - issue BATCH-1363: Job stopped in split state does not finish with status = STOPPED
Add some more test cases
2009-08-14 07:03:52 +00:00
dsyer
842b9dac7a RESOLVED - issue BATCH-1342: Check for valid parameter arguments in CommandLineJobRunner 2009-08-10 11:57:08 +00:00
dsyer
b90e320e31 RESOLVED - issue BATCH-1363: Job Stop issue Sequential Vs Flow Step 2009-08-10 11:40:06 +00:00
dsyer
7943f1b570 Weird test failure? 2009-08-08 22:31:12 +00:00
dsyer
2b857a3d65 OPEN - issue BATCH-1362: Threads spinning doing nothing at end of multi-threaded Step
Fix broken test (made wrong assertion)
2009-08-08 22:16:43 +00:00
dsyer
410029ebbe OPEN - issue BATCH-1362: Threads spinning doing nothing at end of multi-threaded Step
Fixed, but can be tidied up.
2009-08-08 12:10:36 +00:00
dhgarrette
d2f4849598 BATCH-1360: Returning null from Tasklet.execute() is treated as RepeatStatus.FINISHED. 2009-08-08 03:04:07 +00:00
dsyer
c8ed324e9c Simplify a couple of test cases (no need for Job) 2009-08-06 13:13:51 +00:00
dsyer
72b371463b Add convenience factory impl of JobRepository.createJobExecution() for testing 2009-08-06 13:12:50 +00:00
dhgarrette
2d6a9de873 BATCH-1360: Throw helpful error from if Tasklet.execute() returns null 2009-08-06 05:20:02 +00:00
dhgarrette
638a379ba0 BATCH-1351: An empty <*-exception-classes/> list does not override parent's list. 2009-08-04 05:10:59 +00:00
dsyer
9c9c0e42d9 Add integration test for stop on custom exit status 2009-07-20 07:25:06 +00:00
dsyer
7deeb6e70c Fix tests some more 2009-07-16 09:16:05 +00:00
dsyer
28de6374bb Fix tests some more 2009-07-16 08:57:05 +00:00
dsyer
622487c7d6 Fix broken test 2009-07-16 08:37:15 +00:00
dsyer
5bc4040efd RESOLVED - issue BATCH-1336: Add -restart and -next options to CommandLineJobRunner 2009-07-16 07:13:40 +00:00
dsyer
0afd2555e6 OPEN - issue BATCH-1336: Add -restart and -next options to CommandLineJobRunner
Added -restart and -next.  Need some more tests.
2009-07-12 16:56:43 +00:00
dsyer
e7ff4037c7 RESOLVE: BATCH-1333: CHanged "fatal" semantics to mean "not-skippable". 2009-07-10 14:08:51 +00:00
dsyer
5279c0a036 RESOLVED - issue BATCH-1334: No-rollback for non-skippable exceptions. 2009-07-10 11:45:18 +00:00
dsyer
155b51cec0 RESOLVED: BATCH-1327 Check for skippable before scanning for failed item 2009-07-10 08:07:22 +00:00
dsyer
d9791d60c5 RESOLVED: BATCH-1298 2009-07-09 12:38:10 +00:00
dsyer
580708845c OPEN - issue BATCH-1318: Ensure exception classes are behaving correctly
Tidy up test case
2009-07-09 11:56:36 +00:00
dsyer
680a97ae0e OPEN - issue BATCH-1318: Ensure exception classes are behaving correctly
Tidy up test case
2009-07-09 11:56:19 +00:00
dsyer
e1c8f35353 RESOLVED - issue BATCH-1326: Restart after <stop/> doesn't work if any previous steps have allowStartIfComplete=true 2009-07-08 17:36:05 +00:00
dsyer
f329619099 Add integration test for <stop on="FAILED"/> 2009-07-08 12:33:22 +00:00
dsyer
b0d6e0e2b9 add spring3 profile 2009-07-07 12:56:53 +00:00
dsyer
ee6e6a17b5 Add simple integration test for restart using JobLauncher 2009-07-07 08:48:59 +00:00
dhgarrette
373cf71a64 Fixed failed tests 2009-07-06 07:15:04 +00:00
dhgarrette
3e0b8a72c8 BATCH-1298 & BATCH-1318: Added additional tests for exception classes 2009-07-06 06:32:38 +00:00
dhgarrette
9e65f9819a BATCH-1318: Fixed tests 2009-07-05 17:59:22 +00:00
dsyer
19942cc469 RESOLVED - issue BATCH-1319: Small memory leak in StepSynchronizationManager 2009-07-05 14:42:17 +00:00
dhgarrette
a6075e3bd1 BATCH-1318: Added tests for various situations to test the exception classes 2009-07-04 10:37:00 +00:00
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
trisberg
7b14a66a6e BATCH-1232: fixed broken test; removed unused import 2009-06-16 00:57:35 +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