Commit Graph

334 Commits

Author SHA1 Message Date
dsyer
bb415a6a64 Add test in samples for Alignment enum usage 2008-06-13 10:23:27 +00:00
robokaso
49640faef5 RESOLVED - BATCH-505: Job-level ExecutionContext
added sample job
2008-06-12 12:37:19 +00:00
robokaso
abb3ad12f6 fix the samples build - auto-wire=false for the added factory bean 2008-06-09 11:39:15 +00:00
robokaso
8572588981 RESOLVED - BATCH-643: Create database type of 'map' in JobRepositoryFactoryBean
removed remaining unused map dao beans
2008-06-09 11:14:06 +00:00
robokaso
688e9fc31e RESOLVED - BATCH-643: Create database type of 'map' in JobRepositoryFactoryBean
replaced the sample map dao declarations with mapJobResositoryFactoryBean
2008-06-09 11:08:04 +00:00
dsyer
e54aafd335 REOPENED - issue BATCH-640: FieldSetMapper.mapLine() should contain the line number
Reverted rownum change in FieldSetMapper
2008-06-05 17:24:34 +00:00
dsyer
85e168e2db RESOLVED - issue BATCH-640: FieldSetMapper.mapLine() should contain the line number
Added rownum parameter to field set mapper (with default value -1 defined as constant in FieldSetMapper)
2008-06-05 15:03:10 +00:00
robokaso
d377e4c5c3 RESOLVED - BATCH-650: Use FORWARD_ONLY as scroll mode in HibernateCursorItemReader
added item buffer and made the cursor forward-only (+ had to fix samples using stateful items with rollback)
2008-06-04 13:43:00 +00:00
dsyer
c21032332b RESOLVED - issue BATCH-541: pull commit interval from the job parameters
Added StepExecutionSimpleCompletionPolicy (a la StepExecution*) as s one-off solution to the commit interval problem initially posed
2008-06-04 11:55:22 +00:00
robokaso
cc3c78089a fixed capital letter in filename - add new correctly capitalized file 2008-06-03 13:54:18 +00:00
robokaso
2848461333 fixed capital letter in filename - delete the file first 2008-06-03 13:51:38 +00:00
robokaso
bc18856459 RESOLVED - BATCH-520: Add a Delegating File Reader For Multiple Files
sample job for multi resource input
2008-06-03 13:33:08 +00:00
robokaso
79d6f35ece RESOLVED - BATCH-635: samples review
added javadoc to dao interfaces
2008-06-03 10:27:30 +00:00
dsyer
90465f9ce0 OPEN - issue BATCH-541: pull commit interval from the job parameters
Move ClassPathXmlApplicationContextJobFactory implementation from samples to core.
2008-06-02 13:14:58 +00:00
dsyer
83f71525ce BATCH-586: Updated samples walkthrough to 1.1. Still not complete, but at least it's fairly accurate. 2008-05-29 15:31:28 +00:00
dsyer
59e57bed88 BATCH-586. Move samples docos to samples project 2008-05-28 10:47:30 +00:00
dsyer
7025ff4831 RESOLVED - issue BATCH-503: Not applying declarative transactions around repository causes unstable execution 2008-05-26 12:16:05 +00:00
robokaso
5dea8a0144 IN PROGRESS - BATCH-505: Job-level ExecutionContext
the schema change
2008-05-22 09:01:24 +00:00
robokaso
a81054d18f fix for 14samples build 2008-05-15 08:27:46 +00:00
robokaso
b8cfd7339d OPEN - BATCH-152: Add facility for calling system commands via a Tasklet
added SystemCommandTasklet to samples (example usage in taskletJob)
2008-05-14 12:23:14 +00:00
robokaso
ed7c437ce8 RESOLVED - BATCH-554: *StepFactoryBeans should have a list of exceptions that do and don't cause rollback.
added sample for noRollbackForExceptionClasses (2nd step in skipSample)
2008-05-13 08:05:00 +00:00
dsyer
4ed7cc5a25 IN PROGRESS - issue BATCH-569: Add RetryOperationsInterceptor with stateful retry
Oops forgot to revert change to data source.
2008-05-10 18:59:59 +00:00
dsyer
0bf473215c IN PROGRESS - issue BATCH-569: Add RetryOperationsInterceptor with stateful retry
Tidied up exception handling and signatures of callbacks.
2008-05-10 15:40:56 +00:00
dsyer
a0b7049867 OPEN - issue BATCH-569: Add RetryOperationsInterceptor with stateful retry
Refactored ItemWriterRetry* to be less dependent on Item* interfaces.  Added StatefulRetryOperationsInterceptor.
2008-05-09 20:59:59 +00:00
robokaso
58375f3198 RESOLVED - BATCH-571: Remove reference to Step from StepExecution and reference to Job from JobInstance
JobInstance's reference to Job replaced with jobName string
2008-04-28 12:09:54 +00:00
robokaso
6ca877c1d9 IN PROGRESS - BATCH-571: Remove reference to Step from StepExecution
step reference replaced with stepName string
2008-04-28 11:41:31 +00:00
nebhale
8b8c65ae50 Branched for 1.1.0 2008-04-28 08:10:52 +00:00
robokaso
0113be7585 RESOLVED - BATCH-601: Findbugs code audit 2008-04-24 15:37:34 +00:00
robokaso
5c6b37ecc3 RESOLVED - BATCH-85: Many warnings in Javadocs (e.g. missing links and parameter names)
cleaned up the samples module
2008-04-22 11:53:33 +00:00
dsyer
b0fb4167dc OPEN - issue BATCH-574: BatchMessageListernerContainer needs to have transaction boundaries defined around batching
Add integration test.
2008-04-21 07:26:52 +00:00
robokaso
3877476e15 RESOLVED - BATCH-567: rename CompositeProcessorSample to CompositeItemWriterSample 2008-04-08 12:28:35 +00:00
dsyer
896125f688 RESOLVED - issue BATCH-552: Fix samples-14 CI build (MBeanServer not automatically created in Java 1.4)
Extra check that job configurations have loaded.
2008-04-03 15:23:15 +00:00
dsyer
fcca799608 RESOLVED - issue BATCH-552: Fix smaples-14 CI build (MBeanServer not automatically created in Java 1.4)
Added MBeanServer and a connector
2008-04-03 12:22:38 +00:00
dsyer
31584fabde RESOLVED - issue BATCH-552: Fix samples-14 CI build (MBeanServer not automatically created in Java 1.4)
Added explicit MBeanServerFactoryBean.
2008-04-03 11:18:42 +00:00
dsyer
4ce2a39f30 RESOLVED - issue BATCH-551: Put some checks in skip so that poor key generation algorithms do not cause weird looking failures.
Added skipCacheCapacity as configurable for skip limit factory bean.
2008-04-03 11:09:13 +00:00
dsyer
c6c08d9ce3 RESOLVED - issue BATCH-183: Unit test for JMX notifications / control 2008-04-01 12:52:41 +00:00
robokaso
d471b84fda RESOLVED - issue BATCH-534: Eclipse launch configurations have wrong path to main class 2008-03-31 16:02:15 +00:00
robokaso
8dc857bfd8 RESOLVED - issue BATCH-473: Create Tasklet sample job.
http://jira.springframework.org/browse/BATCH-473

