66 Commits

Author SHA1 Message Date
Glenn Renfro
b6ec3379a2 Allows users to set spring.batch.job.enabled with fail-on-job-failure.
resolves #525
2019-07-03 13:48:37 -05:00
Spring Buildmaster
af078ec763 [artifactory-release] Next development version 2019-05-24 13:07:12 +00:00
Spring Buildmaster
1d07aa8cc8 [artifactory-release] Release version 2.0.2.RELEASE 2019-05-24 13:07:08 +00:00
Spring Operator
fef2986417 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).

# Fixed URLs

## Fixed Success
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 196 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-21 13:30:23 -05:00
Spring Operator
deff0f36ea 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).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 18 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 19 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 36 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 18 occurrences
2019-03-16 10:51:53 -05:00
Spring Buildmaster
83a7003656 [artifactory-release] Next development version 2019-02-21 19:54:44 +00:00
Spring Buildmaster
a8b61539c9 [artifactory-release] Release version 2.0.1.RELEASE 2019-02-21 19:54:41 +00:00
Glenn Renfro
23d7ed0803 Updated so that the TaskJobLauncherCommandLineRunner matches JobLauncherCommandLineRunner
in Boot 2.0.7.

REMOVE the Spring boot dependencies.   They are here only until the 2.0.7.RELEASE is out.

resolves #470

Updated versions
2019-02-13 17:57:24 -05:00
Michael Minella
4c5ce965fd Incremented version to the next development version 2018-05-08 17:01:51 -05:00
Spring Buildmaster
81b54aadba [artifactory-release] Next development version 2018-05-03 20:43:48 +00: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
fd2d4a9124 Adds configuration metadata for properties
resolves #365
2018-01-18 11:51:29 -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
e279846e7e Updated Spring Cloud Task to latest releases
Updated to remove all commons-logging-api dependencies to resolve  logging issue.

Updated to handle 2.0.0.M3 Spring Cloud Stream

resovles #347

Changes based on code review
2017-11-01 09:12:46 -04:00
Glenn Renfro
d95f46002f Migrate Task to Spring Cloud Build 2.0.x
resolves #313
2017-07-12 11:38:00 -05:00
Spring Buildmaster
54bce9a590 [artifactory-release] Next development version 2017-06-27 15:46:26 +00:00
Glenn Renfro
68307a9312 Updated deployer dependencies to 1.2.1.RELEASE
Also updated the docs
2017-06-27 10:16:10 -05:00
Glenn Renfro
c7f15f5c8a Sets Version of repo to 1.2.1
* Docs and poms updated

* Updated deployer dependencies

resolves #323
2017-06-26 17:19:11 -04: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
Spring Buildmaster
1a16d44b2c [artifactory-release] Next development version 2017-04-24 19:36:00 +00: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
fc708ac775 Removed dependencies on Spring Boot starters
This commit removes the dependency on any Spring Boot starters.
Starters are still used in the test scope, but should not impact the
library's dependencies.

Resolves #294
2017-03-30 10:33:03 -05:00
Thomas Risberg
3c8d61447c Revert incremented versions for release 2017-03-21 10:34:05 -04:00
Michael Minella
a32d26f14c Incremented versions for release 2017-03-20 21:54:54 -05: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
Michael Minella
2b8e5799f7 Upgraded to Camden SR5
This commit upgrades Spring Cloud Task to Camden SR5 and makes the
required changes to do so.

Resolves #276
2017-02-07 15:55:22 -06:00
Glenn Renfro
acaaad89f3 Adds support for Task Execution Parent Ids
resolves #261
2017-01-20 14:47:12 -06:00
Michael Minella
3d1ee18db3 Minor polish 2017-01-06 12:54:38 -06:00
Glenn Renfro
10bb457a5a Allows user to set table prefix via properties.
resolves #244
2017-01-06 12:54:30 -06:00
Glenn Renfro
1185421803 TaskBatchAutoConfiguration now uses datasource from TaskConfigurer
resovles #252
2016-12-20 19:25:26 -06:00
Spring Buildmaster
ce31582995 [artifactory-release] Next development version 2016-11-22 16:58:27 +00:00
Glenn Renfro
7a30a3357b Replace : separators for spring.cloud.task.name to _ for partitions
resolves #242
2016-11-16 13:31:36 -06:00
Glenn Renfro
44b3531824 Removed un-necessary test 2016-11-01 20:30:09 -04:00
Glenn Renfro
eff83a1897 Added More tests. 2016-11-01 17:32:22 -04:00
Glenn Renfro
1611c28768 Adding a few more tests.
Added unit tests to classes that had no coverage.
Added unit tests to classes bump up coverage.
2016-11-01 17:32:22 -04:00
Michael Minella
17e4250586 Checks for invalid ExecutionId in the TaskLifeCycleListener
resolves #115
* Fixes bug where if the user set the environment variable and commandline args a unique constraint would fire.
* Updated docs
* Removed deprecation
* Fixed version number for integration test.

Added integration tests for externally generated task executions

Add externalExecutionId

resolves #80
2016-10-12 12:45:29 -05:00
Michael Minella
025c447b89 Refactored for CloudFoundry Support
This commit adds on an abstraction for the providing unique command line
arugements for each worker.  It also updates the partitioned job sample
to be able to successfully be run on CloudFoundry.

Resolves spring-cloud/spring-cloud-task#193

Updated based on comments
2016-09-08 14:20:08 -04:00
Michael Minella
4ab6a93f6a Updated to Camden build infrastructure to use Spring Boot 1.4 2016-08-17 13:38:34 -05:00
Michael Minella
9f0377df0b Moved master to 1.1.0.BUILD-SNAPSHOT 2016-08-09 14:48:46 -05:00
bamboo
4645e9f5b1 [artifactory-release] Next development version 2016-07-27 05:59:23 +00:00
Michael Minella
526dc41af9 Added abstraction for defining environment variables
When launching workers as separate tasks, it can be useful to be able to
use additional logic to define environment variables.  This commit
provides an abstraction to allow for the customization of environment
variables on a per worker basis as well as two useful implementations:

* A no-op implementation (returns an empty Map).
* An implementation that moves the current environment variable handling
* out of the `DeployerPartitionHandler`.

Resolves spring-cloud/spring-cloud-task#181
2016-07-22 10:29:36 -05:00
bamboo
583e53e9c0 [artifactory-release] Next development version 2016-07-08 19:30:16 +00:00
bamboo
48a8dca6a3 [artifactory-release] Release version 1.0.1.RELEASE 2016-07-08 19:30:16 +00:00