Commit Graph

62 Commits

Author SHA1 Message Date
dsyer
0123f9f88c Wrong exception type in test case 2007-10-05 09:19:36 +00:00
dsyer
24c324fd73 RESOLVED - issue BATCH-158: Dependency cycle between execution.step and execution.step.simple
http://opensource.atlassian.com/projects/spring/browse/BATCH-158

StepConfiguration had to pick up an extra flag in the interface, and the configuration implementations had to be separate from the executor implementations.

Also fixed a cycle in core (JobIdentifier is part of domain).
2007-10-05 09:11:58 +00:00
dsyer
fce6554597 RESOLVED - issue BATCH-158: Dependency cycle between execution.step and execution.step.simple
http://opensource.atlassian.com/projects/spring/browse/BATCH-158

StepConfiguration had to pick up an extra flag in the interface, and the configuration implementations had to be separate from the executor implementations.

Also fixed a cycle in core (JobIdentifier is part of domain).
2007-10-05 09:05:50 +00:00
dsyer
10b92b31f3 IN PROGRESS - issue BATCH-90: StepExecution and StepExecutionContext are parallel domains, and StepExecution is by comparison anaemic
http://opensource.atlassian.com/projects/spring/browse/BATCH-90

Rename local variable.
2007-10-05 08:26:06 +00:00
dsyer
3f19eb2a7a Attempt to refactor NFL so that it can be run from a command line launcher in Eclipse instead of a unit test 2007-10-04 15:36:50 +00:00
dsyer
3b1e05c6d0 RESOLVED - issue BATCH-102: Normalization of domain object dependencies
http://opensource.atlassian.com/projects/spring/browse/BATCH-102

Removed StepExecution from StepInstance.
2007-10-02 18:07:40 +00:00
lucasward
7b1be4fc32 BATCH-146: Changed my mind on the implementation, SimpleJobRepository (and DAOs) now throw Spring IncorrectResultSetSizeDataAccessException, rather than BatchRestartException. 2007-10-02 04:37:21 +00:00
dsyer
4dc2467a12 RESOLVED - issue BATCH-149: ClobUserType is the wrong base type for BatchStatus
http://opensource.atlassian.com/projects/spring/browse/BATCH-149