added tasklet job that deletes files in given directory (description clarifies this would typically be a preliminary step in multi-step job)
2008-03-31 12:22:35 +00:00
nebhale
4c4b44042d [maven-release-plugin] prepare for next development iteration 2008-03-28 16:59:15 +00:00
nebhale
ca7aef7794 [maven-release-plugin] prepare release spring-batch-1.0.0.FINAL 2008-03-28 16:58:55 +00:00
dsyer
5c7dcc59b9 Update bits of site for 1.0.0 2008-03-28 07:11:59 +00:00
dsyer
dba4209d7e OPEN - issue BATCH-498: Skip method should get ExecutionContext as an argument
Handle skip internally in ItemHandler.
2008-03-25 17:11:35 +00:00
robokaso
f5fcf3a6b6 fixed build - lesson learned: samples don't cleanup output files themselves, so they need to be cleaned before each run (otherwise the output file already exists even when the job did nothing).
CompositeItemWriter wasn't delegating flush and clear calls, only write.
2008-03-25 17:02:28 +00:00
dsyer
1ac5a5296a RESOLVED - issue BATCH-506: JobListener is not a BatchListener
Changed BatchListener to StepListener and renamed existing Job/StepListener as *ExecutionListener.
2008-03-25 12:29:55 +00:00
nebhale
0201bcb2b3 [BATCH-499] Updated version number to 1.0.0.FINAL-SNAPSHOT to be universally Maven friendly. Doesn't any find it odd that in 2.0.6 and 2.1 it's broken but in 2.0.7 it's not? That's not the greatest QC. 2008-03-25 10:02:24 +00:00
robokaso
786fcd9bb9 IN PROGRESS - issue BATCH-491: checked exception handling
http://jira.springframework.org/browse/BATCH-491

exception handler signature changed to 'throws Throwable' so that it can simply rethrow without wrapping.
2008-03-25 10:01:47 +00:00
dsyer
37d35f42eb RESOLVED - issue BATCH-467: Remove ExitStatusExceptionClassifier / Rewrite SimpleExitStatusExceptionClassifier as a JobListener
Removed the interface and implementation, checked that defautl behaviour is same using unit test ItemOrientedStepTests
2008-03-25 09:08:14 +00:00
dsyer
3b72c04bef [BATCH-503] Fix TX definition in samples. Also add multi-environment support in samples (mysql and derby as examples) 2008-03-25 06:57:55 +00:00
dsyer
5c840a6960 [BATCH-271] tweak dependencies to ensure optional where appropriate 2008-03-25 05:39:36 +00:00
lucasward
33a46da03c BATCH-493:Forgot to fix restart sample job. 2008-03-24 20:45:51 +00:00