Commit Graph

908 Commits

Author SHA1 Message Date
Drummond Dawson
e4dd5d9c60 Replace explicit type with diamond operator in samples module 2018-11-06 21:27:39 +01:00
Mahmoud Ben Hassine
b3579ffcd2 Polish 50625f5054
* Fix incorrect links
* Remove a dead link
* Update outdated links
2018-10-10 10:20:13 +02:00
Ganapathi Vara Prasad
50625f5054 Updating link and title syntax 2018-10-09 14:00:29 -05:00
Mahmoud Ben Hassine
39676a45c4 Add builders to simplify remote partitioning setup
Resolves BATCH-2687

* use hard coded constants in docs
* change visibility of method `beanFactory` to public in builders
2018-07-11 17:07:40 -05:00
Mahmoud Ben Hassine
9f2b752f3f Add a validator based on the Bean Validation API
Resolves BATCH-2690
2018-07-10 00:08:18 +02:00
Mahmoud Ben Hassine
84d349ea9d Add streaming json item writer
Resolves BATCH-2692
2018-07-09 16:41:56 -05:00
Mahmoud Ben Hassine
5730f380e2 Add remote partitioning samples
This commit also fixes the code examples in the remote partitioning
section of the documentation

Resolves BATCH-2730
2018-07-05 11:48:23 -05:00
Mahmoud Ben Hassine
ee56a2320d Add builders for master/worker beans in remote chunking setup
This commit adds a new annotation `@EnableBatchIntegration` that makes
it possible to autowire two beans in the application context:

* RemoteChunkingMasterStepBuilderFactory: used to create a master step
* RemoteChunkingWorkerBuilder: used to create a worker integration flow

The goal of these new APIs is to simplify the setup of remote chunking
job by automatically configuring infrastructure beans.

Resolves BATCH-2686
2018-05-25 16:46:24 -05:00
Mahmoud Ben Hassine
026bbe056b Add a remote chunking sample
This commit adds a self contained remote chunking sample that uses
an embedded JMS broker (for simplicity). Even though the broker is
embedded, communication between the master and workers is still done
through JMS queues and Spring Integration channels and messages are
sent over the wire through a TCP port.

This commit also fixes a few typos in the documentation section about
remote chunking.

Resolves BATCH-2721
2018-05-17 14:46:38 -05:00
woniper
c2b0a208c3 fix up code formatting and typo 2018-05-17 14:45:16 +02:00
Mahmoud Ben Hassine
79f3a67883 BATCH-2397: fix parameters handling in MethodInvokingTaskletAdapter
When a tasklet is declared with xml using the shortcut version, the
MethodInvokingTaskletAdapter that is created automatically does not
address passing parameters expected by Tasklet#execute (which is
incorrect since the documentation of the schema attribute "method"
says the bean should define a method with the same signature).

This commit fixes parameters passing when using the shortcut version.

Resolves BATCH-2397
2018-01-26 13:15:20 -06:00
Michael Minella
f61679b55f Added updates for properties files as well 2017-11-27 12:06:29 -06:00
Michael Minella
52d2c257c5 Version updates 2017-10-23 15:52:55 -05:00
Michael Minella
b180c75ce0 Housecleaning of build warnings 2017-09-15 15:58:22 -05:00
Michael Minella
b3e8d3ea87 Removed iBatis based components
This commit removes the iBatis based ItemReaders and ItemWriter.  They
were depricated in the 3.0 line in favor of the MyBatis natively
provided ItemReader and ItemWriter implementations.  This removes those
depricated components.

Resolves BATCH-2591
2017-05-03 10:00:41 -05:00
Michael Minella
263e978a1f Updated for various code warnings
This commit addresses a number of deprications and other code warnings.
There are still many more to address, but this is a start.
2017-05-02 12:48:03 -05:00
Michael Minella
26b02fb836 Replaced snapshot versions and addressed deprications
This commit moves all SNAPSHOT dependencies to the latest available
released versions.  It also addresses a number of deprications in the
Spring Data realm.  Specifically around the deprication of the
Neo4JOperations and the package reorganization within Hibernate.
2016-12-30 14:04:58 -06:00
Michael Minella
b2e6b431dc Updated for Spring 5 baseline
The new Spring 5 baseline consists of Spring 5, Hibernate 5, and Java 8.
This commit addresses any changes to create a successful build of Spring
Batch under those guidances.  Further commits will be coming to address
Java 8 specifics as areas of the project are touched.

Resolves BATCH-2536
2016-09-30 12:34:45 -05:00
hvle
a6590c8c54 update football link
fix table format
2016-04-22 10:41:28 -05:00
hvle
a0b8e06a69 update football link 2016-04-22 10:41:27 -05:00
guilhermerama
c7ef097c25 partitionJob.xml shouid demonstrate asynch process
The README file on samples describes  the partitionJob as an example of the asynch process feature, so I changed the class of the taskExecutor to SimpleAsyncTaskExecutor
2015-11-20 12:49:11 -06:00
Philippe Marschall
7092102748 BATCH-2411 Remove @SuppressWarnings("unchecked")
The source code contains various @SuppressWarnings("unchecked") that
are no longer unnecessary since the relevant APIs have been upgraded to
support Java 5 generics.

 - remove @SuppressWarnings("unchecked") where no longer unnecessary

