Commit Graph

421 Commits

Author SHA1 Message Date
robokaso
49cc992efc OPEN - BATCH-845: integration tests for database autodetection
used auto-detection of database in samples configuration
2008-09-22 15:39:16 +00:00
robokaso
3f3871cbf0 ad-hoc: removed misleading comments 2008-09-17 15:46:21 +00:00
lucasward
fbe0443175 IN PROGRESS - issue BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
http://jira.springframework.org/browse/BATCH-825

Job, Step, and JobLauncher will not throw an exception if the job fails during processing, but rather will return the execution with an appropriate status and list of exceptions encountered.
2008-09-16 22:15:26 +00:00
robokaso
2973139959 IN PROGRESS - BATCH-827: Create Sample job for reading and writing headers and footers 2008-09-11 14:21:43 +00:00
trisberg
d272105479 BATCH-762: changed ExecutionContext storage strategy to use JSON for serialization in a single String/CLOB 2008-09-08 13:21:25 +00:00
dsyer
34c2fce32f RESOLVED - issue BATCH-814: JobRepository should not require Step or Job (only their names)
Moved the check for restartability up into JobLauncher.  There is a corner case where a non-restartable job could be restarted (see comment in SimpleJobLancher), but it should have a pretty small impact.
2008-09-05 17:21:24 +00:00
dsyer
db608b91a8 OPEN - issue BATCH-814: JobRepository should not require Step or Job (only their names) 2008-09-05 16:27:47 +00:00
robokaso
5994782b37 RESOLVED - BATCH-821: remove EventSerializer/Deserializer abstractions and use Marshaller/Unmarshaller directly 2008-09-05 09:15:21 +00:00
lucasward
92a03420b1 BATCH-453: Database shutdown tests now use JobOperator rather than direct database calls. 2008-09-04 20:16:46 +00:00
robokaso
9e07cda1b3 IN PROGRESS - BATCH-774: Split item count into read/write/filter
removed itemCount from StepExecution
2008-09-03 13:33:42 +00:00
robokaso
22044884c6 RESOLVED - BATCH-796: typos in javadoc @links and comments 2008-09-02 12:20:33 +00:00
robokaso
91ecbc6382 fix javadoc errors highlighted by eclipse 2008-09-02 09:22:56 +00:00
dsyer
bd91d0c35e BATCH-798: Samples working again. TODO: refactor rollbackClassifier into the stateless execution API 2008-08-29 17:14:59 +00:00
dsyer
2ea0fe68cf BATCH-220: Rationalise the exception classifiers so they can be used in a retry 2008-08-29 14:09:11 +00:00
dsyer
99af93c646 Unused import 2008-08-28 11:39:48 +00:00
dsyer
990e504583 BATCH-220: Complete rename StepHandler -> Tasklet 2008-08-28 11:37:50 +00:00
dsyer
ad5b0010dd BATCH-220: Half way to rename StepHandler -> Tasklet 2008-08-28 10:38:26 +00:00
dsyer
223a58da18 OPEN - issue BATCH-220: Chunk-oriented approach to processing
Add small optimisation to skip chunk with single item
2008-08-28 07:56:38 +00:00
dsyer
207e882e37 OPEN - issue BATCH-791: Ditch Tasklet (StepHandler is more flexible)
Done.  Use StepHandler instead.
2008-08-26 09:15:13 +00:00
dsyer
193f63a24a OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Make stateful retry explicit in the RepeatOperations interface instead of hidden in a RetryPolicy
2008-08-25 12:00:42 +00:00
dsyer
05015c598d OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Downgrade throws clause in RetryCallback - it's not reasonable to retry arbitrary Throwable
2008-08-24 11:44:50 +00:00
lucasward
3b2df1ea0d IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

