Commit Graph

4711 Commits

Author SHA1 Message Date
Michael Minella
e8a0035844 Fixed documentation to correctly use BatchStatus value instead of RepeatStatus value 2014-02-20 11:38:20 -06:00
Tim
42544ffc37 RepeatStatus no longer contains COMPLETE
FINISHED is the new black.
2014-02-20 11:34:11 -06:00
Michael Minella
f53ef655e4 BATCH-2175: Added the ability to inject lobType 2014-02-20 11:22:23 -06:00
Chris Schaefer
5bf53d6a93 BATCH-2080: Clean up "Invalid JavaBean property 'itemWriter' being accessed" warnings
Disambiguate tasklet/item(reader,processor,writer)/chunkCompletionPolicy properties in subclass
2014-02-18 23:01:44 -05:00
Chris Schaefer
f87bf69dcf PartitionParserTests fixes
testFullPartitionConfigurationWithMapperSuppliedProperties
* remove assert on PartitionMapper.name as PropertyPartitionMapper is used and
  PartitionMapper.name does not get populated.

testFullPartitionConfigurationWithHardcodedProperties
* when run as part of the suite, the static fields name was populated by another test case.
  add explicit reference and hardcoded property to job def
2014-02-18 12:46:53 -05:00
Michael Minella
6211c95d42 Fixed the way default java.util.Properteis are handled on restarts 2014-02-13 10:55:58 -06:00
Chris Schaefer
a1ee097dd4 * During pre-parsing of XML look for references to the same bean and if multiple
matches found, create new bean definitions and update the reference in the preprocessed
XML to allow for unique instances.

* Use job scope for job level listeners

* Remove call to application context close in JsrJobOperator.restart

Fixes TCK tests:
--
testTransitionElementOnAttrValuesWithRestartJobParamOverrides
testChunkArtifactInstanceUniqueness
testOneArtifactIsJobAndStepListener
2014-02-12 17:11:06 -05:00
Michael Minella
1a6ba98fc4 Created a JSR-352 specific StepState to maintain in the Job's
ExecutionContext what the last step executed was.  This is needed for
restarts when the step to restart at is a DecisionStep.
2014-02-12 12:21:44 -06:00
Michael Minella
9317ab2565 BATCH-2112: Removed Spring Batch's SerializationUtils in favor of the Spring Core version 2014-02-12 11:23:03 -06:00
Michael Minella
0b5bad920b Updated per code review 2014-02-11 11:36:05 -06:00
Michael Minella
9a5f59f749 Updated to handle the transition between splits and decisions 2014-02-10 17:18:32 -06:00
Michael Minella
ac974c8d5e Per JSR-352, Decision steps are always executed on restart. This changes the configuration of those steps to enforce that. 2014-02-06 17:12:39 -06:00
Michael Minella
70875e946a Changed FlowParser to always include a transition for COMPLETED unless a next attribute is present 2014-02-06 13:03:45 -06:00
Michael Minella
b278239751 BATCH-2110: Updated batch to support Spring 4
* Refactored iBatis based readers and writers to not utilize
 SqlMapClientTemplate.
* Depricated all iBatis based readers and writers in favor of MyBatis's
 native Spring support.
* Updated XStream support to 1.4.4 and Jettison to 1.2 to be in
 alignment with Spring 4.
* Added the PooledEmbeddedDataSource to address the issue outlined in
 SPR-11372.
2014-02-06 11:34:33 -06:00
Michael Minella
3bdbfac0d9 Fixed milestone repository location 2014-02-05 16:45:53 -06:00
Michael Minella
ed310069fe BATCH-2163: Updated documentation and copyright dates 2014-02-05 16:35:38 -06:00
Luke Taylor
05f3fd73f7 BATCH-2163: Use correct 'since' version. 2014-02-05 16:16:07 -06:00
Luke Taylor
2c007deaf6 BATCH-2163: Add support for SQLite.
Adds a DatabaseType, scripts, a DataFieldMaxValueIncrementer and
a PagingQueryProvider for SQLite.
2014-02-05 16:16:07 -06:00
Michael Minella
f5a31a99a2 BATCH-2046: Updated copyright dates and added @since 2014-02-05 15:54:51 -06:00
jpraet
c8bcdf3c62 fix for missing namespace prefix in closing tag on restart 2014-02-05 14:30:26 -06:00
jpraet
e468f231c0 BATCH-2046: StaxEventItemWriter item grouping tag 2014-02-05 14:30:26 -06:00
Michael Minella
cde60fe938 Per JSR-352, restart is a two step process, establishing where to begin
evaluation and then evaluating each state.  This update addresses the
flagging of the point the current job restarted from so that the
evaluation of restart can occur in subsequent states.
2014-01-28 15:04:53 -06:00
Michael Minella
3853088394 Updated to correctly handle state management on restarts per JSR-352
* Added a JSR-352 specific StepHandler implementation
(DefaultStepHandler)
* Added logic to DefaultFlow to correctly lookup where to restart a job
that was previously stopped.
2014-01-17 14:45:47 -06:00
Michael Minella
8f9783f0d4 Created JSR-352 specific SplitState to address resetting the JobExecution's ExitStatus after a split executes 2014-01-16 16:24:19 -06:00
Chris Schaefer
ea7a704299 Add failed transition if none exists when next attribute is used.
Fixes TCK test testStartLimitVariation1
2014-01-13 16:13:44 -05:00
Michael Minella
b0c9af5e8e Fixes for stopping a partitioned step
* StepState now implements StepLocator so that the step it wraps can return slave steps in the case of a partitioned step
* FlowJob and SimpleJob now look for a StepLocator as they look for steps
* The JSR-352 version of PartitionStep implements StepLocator
2014-01-08 13:51:49 -06:00
Michael Minella
1bb02e4f55 Consolidated Spring Batch Integration into the regular Spring Batch build. Note: There will need to be additional build work done during the release process. That will be addressed then 2014-01-07 16:33:14 -06:00
Gary Russell
26598d361b Final Cleanup (Reduce to spring-batch-integration)
spring-batch-admin branch reduced to contain just spring-batch-integration
and parent pom, using...