Issue: BATCH-2411
2015-08-05 18:04:40 -05:00
Seo Kyung-Seok
834d8ee627 BATCH-2205:
MethodInvokingTaskletAdaper does not support primitive arguments.
 - Improvement of
AbstractMethodInvokingDelegator.targetClassDeclaresTargetMethod()
2015-05-18 16:22:35 -05:00
Michael Minella
7c60b055c3 Removed dependency on ParameterizedRowMapper
To support Spring Framework 4.2 which removes ParameterizedRowMapper,
all references to that were switched to RowMapper.  As of Spring 3, the
interfaces are identicle so this should cause no backward compatability
issues.

BATCH-2369
2015-03-31 14:08:38 -05:00
Michael Minella
bb048f3cf8 BATCH-2234: Updated documentation to outline setup requirements as well as adding batch-*.properties files for the other database types 2014-05-16 11:21:13 -05:00
Michael Minella
e7a4e348a5 BATCH-2229 & BATCH-2218: Removed OSGi related metadata and Maven POMs 2014-05-12 15:32:02 -05:00
Michael Minella
6d94ae9031 Updated hsqldb urls to use MVCC mode 2014-05-05 15:08:05 -05:00
Michael Minella
5599c5e469 Patched up maven build for new dependencies for now. Also updated minimum java version to 1.7 2014-05-05 13:22:33 -05:00
Andy Wilkinson
ecd8114a46 Update dependency versions
In addition to updating the versions of numerous dependencies, this
commit also remove the dependency upon CGLib as it is no longer used.

Two test classes have been updated. One to cope with a new method in
Commons IO FileUtils which made a method call ambiguous, and one to
cope with API changes in the latest version of Quartz.
2014-05-05 11:27:14 -05:00
Michael Minella
8703d11cba BATCH-2219: Moved maven site content into reference guide and README.md
* Moved batch-principles-guidelines to reference guide
* Moved batch-processing-strategies to reference guide
* Moved transactions to reference guide
* Moved spring batch samples notes to a README.md for the samples module
2014-04-30 09:41:40 -05:00
Michael Minella
5e07b249ad Updated commons-dbcp and commons-pool dependency scopes 2014-04-25 15:30:23 -05:00
Michael Minella
17299a3d3a [maven-release-plugin] prepare for next development iteration 2014-04-21 18:05:05 -05:00
Michael Minella
93b809921d [maven-release-plugin] prepare release 2.2.6.RELEASE 2014-04-21 18:03:10 -05:00
Michael Minella
999953fe8c BATCH-2060: Fixed Github links 2014-04-21 17:42:43 -05:00
Chris Schaefer
ab293b57fb Add basic JSR-352 configuration samples
* Inline class references
* batch.xml references
* Spring bean references
2014-04-16 17:55:21 -04:00
jpraet
b26d272d43 cleanup 2014-04-02 14:35:53 -04:00
Chris Schaefer
db8b5d9735 General cleanup in spring-batch-samples
* Delete unused classes, files, misc ide files
* Cleanup checkstyle/pmd/findbugs reports
* Add @Override as needed
* Remove schema versions in xml configs
* Remove unused imports
* General tidying
* Cleanup deprecated jdbctemplate methods
* Fix @Ignored OrderItemReaderTests test
2014-03-27 00:22:21 -04:00
Chris Schaefer
65f37c170a BATCH-2201: Update URL's to point to spring.io in docs
Update URLs pointing to springframework/springsource to spring.io.
Remove links that have no redirection
2014-03-25 12:24:37 -04:00
Michael Minella
4ff7ae84e2 BATCH-2131: Removed Spring Modules as a dependency for samples 2014-02-28 12:40:41 -06:00
Michael Minella
ff7793cacf [maven-release-plugin] prepare for next development iteration 2014-02-21 21:42:59 -06:00
Michael Minella
f690c496c4 [maven-release-plugin] prepare release 3.0.0.M3 2014-02-21 21:42:55 -06:00
Michael Minella
406e25a544 BATCH-2173: Initial commit for repo updates 2014-02-21 17:00:40 -06:00
Michael Minella
42895fd0ee BATCH-2180: Fixed documentation about the need to registre CompositeItemWriter's delegates as streams 2014-02-21 16:59:53 -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
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
Eduard von Feek
8a72d9ff9f * changed keyword from "type" to "engine"
* changed from MyISAM to InnoDB
* fixed property "platform" from "oracle10g" to "mysql"
2013-10-16 09:33:22 -05:00
Michael Minella
35332a4757 [maven-release-plugin] prepare for next development iteration 2013-09-09 21:31:36 -07:00
Michael Minella
395c219b8b [maven-release-plugin] prepare release 3.0.0.M2 2013-09-09 21:31:30 -07:00
Michael Minella
2c1b8e154a [maven-release-plugin] prepare for next development iteration 2013-08-23 15:15:56 -05:00
Michael Minella
9618902ce6 [maven-release-plugin] prepare release 3.0.0.M1 2013-08-23 15:15:52 -05:00