Henning Poettker
4ea9b9fa21
Inject event publisher into TaskJobLauncherApplicationRunner
2023-02-08 22:51:32 +01:00
Henning Poettker
30ce8f944f
Simplify monitoring of job executions
2023-02-04 16:30:46 +01:00
Henning Poettker
92c3d948fd
Let TaskBatchExecutionListener implement TaskExecutionListener
2022-11-22 08:57:46 -05:00
Glenn Renfro
501d75681b
Deprecating the CommandLineRunnerOrder renaming it to ApplicaitonRunnerOrder
...
This is to reflect the foundation class of CommandLineRunner which is ApplicationRunner
2022-11-21 08:42:45 -05:00
Henning Poettker
b8f5b0a1dc
Remove bean post processor warning
2022-11-20 19:15:22 +01: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
a0fda4bf6e
Set Spring Cloud Task Date Strategy to match Batch
...
resolves #868
Signed-off-by: Glenn Renfro <grenfro@vmware.com >
Updated the timestamps for H2,oracle, db2, hsqldb to be 9 digits for improved accuracy
2022-10-18 14:20:57 -04:00
Glenn Renfro
01846cfc1e
Remove Batch Hints as they are now in the batch project
2022-10-13 14:10:23 -04:00
Glenn Renfro
2ef93291fc
Updated Task to the latests snapshot of Micrometer
...
Updated to handle the batch changes
Removing aot execution from sample apps
Remove snapshot version and rely on bom
Signed-off-by: Glenn Renfro <grenfro@vmware.com >
2022-10-10 14:36:14 -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
db7d7b96b6
Removed the getter for PlatformTransactionManager requirement
2022-09-14 08:33:48 -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
Henning Poettker
85fd1fe319
Adjust SQL statement to allow added columns
2022-08-29 14:14:03 -04:00
Glenn Renfro
9c3fccc741
For Native compilation getTaskRepository for SimpleTaskAC has to be narrowed
...
it has to be set to the specific SimpleTaskRepository
Removed proxy-target-class flag from demos.
Added comments for which hints can be removed
2022-08-18 11:20:56 -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
2a4a066f5f
Support asynchronous launch of partitions.
...
Resolves #785
Updated to allow user to set ThreadPoolTaskExecutor.
updated based on code review
2022-06-28 14:46:57 -04:00
Glenn Renfro
362d73650b
Batch Boot Runner only supports one job.
...
Needed to update TaskJobLauncher to support only one job.
Updated tests accordingly
Re-added Added tests removed from M3 release
2022-06-16 17:26:49 -04:00
Glenn Renfro
abb95842f9
Updated test to tests to use Jackson2ExecutionContextStringSerializer
...
This is for batch tests
2022-05-17 19:33:38 -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
Henning Poettker
709618db1d
Add default methods in TaskExecutionListener
2022-03-21 10:32:53 -04:00
Glenn Renfro
ed5784b64e
TaskBatcheExecutionListener is now created before other jobexec listeners
...
Resolves #818
This resolves the scenario where a JobExecutionListenerSupport fails before the TaskBatchExecutionListener fires and thus the TASK-BATCH table is not populated.
2022-01-20 14:56:47 -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
Glenn Renfro
02b44227d4
Updated project to use Spring Boot 3.0
...
Resolves issues:
TASK-810
TASK-812
TASK-813
2022-01-13 20:11:55 -05:00
Henning Pöttker
a785fb00b1
No TaskBatchExecutionListener without EnableTask
...
If SCT is on the classpath but EnableTask has not been used, the TaskBatchExecutionListener will no longer be registered with the jobs.
Issue #651
2021-10-20 16:30:45 -04:00
Glenn Renfro
fe0b754f35
Resolved Batch Job Param reconfiguration for TaskJobApplicationRunner
...
Resolved issue with EmbeddedKafka failure in tests
Updated all versions
2021-10-18 17:00:11 -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
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
2cba0f223a
Tasks supports JobLauncherApplicationRunner
...
Will support JobLauncherCommandLineRunner if running task on Boot 2.2.0
resolves #645
Updated based on code review and rebased
Updated code based on code review
2020-12-03 09:44:51 -05:00
Glenn Renfro
59c9adf047
Updated all Junit tests to 5.x
...
resolves TASK-675
2020-07-07 10:55:16 -05:00
Glenn Renfro
8b41515ee3
Upgraded master to use Boot 2.3.0.M4
2020-04-06 11:56:19 -04:00
Michael Minella
9faa7fa60e
Added debug logging for DeployerPartitionHandler
2020-01-08 14:39:51 -06:00
Michael Minella
338f19c9e9
Fixed NPE that would occur when using old constructor
2019-10-23 10:05:08 -05:00
Glenn Renfro
79719c541f
Capture external-execution-id for child tasks started from a partition
2019-10-23 10:04:56 -05:00
Michael Minella
6a5a81b554
Polished
2019-10-22 16:59:14 -05:00
Glenn Renfro
d39ed3c7cb
Resolve issue where spring.batch.job.names was not expressed
...
when using TaskJobLauncherCommandLineRunner
resolves #614
2019-10-22 14:13:56 -05:00
Glenn Renfro
0a179aae61
Allows users to set spring.batch.job.enabled with fail-on-job-failure.
...
resolves #525
2019-07-03 13:33:50 -05:00
Glenn Renfro
16f68020fb
Update dependency versions
2019-05-07 13:54:00 -04:00
Glenn Renfro
8a3ac48cc3
Updated all task_lock tables to add NOT NULL to primary keys.
...
resolves #505
2019-03-22 11:52:57 -04:00
Spring Operator
2bff013b83
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 204 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
Updated Spring Cloud Build dependency
this was so that we can get the latest spring-cloud-build
2019-03-21 16:34:26 -04:00
Glenn Renfro
03d9a980e9
Cleanup from Checkstyle changes
...
resolves #511
* Sets the appropriate copyright dates
* Updates some docs
2019-02-13 12:21:14 -05:00
Marcin Grzejszczak
60f1e21d03
Added checkstyle
2019-02-03 19:27:07 +01:00
Glenn Renfro
30399dbb57
Established @EnableTask to create instance of TaskLifecycle Bean
...
resolves #494
2018-12-10 16:07:31 -05:00
Glenn Renfro
8e1d38a76a
Cleanup code smells reported by Sonar
...
This is a first pass are removing some of the code smells.
Many reported code smells were ignored in this effort
2018-11-27 16:09:17 -05:00
Glenn Renfro
fa3e4e55c6
Updated tests to remove SQL Bad Grammar warnings
...
Also replacing the last of the SpringJunit4ClassRunner with SpringRunner
Other cleanup
resolves #482
2018-11-21 11:17:31 -06:00
Glenn Renfro
f083d7a7ff
Corrects code to remove bug reports from Sonar Report
...
Resolves #478
2018-11-12 14:54:47 -05:00
Glenn Renfro
f772956680
Binary defaults for conditional metadata now used Binary Type
...
Before they were of String type
resolves #467
2018-11-02 16:21:01 -04:00
Glenn Renfro
c7ef7fbff4
Starting to move to java 11[Do Not Merge]
...
All version changes are present.
Fixed all Java-Doc Errors and warnings
* Due to the stricter nature of the javadoc compiler we can't wrap <ul> / <ui> in <p>
* We will also need to Push up a test app for taklauncher to work with. The old one fails to start now. Or use one of the task starters possibly.
* Built on the work from TASK-439C. Wait for that merge before merging this one.
* Replaced applicationFailedEvent class attribute with applicaitonFailedException
* Also polished the app used by the taskLauncherSink integration test
2018-11-01 15:23:17 -04:00