Commit Graph

111 Commits

Author SHA1 Message Date
dsyer
82e8f47ef7 OPEN - issue BATCH-159: JobExecutor should return a JobExecution (which itself contains the ExitStatus)
http://opensource.atlassian.com/projects/spring/browse/BATCH-159

Add listeners to JobExecutionFacade
2007-10-22 19:46:21 +00:00
dsyer
089ac8f171 RESOLVED - issue BATCH-180: JobConfigurations do not get their names set if they are child beans
http://opensource.atlassian.com/projects/spring/browse/BATCH-180

Removed setName() from *Configuration - you have to use the bean id or setBeanName().
2007-10-21 15:10:41 +00:00
lucasward
2c5c74a4a6 BATCH-172 - Added additional error checking to HibernateDao 2007-10-16 16:41:30 +00:00
lucasward
0997e173d6 BATCH-172- HibernateDao not persisting Identifier details.
I added some additional tests to the HibernateJobDaoTests in an attempt to replicate, but all tests pass successfully.
2007-10-16 16:39:41 +00:00
lucasward
eab243ff3f BATCH 144 and BATCH 150: create Hibernate and iBatis input sources with sample jobs. 2007-10-15 05:23:37 +00:00
dsyer
30302f3d1f Stop job broken (stop All works) because Timestamp!=Date. Fixed in ScheduledJobIdentifier.equals() and unit test. 2007-10-14 12:48:55 +00:00
dsyer
fafc8bdd7a RESOLVED - issue BATCH-121: BatchResourceFactoryBean - needs to be aware of JobIdentifier strategy
http://opensource.atlassian.com/projects/spring/browse/BATCH-121

Factored label generation out of job identifier into a separate strategy for resource factory
2007-10-14 08:07:37 +00:00
dsyer
7f6a846120 Javadocs to clarify a little the absolute path issue. 2007-10-12 13:56:19 +00:00
dsyer
997d6f855c Remove syserr debug statements from unit test 2007-10-12 13:50:52 +00:00
dsyer
f6b0bfdb47 Fixed filepaths again for UNIX build 2007-10-12 13:49:44 +00:00
dsyer
db405df7a4 FIXED: Destruction callback not made for inner beans 2007-10-12 12:22:34 +00:00
dsyer
19093c54e6 FIXED: Destruction callback not made for inner beans 2007-10-12 12:18:30 +00:00
dsyer
d4f1e3b0b8 Moved commented code around - still needs to be fixed for UNIX. 2007-10-12 11:44:58 +00:00
dsyer
a83e29af2e IN PROGRESS - issue BATCH-121: BatchResourceFactoryBean - is it adding any value?
http://opensource.atlassian.com/projects/spring/browse/BATCH-121

Broken tests in UNIX - can't fix it now so commented out...
2007-10-11 15:56:02 +00:00
dsyer
57086ed565 IN PROGRESS - issue BATCH-121: BatchResourceFactoryBean - is it adding any value?
http://opensource.atlassian.com/projects/spring/browse/BATCH-121

Add getLabel() to JobIdentifier and use that to plug into the placeholder in the filename.
2007-10-11 15:41:09 +00:00
dsyer
f1aa890783 IN PROGRESS - issue BATCH-121: BatchResourceFactoryBean - is it adding any value?
http://opensource.atlassian.com/projects/spring/browse/BATCH-121
2007-10-11 13:32:27 +00:00
dsyer
592e113937 IN PROGRESS - issue BATCH-121: BatchResourceFactoryBean - is it adding any value?
http://opensource.atlassian.com/projects/spring/browse/BATCH-121
2007-10-11 13:16:50 +00:00
dsyer
4744f78aa3 RESOLVED - issue BATCH-50: Allow fixed-length file columns with column ranges
http://opensource.atlassian.com/projects/spring/browse/BATCH-50

Applied patch (and moved property editor).
2007-10-10 10:00:11 +00:00
dsyer
737bd743a4 OPEN - issue BATCH-159: JobExecutor should return a JobExecution (which itself contains the ExitStatus)
http://opensource.atlassian.com/projects/spring/browse/BATCH-159
2007-10-10 08:56:29 +00:00
dsyer
3559ab7908 IN PROGRESS - issue BATCH-121: BatchResourceFactoryBean - is it adding any value?
http://opensource.atlassian.com/projects/spring/browse/BATCH-121
2007-10-05 16:29:29 +00:00
dsyer
efc6247e90 IN PROGRESS - issue BATCH-121: BatchResourceFactoryBean - is it adding any value?
http://opensource.atlassian.com/projects/spring/browse/BATCH-121

Expose the StepExecution to the StepContext early enough for a stepOperations interceptor to find it in the open() method.  See also BATCH-125.
2007-10-05 16:04:08 +00:00
dsyer
3b7b95626b IN PROGRESS - issue BATCH-121: BatchResourceFactoryBean - is it adding any value?
http://opensource.atlassian.com/projects/spring/browse/BATCH-121

Change StepContext to contain a StepExecution instead of a JobIdentifier
2007-10-05 15:50:44 +00:00
dsyer
0b52801e35 RESOLVED - issue BATCH-142: DefaultStepExecutorFactory as the stepExecutorFactory for the DefaultJobExecutor
http://opensource.atlassian.com/projects/spring/browse/BATCH-142
2007-10-05 15:32:52 +00:00
dsyer
a76cd786fc OPEN - issue BATCH-159: JobExecutor should return a JobExecution (which itself contains the ExitStatus)
http://opensource.atlassian.com/projects/spring/browse/BATCH-159

Removed unnecessary final modifier
2007-10-05 15:03:43 +00:00
dsyer
b6a5bb80e0 Tidy Javadocs 2007-10-05 14:08:26 +00:00
dsyer
d37fce6294 Tidy Javadocs 2007-10-05 14:06:59 +00:00
dsyer
3815390158 Javadocs 2007-10-05 11:18:42 +00:00
dsyer
343f8a276f OPEN - issue BATCH-159: JobExecutor should return a JobExecution (which itself contains the ExitStatus)
http://opensource.atlassian.com/projects/spring/browse/BATCH-159

Re-organise the Launcher base classes a bit more
2007-10-05 11:14:58 +00:00
dsyer
cb14260616 OPEN - issue BATCH-159: JobExecutor should return a JobExecution (which itself contains the ExitStatus)
http://opensource.atlassian.com/projects/spring/browse/BATCH-159

Re-organise the Launcher base classes a bit
2007-10-05 10:27:50 +00:00
dsyer
0145942f51 Rename local variables 2007-10-05 10:16:25 +00:00
dsyer
cb25220f14 Rename local variable and parameter 2007-10-05 10:04:10 +00:00
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
53d10a2fb2 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

Forgot the DDL!
2007-09-30 21:23:08 +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
3dced4edc8 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 setter for job id in JobExecution
2007-09-30 12:02:02 +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