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
Michael Minella
90c88c52e6
Polish
2018-11-01 10:45:15 -05:00
Glenn Renfro
d2bc2530cc
Update Task to BOOT 2.1.M1
...
Migrating to use ApplicationContextRunner or ImportAutoConfiguration with SpringApp.run, instead of SpringApplicationBuilder, because builder does not handle AutoConfiguration properly
SimpleTaskAutoConfiguration now has an annotation AutoConfigureBefore the BatchTaskAutoConfig so that it is processed prior. THis is so that that BatchTaskAutoConfig can create the appropriate beans
SimpleTaskAutoConfiguration has new annotations so that it is AutoConfigured after BindingServiceConfiguration and after SimpleTaskAutoConfiguration. This is so that it does not attempt to start emitting messages before stream is ready and it can create the appropriate beans after SimpleTaskAutoConfiguration has run.
Renamed SimpleTaskConfiguration to SimpleTaskAutoConfiguration.
Task version updated to 2.1.0
Added missing headers
Updated documentation.
Deprecated EnableTask
Added ability to disable Task autoconfiguration.
Removed @EnableTask from tests
Resolves #439
Resolves #440
Resolves #448
Resolves #466
2018-11-01 10:43:31 -05:00
Glenn Renfro
d2c90c5256
Updated to add metadata for Conditionals
...
Also renamed camel-cased properties to cononical format.
resolves #442
2018-10-26 09:42:14 +01:00
Michael Minella
71b74665a0
Polish
2018-02-13 11:49:56 -06:00
Glenn Renfro
01311e8be6
FactoryBean now sets the tablePrefix for taskBatchExecutionListener
...
resolves #353
2018-02-13 11:49:48 -06:00
Michael Minella
6426cfea7e
Polish
2018-02-13 09:28:22 -06:00
Glenn Renfro
76309b89ff
Removed code that was marked as deprecated.
...
Also updated test that tested deprecated code.
resolves #366
2018-02-13 09:28:09 -06:00
Michael Minella
1ae7930d09
Added ability to cofigure CommandLineRunner order
...
This commit adds the ability to configure the order for the
TaskJobLauncherCommandLineRunner. It also provides minor polish on a
few other code review related items.
2018-02-12 17:03:48 -06:00
Glenn Renfro
cd4dbe6a93
Allows failed batch apps to set exit code of task app.
...
resolves #201
Please enter the commit message for your changes. Lines starting
Cleanup Removed taskProperties from TaskBatchAutoConfiguration
2018-02-12 17:03:36 -06:00
Glenn Renfro
b6f6d68385
Deprecate the use of spring.cloud.task.batch.listener.enable
...
replace it with spring.cloud.task.batch.listener.enabled
resolves #379
2018-02-12 13:41:59 -06:00
Glenn Renfro
3ad9efe3fe
Updated tests to remove deprecated code from tests
...
* cleanup removing unused headers
* Updated asserts in code base that needed messages (marked as deprecated)
* left one test that was testing a deprecated constructor. When that code is removed we can remove that test.
* some other cleanup
resolves #338
2018-01-18 11:42:37 -06:00
Glenn Renfro
d95f46002f
Migrate Task to Spring Cloud Build 2.0.x
...
resolves #313
2017-07-12 11:38:00 -05:00
Glenn Renfro
68307a9312
Updated deployer dependencies to 1.2.1.RELEASE
...
Also updated the docs
2017-06-27 10:16:10 -05:00
Michael Minella
3b8670e765
Provided the ability to configure if properites are sent to the worker
...
via command line arguments or environment variables.
2017-06-23 13:08:14 -05:00
Glenn Renfro
bbb0d68ce6
Moved the injection of the TaskBatchListner to the postProcessAfterInitialization from postProcessBeforeInitialization
...
Because when using FactoryBeans the TaskBatchListener postprocessing isn't fired when using before initialization
2017-04-10 14:37:04 -04:00
Michael Minella
48af5e5b32
Added TaskExecutionListenerSupport
...
This commit adds the TaskExecutionListenerSupport, a no-op
implementation of the TaskExecutionListner. This allows a user to extend
the TaskExecutionListenerSupport and simply override what they need
instead of implementing all of the methods.
2017-02-10 14:16:11 -06:00
Michael Minella
1d1a935f46
Add appending capabilities to the SimpleCommandLineArgsProvider
...
Adds the ability to add a list of command line arguments to the existing
ones.
Resolves #279
2017-02-10 13:45:55 -06:00