Commit Graph

1707 Commits

Author SHA1 Message Date
dsyer
c43c1b4466 OPEN - issue BATCH-339: ItemStream.mark() and reset() should throw a checked exception
http://jira.springframework.org/browse/BATCH-339

Introduce MrakFailedException and ResetFailedException (unchecked for now).  ResetFailedException has to be dealt with specially in the StepExecutor.
2008-02-08 13:46:11 +00:00
nebhale
55f5e36293 [BATCH-85] Polishing 2008-02-08 08:38:30 +00:00
lucasward
a0c4af8351 BATCH-337:No *Instance domain objects (or their respective tables) contain a 'status'. Instead, they contain the 'last execution', which can be used to determinte the status. RestartData is also no longer necessary, as everything can be 'restored' by calling stepInstance.getLastExecution().getExecutionAttributes(). Also changed all 'ID' columns to be complete, such as 'JOB_INSTANCE_ID' rather than just 'ID'. 2008-02-06 03:44:19 +00:00
dsyer
8c1cb2808f Purge StreamContext some more 2008-02-05 09:34:13 +00:00
dsyer
1479d4c53d Purge StreamContext 2008-02-05 08:51:54 +00:00
dsyer
fad398f069 Build carnage - thank you Lucas 2008-02-05 08:08:02 +00:00
lucasward
96a11b3bb7 BATCH-219 and BATCH-330: Created ExecutionAttributes, which are stored in the table BATCH_STEP_EXECUTION_ATTRIBUTES. 2008-02-05 02:32:58 +00:00
dsyer
2d1ccb0cc6 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove GenericStreamContext
2008-02-02 15:16:20 +00:00
dsyer
c2ccb7ed02 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

More Statistics removal
2008-01-31 14:45:39 +00:00
dsyer
4267462395 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove some references to Statistics
2008-01-31 14:11:52 +00:00
dsyer
15cffeb925 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Lazy-initialisation solution to the "who's in step scope" issue
2008-01-31 09:54:38 +00:00
dsyer
11708012b5 BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Moved ItemStream to item package
2008-01-30 18:01:07 +00:00
dsyer
a2117e4f22 BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Rename Restartable to ItemStream
2008-01-30 17:56:56 +00:00
dsyer
02f1ae5c0c OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

run/process -> execute
2008-01-30 15:17:42 +00:00
dsyer
6ffefbc184 Introduce KeyedItemReader to push the getKey() method into a separate place. 2008-01-30 08:55:53 +00:00
dsyer
152829ba5f Send test coverage in core up to the high 90s. 2008-01-30 08:02:29 +00:00
dsyer
1cf29b8241 Missing commit (subclipse?) 2008-01-29 18:13:12 +00:00
dsyer
911e368a71 OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

Same treatment for JobExecutor - roll it up into the Job interface
2008-01-29 18:07:57 +00:00
dsyer
f9619e345e OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

Substantial re-org of core domain packages to align concerns
2008-01-29 16:36:16 +00:00
dsyer
d4d09d2ad8 OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

Consolidate changes and remove unnecessary methods from interfaces
2008-01-29 15:48:16 +00:00
dsyer
ea818d8401 OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

Remove StepExecutorFactory strategy.
2008-01-29 15:21:24 +00:00
dsyer
4da4c073d5 OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

