Commit Graph

42 Commits

Author SHA1 Message Date
Glenn Renfro
6d17f8dedb Replacing cloud.test.TestSocketUtils
Now utilizing the one provided by the spring framework
2022-11-28 20:49:00 -05:00
Glenn Renfro
667852e348 Autoconfiguration files are now annotated with @Autoconfiguration
This is a new standard for boot 3.0
Replaced deprecated constructors for batch test
Added Oracle migration script for ordered sequence
2022-10-19 14:23:12 -04:00
Glenn Renfro
b46278be5d Removed BatchConfigurer and @EnableBatchProcessing from tests and samples
TaskJobLauncherApplicationRunnerTests updated

Signed-off-by: Glenn Renfro <grenfro@vmware.com>

Updated Integration tests

Updated Tests for samples
2022-09-21 14:44:50 -04:00
Glenn Renfro
30d6c63a23 Removed Job and Step Builder factories.
Now using builders directly
2022-09-13 18:39:24 -04:00
Glenn Renfro
87632b3487 Updated readers and writers to set platform transaction
It is no longer provided by default by the job builder.

https://github.com/spring-projects/spring-batch/wiki/Spring-Batch-5.0-Migration-Guide#infrastructure-beans-configuration-with-enablebatchbatchprocessing
2022-09-08 19:15:55 -04:00
Glenn Renfro
02f4581f32 Updated to add versions to micrometer docs
Changed deployer to use 2.8 Snapshots
2022-09-06 19:06:32 -04:00
Glenn Renfro
e36696c44c Disabling Kafka test until Boot is using M5 of Batch 2022-08-19 14:24:48 -04:00
Glenn Renfro
a58410cae4 Replace Factories with import files 2022-08-02 20:01:38 -04:00
Glenn Renfro
76a5d12136 Updated to files to fit the Standard. 2022-07-25 11:41:43 -04:00
Glenn Renfro
6029b47592 Users can specify different datasources for the jdbc-item reader and or jdbc-item writer
Users can specify a unique data source for the JdbcCursorItemReader and or writer instead of using the default datasource.
If a jdbc-item-reader or jdbc-item-writer data source is not specified the default will be used by the reader or writer.

Updated docs

Updated readme docs
2022-06-30 12:44:28 -04:00
Glenn Renfro
73c1ae693c Uncomment tests for Single Step File writer 2022-06-01 16:49:24 -04:00
Eddú Meléndez
79a9a59e08 Replace getContainerIpAddress by getHost
`getContainerIpAddress` is deprecated.

Updated Test Container version
2022-05-25 09:38:27 -04:00
Glenn Renfro
5f42540168 Resolves test failures due to bean creation order
Resolves issues where beans will now be created in the correct order.
2022-05-17 15:16:46 -04:00
Glenn Renfro
23fb884e45 Updated code to support using WritableResource
resolves #842

Tests were temporarily commented out til Batch 4111 is resolved
2022-05-11 16:57:07 -04:00
Glenn Renfro
270b24be8b Updated tests so that they use TestSocketUtils instead of SocketUtils
Temporarily disabled tests for remote partition sample until Spring Cloud Deployer Local is fixed
2022-03-09 16:49:18 -05:00
Glenn Renfro
c353d68396 Boot updated bom to use batch 5.x
Updated code to remove new deprecations
Updated code to fix compilation errors.
Updated code to add new bits for tests
2022-01-18 14:30:20 -05:00
Henning Poettker
a95b420315 Use strict H2 query syntax for paging query provider
Simplify tests a bit

Updated to snapshot dependencies

Updated test and to set the version of h2 to us boot bom.
2022-01-10 14:04:47 -05:00
Robert McNees
f74d38a47f New build profile to compile without local Docker environment 2021-12-15 07:20:09 -05:00
Glenn Renfro
fb5d4b6573 SingleStepBatch Job can be used with spring-cloud-task-stream
resolves #799

Added config to reduce testcontainer logging

Updated to use task starter
2021-10-21 16:47:21 -04:00
Glenn Renfro
3d785ffd99 Updated versions and re-enabled kafka test 2021-10-20 14:39:45 -04:00
Glenn Renfro
a065e9c00d Updated to disable tests for M3 release.
Will reactivate
2021-10-19 15:29:45 -04:00
Glenn Renfro
3102aa0265 Update so that it can be natively compiled by Spring Native 0.11 2021-09-27 11:28:05 -04:00
Glenn Renfro
62ee3d6511 Updated conditional on job bean to support kabob case.
Also added comments  reader and writer properties so that boot's metadata resolver can utilize them.