git filter-branch -f --tree-filter 'rm -rf pom.xml release-process.md spring-batch-admin-sample/ src/ README.md spring-batch-admin-manager/ spring-batch-admin-resources/' --prune-empty batch-integration-to-batch

Remove .gitIgnore and spring-batch-admin-parent/src
2014-01-07 14:09:34 -06:00
Gary Russell
7954bbdf9d SPR 4.0.0.RELEASE and SI 4.0.0.M2 Compatibility
Updates to make spring-batch-integration compatible with these releases.
2014-01-07 14:07:28 -06:00
Gary Russell
e5afdf735e @Ignore 2 Tests
Two tests don't run under Spring 4; needs investigation.
2014-01-07 14:07:28 -06:00
Gary Russell
5105f59dd1 Initial SF/SI 4
More
2014-01-07 14:07:28 -06:00
Michael Minella
8aeb9fa4e7 Updated pom to reference current build snapshot on the 2.2.x branch of Spring Batch 2014-01-07 14:07:28 -06:00
Andrew Eisenberg
c6b804bfe3 Expose Job parameters in JdbcSearchableJobExecutionDao
See https://jira.springsource.org/browse/BATCHADM-176

Must be applied after
https://github.com/spring-projects/spring-batch/pull/231

As part of this, I had to update the dependency on spring-batch to
3.0.0-BUILD_SNAPSHOT.

Because of this dependency change, I had to add two
methods to JobRepositorySupport.  It looks like a stub class, so I
left the two methods implemented as stubs.
2014-01-07 14:07:28 -06:00
Michael Minella
1eb57b9aa1 [maven-release-plugin] prepare for next development iteration 2014-01-07 14:07:28 -06:00
Michael Minella
ad04dfcce4 [maven-release-plugin] prepare release 1.3.0.M1 2014-01-07 14:07:28 -06:00
Michael Minella
2f64582fdf Updated version numbers
Corrected SCM urls
Added release plugin
2014-01-07 14:07:28 -06:00
Michael Minella
47ca6ce455 Updated pom version 2014-01-07 14:07:28 -06:00
Michael Minella
854c398c58 Updated pom dependencies for latest batch release 2014-01-07 14:07:28 -06:00
Gunnar Hillert
dca766c317 * BATCHADM-160 - Update Spring Batch Integration Documentation
- created initial version
  - use README.md for now as the documentation vehicle
  - https://jira.springsource.org/browse/BATCHADM-160
* BATCHADM-163 - Add documentation for namespace support
  - https://jira.springsource.org/browse/BATCHADM-163
2014-01-07 14:07:28 -06:00
Michael Minella
5eb39ca118 BATCHADM-161: Tightened up tests and XML configurations 2014-01-07 14:07:28 -06:00
Gunnar Hillert
143cb4925a BATCHADM-161 - Add Job Launching Gateway
For reference see: https://jira.springsource.org/browse/BATCHADM-161

* Add XML Schema
* Add Namespace Handler
* Add Parser and Gateway classes
* Add tests
2014-01-07 14:06:42 -06:00
Michael Minella
b6aacdada7 BATCHADM-167: Updated parent pom to 2.2.0.RELEASE 2014-01-07 13:35:12 -06:00
Michael Minella
aa099d226c BATCHADM-161: Tightened up tests and XML configurations 2014-01-07 13:35:12 -06:00
Gunnar Hillert
3909b75151 BATCHADM-161 - Add Job Launching Gateway
For reference see: https://jira.springsource.org/browse/BATCHADM-161

* Add XML Schema
* Add Namespace Handler
* Add Parser and Gateway classes
* Add tests
2014-01-07 13:35:12 -06:00
willschipp
f23dd64740 BATCHADM-137 - added optional setting of the replyChannel externally in
the messagechannelparitionhandler
2014-01-07 13:35:12 -06:00
Michael Minella
63c4338888 Removed bootstrap profile to allow all repos to be visible always 2014-01-07 13:35:12 -06:00
Michael Minella
9c942734e6 BATCHADM-155: Updated to support Spring Batch 2.2.0 2014-01-07 13:35:12 -06:00
dvictor
4dc5dddc16 BATCHADM-125: Version-less URLs for S.I. 2.1
Also changes for deprecation of interval-trigger on poller.

BATCHADM-125 Polishing (garyrussell)

Revert spaces to tabs; fix up some inconsistent newlines.

RemoteChunkFaultTolerantStepJdbcIntegrationTests-context.xml
FileDropJobIntegrationTests-context.xml
AbstractIntegrationViewTests-context.xml
VanillaIntegrationTests-context.xml
RepeatTransactionalPollingIntegrationTests-context.xml
RetryRepeatTransactionalPollingIntegrationTests-context.xml
TransactionalPollingIntegrationTests-context.xml
RetryTransactionalPollingIntegrationTests-context.xml
2014-01-07 13:34:57 -06:00
Dave Syer
3b319fabf5 Add m2e voodoo 2014-01-07 13:34:57 -06:00
Dave Syer
9ec47799a8 Tweak for central deployment (hint use -P dist) 2014-01-07 13:34:57 -06:00