Added a new sample job: DatabaseShutdownFunctionalTests that uses the database to detect a stopped job.
2008-08-22 21:45:02 +00:00
dsyer
a1030c2609 RESOLVED - issue BATCH-789: Remove mark/reset from ItemReader
Removed unneeded exception classes
2008-08-21 12:50:11 +00:00
dsyer
fcf96a954f RESOLVED - issue BATCH-789: Remove mark/reset from ItemReader
Remove AbstractItemReader.  All done (with remaining issues moved to BATCH-220).
2008-08-21 12:11:22 +00:00
dsyer
300e726909 OPEN - issue BATCH-789: Remove mark/reset from ItemReader 2008-08-21 11:38:00 +00:00
dsyer
dbc24626f3 OPEN - issue BATCH-789: Remove mark/reset from ItemReader
Deprecate methods
2008-08-20 12:32:59 +00:00
dsyer
42a9b97d1f RESOLVED - issue BATCH-788: Remove flush/clear from ItemWriter
Done
2008-08-20 09:59:51 +00:00
dsyer
a4c8399e72 OPEN - issue BATCH-788: Remove flush/clear from ItemWriter
Infrastructure and core working with no calls to flush (I think)
2008-08-20 08:06:18 +00:00
dsyer
a5080b772e OPEN - issue BATCH-787: Add write(List) to ItemWriter
Make samples and cli archetype compile again
2008-08-19 14:31:41 +00:00
dsyer
bafd373a8f OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator 2008-08-18 08:37:13 +00:00
dsyer
2da35c8f00 OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
More thorough tests and changed parameter values to long (not Long)
2008-08-18 08:29:58 +00:00
dsyer
e46cce59c3 OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Make sure job isn't running - use timestamp
2008-08-17 16:31:23 +00:00
dsyer
f355d497c3 OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Removed old ExportedJobLauncher and replace where necessary
2008-08-17 16:24:07 +00:00
dsyer
d8df436e8e Remove FactoryBean nature from data sourde initializer 2008-08-17 09:43:54 +00:00
dsyer
31492a4cbd Move test cases to src/test/java 2008-08-16 09:27:59 +00:00
lucasward
3c59f6504b BATCH-768:Updated reference documentation for m1. Also added classes to samples that are necessary for docs. 2008-08-15 20:25:25 +00:00
robokaso
1f731769f8 REOPENED - BATCH-778: MapJobRepositoryFactoryBean shouldn't require transactionManager
tx code moved from AbstractJobRepositoryFactoryBean to JobRepositoryFactoryBean
2008-08-13 10:52:45 +00:00
dsyer
55d59ff09e OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Fill in a few methods in JobOperator (WIP)
2008-08-12 20:56:17 +00:00
dsyer
d4d35cd668 OPEN - issue BATCH-770: Make ItemTransformer a first class citizen and rename as ItemProcessor
Done first pass.  Some tests needed.
2008-08-11 08:48:41 +00:00
dsyer
85d0c1c750 remove some warnings 2008-08-11 07:14:07 +00:00
dsyer
0dba26ab7b OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Move exception classes to where they are thrown
2008-08-10 15:45:43 +00:00
dsyer
61ccafa25c OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Add new interfaces and exceptions.  Re-align JobInstanceDao.
2008-08-08 14:04:55 +00:00
dsyer
c56cfc84fd REOPENED - issue BATCH-640: FieldSetMapper.mapLine() should contain the line number
OPEN - issue BATCH-278: Allow FixedLengthLineAggregator to be configured with different padding/alignment for specific columns

Remove FieldSetCreator and replace with new LineAggregator interface
2008-08-07 12:44:08 +00:00
dsyer
b9291aff16 REOPENED - issue BATCH-640: FieldSetMapper.mapLine() should contain the line number 2008-08-06 22:36:57 +00:00
dsyer
b8258c7758 RESOLVED - issue BATCH-743: ExportedJobLauncher should be able to stop running batches on an individual basis
Added some new methods to interface
2008-08-04 11:44:46 +00:00
trisberg
ccb2467cce IN PROGRESS - BATCH-672: removed redundant casts and boxing/unboxing, converted to for each loops, general cleanup 2008-08-01 00:50:13 +00:00
trisberg
f9ca0e17c7 IN PROGRESS - BATCH-710: removed comment 2008-07-31 18:06:18 +00:00
robokaso
ecb4bcfbba cleaned up unnecessary @SuppressWarnings("unchecked") 2008-07-31 11:28:20 +00:00
dsyer
99fe74f096 Tidy some config files 2008-07-30 08:43:06 +00:00
trisberg
e6bc3fc3fe IN PROGRESS - BATCH-672: updated tests to use SimpleJdbcTemplate 2008-07-28 19:42:21 +00:00