First pass - added factory method, resolved conflicts and cycles, got tests working.
2008-01-29 15:07:53 +00:00
dsyer
8c1210f5da Resolved some TODOs. 2008-01-28 16:47:08 +00:00
dsyer
5ad74053cd Resolved some TODOs. 2008-01-28 09:46:21 +00:00
lucasward
d8f2ccb354 BATCH-304: Modified the CommandLineJobRunner to accept a job name as an argument. Also modified the contract of JobParamterFactory to return an empty JobParameters or Properties if null is passed in, rather than throwing an IllegalArgumentException. 2008-01-24 16:19:02 +00:00
lucasward
5bc993e350 BATCH-304: Created new job launcher that does not use BeanFactoryLocator. 2008-01-24 13:40:55 +00:00
dsyer
97d5359f3c OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Date format hell - how is new Date(0) "19691231"?
2008-01-24 10:07:38 +00:00
dsyer
e749bb93a0 OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Add unit test for factory.
2008-01-24 09:54:24 +00:00
dsyer
ae37f59148 OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304
2008-01-24 09:00:39 +00:00
dsyer
9185795686 OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Remove Javadocs references to non-existent classes
2008-01-24 08:56:22 +00:00
dsyer
09fc32c4b9 OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Nuke JobIdentifier
2008-01-24 08:47:16 +00:00
dsyer
13bce7b1e1 OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Allow BatchStatus to be null in Dao (why not?)
2008-01-24 08:11:23 +00:00
dsyer
5a8635a32e OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

First part of JobParameters and retirement of JobIdentifier.  Tests are borken, but not by these changes so I figure I have to get them in!
2008-01-24 08:07:20 +00:00
lucasward
21f23e05d1 BATCH-311:Added factory for JobInstanceProperties. 2008-01-23 23:17:51 +00:00
lucasward
1a7fdce73b BATCH-310: BatchStatus now implements Serializable with a readResolve(). Added a test case for serialization. 2008-01-23 17:44:46 +00:00
dsyer
69f6d8891a Tidy up build problems overnight. 2008-01-23 09:08:09 +00:00
lucasward
4f69c324e6 BATCH-295: JobLauncher now only contains one method: run(Job, JobInstanceProperties). Misc. other changes were made to facilitate. 2008-01-22 23:40:40 +00:00
dsyer
552549f897 OPEN - issue BATCH-303: Replace repeat contexts in core domain with boolean flag that can be checked by executors
http://jira.springframework.org/browse/BATCH-303
2008-01-22 13:45:02 +00:00
dsyer
c4e47ffab0 Remove unused imports 2008-01-21 11:31:47 +00:00
lucasward
8565fdc069 Batch-295:Added DefaultJobLauncher, which implements the JobLauncher interface in a different. Misc. other changes were made in support of this. 2008-01-18 00:42:41 +00:00
lucasward
9d79f5340d Changed internal implementation of JobInstanceProperties to use LinkedHashMap instead of HashMap, to ensure consistent ordering. 2008-01-17 17:36:37 +00:00
lucasward
c538ce6852 Added additional test to ensure JobInstanceProperties toString() is functioning properly 2008-01-17 16:17:29 +00:00
lucasward
1ca8796ab6 Misc. Name changes. (Mostly as a result of JobConfiguration -> job) 2008-01-16 11:50:34 +00:00
dsyer
8bdf835cdd Fix compiler warnings 2008-01-15 13:18:10 +00:00
lucasward
03852c8cb2 BATCH-273: JobConfiguration renamed to Job 2008-01-14 22:58:44 +00:00
lucasward
af3af0a82f BATCH-84:Added BATCH_JOB_INSTANCE_PROPERTIES table and removed schedule date from the BATCH_JOB table. Also updated JdbcJobDao to store a serialization of the JobInstanceProperties (renamed from JobParameters) in the JOB_KEY column, for unique identification. 2008-01-11 06:04:47 +00:00
lucasward
e39f02a8d7 BATCH-84: Fixes for two test failures discovered by CI 2008-01-07 06:38:29 +00:00
lucasward
ea93f7a4c7 BATCH-84: Modified JobIdentifier interface to include new JobRuntimeParameters value object, and modified its subclasses accordingly. 2008-01-07 06:19:06 +00:00
dsyer
19164926b6 Remove java.sql.Timestamp from domain objects. 2007-12-22 09:43:04 +00:00
dsyer
6ad57bcb69 RESOLVED - issue BATCH-170: Concurrent modification of StepExecution when running an asynchrounous step operation
http://opensource.atlassian.com/projects/spring/browse/BATCH-170

Extract constants - no change.
2007-12-19 21:27:20 +00:00