resolves #794

Updated based on code review.

Updated java docs based on review
2021-09-27 10:16:22 -04:00
Glenn Renfro
332e693d5e Resolves Circular Dependency issue
Makes sure that dependencies are passed in via parameters in bean declaraction vs. Autowiring

refer to https://github.com/spring-projects/spring-batch/issues/3991
resolves #797

Updated based on code review
2021-09-16 14:00:24 -04:00
Glenn Renfro
78621e7b03 Resolve issues introduced by Boot 2.6.0.M1 upgrade
Updated versions and fixed jdbc test

Updated versions for samples
2021-07-23 15:29:32 -04:00
Glenn Renfro
bb7567b851 Updated to support latest version of rabbitmq for test containers. 2021-01-06 11:52:54 -05:00
Michael Minella
93156fdabc Added documentation for the Single Step Batch Job Starter
This commit does two things:

1. Adds documentation to the reference documentation for the single step
batch job starter.
2. It standardizes the naming of the properties across the various
readers/writers the autoconfiguration provides.

Polished docs on merge
2020-12-21 10:17:25 -05:00
Michael Minella
a7e8aa1102 Updated generics on single step batch job starter
This commit updates the generics for the domain object used in the
single step batch job starter from a 'Map<Object, Object>' to a
'Map<String, Object>'. This better reflects what is actually used.
2020-12-01 13:52:38 -06:00
Glenn Renfro
626af44828 Adding KafkaItemWriter single step autoconfig
resolves #696

Updated to allow user to set the itemKeyMapper

Set a very simple keymapper that returns the same result

Updated based on code reviews

Updated Kafka version
2020-11-30 09:34:38 -05:00
Glenn Renfro
a841508604 Introducing KafkaItemReader for single step jobs
resolves #679

Rebase update

rebase update pom cleanup

Cleaned up tests

Updated

Added updates based on code review

polish
2020-11-30 09:01:24 -05:00
Glenn Renfro
bb7d235900 Updated test to clean out tables using delete instead of truncate 2020-11-06 17:14:08 -05:00
Glenn Renfro
8363bed0f9 Updated test container version.
Temporarily added batch schema.   Will remove after test is updated
2020-11-06 16:07:41 -05:00
Glenn Renfro
8337e8e3e4 Update versions for testcontainer andd rabbit versions for tests
Update jacoco version so build will work with the current release of maven

update
2020-10-28 20:52:34 -04:00
Glenn Renfro
b71b46c333 Removed the Queue object from autoconfiguration 2020-09-23 15:39:55 -05:00
Glenn Renfro
b79657d398 Establish RabbitMQ Item Writer Single Step Batch
resolves #698
2020-09-23 15:12:12 -05:00
Glenn Renfro
5fa4a2028d Add AMQPItemReader
This adds autoconfiguration for an AMQPItemReader to the single step
batch job starter.

resolves TASK-680A
2020-09-23 08:06:57 -05:00
Glenn Renfro
7223f60ee7 Moved Flat File Autoconfigs, props and tests to the flatfile package 2020-09-22 14:49:30 -05:00
Michael Minella
15eec87b68 Adding autoconfiguration for a JdbcCursorItemReader
This commit adds autoconfiguration for a JdbcCursorItemReader to the
single step batch job starter.

Fixed build

Updates

updated to clean db between tests
2020-07-15 17:05:10 -04:00
Glenn Renfro
fba162fea2 Support JDBCWriter for singlestep batch
resolves 677
2020-07-09 15:08:49 -05:00
Glenn Renfro
59c9adf047 Updated all Junit tests to 5.x
resolves TASK-675
2020-07-07 10:55:16 -05:00
Michael Minella
3ed2042ca0 Updates 2020-04-13 17:22:29 -04:00
Michael Minella
7e76cb00f3 Initial commit of Single Step Spring Batch Job Starter
This commit adds a new starter for creating a single step Spring Batch
job.  It allows users to configure a FlatFileItemReader and a
FlatFileItemWriter as well as the job and step with just properties.
2020-04-13 17:22:29 -04:00