Use the ImmutableValueUserType that was introduced for ExitStatus.
2007-10-01 20:11:49 +00:00
dsyer
ae0b997df5 RESOLVED - issue BATCH-133: make ScheduledJobIdentifierFactory default useful
http://opensource.atlassian.com/projects/spring/browse/BATCH-133
2007-10-01 19:47:56 +00:00
dsyer
5da09d8c48 Removed throwable from StepExecution (it's not persisted anyway, but the ExitStatus is) 2007-10-01 06:35:49 +00:00
dsyer
9d44d8f455 OPEN - issue BATCH-90: StepExecution and StepExecutionContext are parallel domains, and StepExecution is by comparison anaemic
http://opensource.atlassian.com/projects/spring/browse/BATCH-90

Add ExitStatus to *Execution entities
2007-09-30 21:16:44 +00:00
dsyer
f18ab81ab3 OPEN - issue BATCH-90: StepExecution and StepExecutionContext are parallel domains, and StepExecution is by comparison anaemic
http://opensource.atlassian.com/projects/spring/browse/BATCH-90

Remove jobId field from JobExecution
2007-09-30 16:41:24 +00:00
dsyer
2a2562492e OPEN - issue BATCH-90: StepExecution and StepExecutionContext are parallel domains, and StepExecution is by comparison anaemic
http://opensource.atlassian.com/projects/spring/browse/BATCH-90

Remove *ExecutionContext by merging with *Execution
2007-09-30 16:20:23 +00:00
dsyer
21a4ea540e OPEN - issue BATCH-90: StepExecution and StepExecutionContext are parallel domains, and StepExecution is by comparison anaemic
http://opensource.atlassian.com/projects/spring/browse/BATCH-90

Tidy the JobInstance up a bit (no need for setter of identifier)
2007-09-30 11:47:49 +00:00
dsyer
5cafc9dfde RESOLVED - issue BATCH-148: JobInstanceFilter has no unit test.
http://opensource.atlassian.com/projects/spring/browse/BATCH-148

Removed it.
2007-09-29 12:16:06 +00:00
dsyer
fe0fb591dc Tidy up some javadocs 2007-09-29 12:12:06 +00:00
lucasward
735603c59e Fix for BATCH-146:Unclear error message and possible inappropriate exception type in SimpleJobRepository. Changed the exception type to BatchRestartException, and added additional unit tests. 2007-09-28 16:03:02 +00:00
dsyer
deef433bc3 Rationalise exit code mapping a bit 2007-09-25 17:49:42 +00:00
lucasward
1fec2777e2 CLOSED - issue BATCH-136: restoreFromRestartData(Tasklet, RestartData) crashes if Properties are null
http://opensource.atlassian.com/projects/spring/browse/BATCH-136
2007-09-21 05:45:16 +00:00
lucasward
0891667d44 IN PROGRESS - issue BATCH-24: Provide exit code for job executed as a main method
http://opensource.atlassian.com/projects/spring/browse/BATCH-24

Applied Stijn's refactoring of ExitCodes and moved BatchCommandLineLauncher to bootstrap.support
2007-09-20 06:31:38 +00:00
lucasward
455cc67780 IN PROGRESS - issue BATCH-24: Provide exit code for job executed as a main method
http://opensource.atlassian.com/projects/spring/browse/BATCH-24

JvmSystemExiter was in test instead of main.
2007-09-20 03:01:10 +00:00
lucasward
7e83c33632 IN PROGRESS - issue BATCH-24: Provide exit code for job executed as a main method
http://opensource.atlassian.com/projects/spring/browse/BATCH-24
2007-09-20 01:16:57 +00:00
lucasward
464b1393b6 Fix for Batch-40, SqlStepDao was not storing Exit-Code correctly. 2007-09-19 04:06:34 +00:00
lucasward
91c90e6d0c OPEN - issue BATCH-24: Provide exit code for job executed as a main method
http://opensource.atlassian.com/projects/spring/browse/BATCH-24
2007-09-18 07:41:33 +00:00
dsyer
46ba30eeb9 Tidy imports 2007-09-16 15:57:27 +00:00
lucasward
d224821e52 OPEN - issue BATCH-40: An application developer must be able to control the 'exit codes' returned by the container
http://opensource.atlassian.com/projects/spring/browse/BATCH-40
2007-09-14 00:13:27 +00:00
lucasward
b1b8dc80ee OPEN - issue BATCH-128: table prefixes not being applied
http://opensource.atlassian.com/projects/spring/browse/BATCH-128 - Added unit test which is passing even for the declared issue.
2007-09-11 20:18:00 +00:00
lucasward
a9ec0f6623 Added a new sample job (NflJob) and reorganized samples project. 2007-09-05 20:40:09 +00:00
dsyer
ca941ae722 Extra javadocs.
RESOLVED - issue BATCH-119: ExitStatus can't be used in JMX (or other remote interfaces). 
http://opensource.atlassian.com/projects/spring/browse/BATCH-119
2007-08-29 14:41:35 +00:00
dsyer
4095702863 RESOLVED: BATCH-119: ExitStatus can't be used in JMX (or other remote interfaces).
http://opensource.atlassian.com/projects/spring/browse/BATCH-119
2007-08-29 13:24:24 +00:00
dsyer
b03caffc42 Add tablePrefix feature to SqlStepDao.
REOPENED - issue BATCH-93: Need to be able to configure table names! 
http://opensource.atlassian.com/projects/spring/browse/BATCH-93
2007-08-28 20:35:02 +00:00
dsyer
26d808cb9e Added tablePrefix property to SqlJobDao (defaults to "BATCH_").
OPEN - issue BATCH-93: Need to be able to configure table names! 
http://opensource.atlassian.com/projects/spring/browse/BATCH-93
2007-08-28 13:16:21 +00:00
dsyer
61249e9702 Sql and Hibernate JobDao implementations are now able to cope with Simple- and ScheduledJobIdentifier strategies
RESOLVED - issue BATCH-58: Make JobStream and JobRun optional properties of Job (e.g. through join to optional table) 
http://opensource.atlassian.com/projects/spring/browse/BATCH-58
2007-08-28 11:28:17 +00:00
dsyer
3972010e9a The custom editor configurer needs to be added to the job configuration. Also the step scope registration
OPEN - issue BATCH-115: (some) samples launched from command line don't work 
http://opensource.atlassian.com/projects/spring/browse/BATCH-115
2007-08-28 10:51:53 +00:00
dsyer
fd3d6d6650 Added subclass mapping to JobInstance to support existing JobIdentifier strategies.
OPEN - issue BATCH-84: Simplify JobLauncher so it can be used to start a job with a String/Properties 
http://opensource.atlassian.com/projects/spring/browse/BATCH-84
2007-08-28 10:33:20 +00:00
dsyer
eae7d2916d Move the JobExecutorFacade interface to a subpackage - no need for it to be central.
OPEN - issue BATCH-84: Simplify JobLauncher so it can be used to start a job with a String/Properties 
http://opensource.atlassian.com/projects/spring/browse/BATCH-84
2007-08-28 08:10:24 +00:00
dsyer
f278e07a6a Move the JobExecutorFacade interface to a subpackage - no need for it to be central.
OPEN - issue BATCH-84: Simplify JobLauncher so it can be used to start a job with a String/Properties 
http://opensource.atlassian.com/projects/spring/browse/BATCH-84
2007-08-28 08:09:16 +00:00
dsyer
4684f2102e Resolved: BATCH-114: Samples broken when input/output sources have step scope
http://opensource.atlassian.com/projects/spring/browse/BATCH-114
2007-08-28 07:46:01 +00:00
dsyer
7789074a6f Tidy Javadocs. 2007-08-24 17:17:36 +00:00
dsyer
ac1093bae2 Tidy Javadocs. 2007-08-24 17:10:39 +00:00
dsyer
f062874ab2 Add some Javadocs 2007-08-24 17:07:50 +00:00
dsyer
e60c1c3ca1 StepScope does not need to be BeanPostProcessor or BeanFactoryAware
BATCH-88: StatisticsProvider is a leaky abstraction
http://opensource.atlassian.com/projects/spring/browse/BATCH-88
2007-08-24 14:25:37 +00:00
dsyer
e35a35f4bc Make StepScope a BeanFactoryPostProcessor.
BATCH-88: StatisticsProvider is a leaky abstraction
http://opensource.atlassian.com/projects/spring/browse/BATCH-88
2007-08-24 10:59:19 +00:00
dsyer
1ffd47a9b2 Make a SimpleJobIdentifierFactory for SimpleJobIdentifiers
OPEN - issue BATCH-58: Make JobStream and JobRun optional properties of Job (e.g. through join to optional table) 
http://opensource.atlassian.com/projects/spring/browse/BATCH-58
2007-08-23 19:46:38 +00:00
dsyer
4210297540 JobIdentifier missing from RowMapper in SqlJobDao. 2007-08-23 17:21:51 +00:00
aarendsen
1b629fe91d Polishing: typos 2007-08-23 08:58:57 +00:00
dsyer
96317229c1 BATCH-101: Removed the ReadProcessTasklet (never liked it anyway). 2007-08-23 07:52:02 +00:00
dsyer
145cfd5dfc RESOLVED - issue BATCH-110: Potential simplification of DefaultJobExecutor by not having to include the StepExecutorFactory always
http://opensource.atlassian.com/projects/spring/browse/BATCH-110
2007-08-23 07:30:07 +00:00
dsyer
5e9915baa8 RESOLVED - issue BATCH-110: Potential simplification of DefaultJobExecutor by not having to include the StepExecutorFactory always
http://opensource.atlassian.com/projects/spring/browse/BATCH-110
2007-08-23 07:27:33 +00:00
dsyer
8174882e80 Internal changes only 2007-08-21 17:08:13 +00:00